In Connect Android to MS SQL Server Tutorial:
https://www.b4x.com/android/forum/threads/connect-android-to-ms-sql-server-tutorial.13166/
There is a very effective asp.net script, i would like to do the same thing in b4j, can i get help? Also for this part of ASP code:
while (rdr.Read())
{
Dictionary<string, object> d = new Dictionary<string, object>(rdr.FieldCount);for (int i =0;i < rdr.FieldCount;i++)
{
d[rdr.GetName(i)] = rdr.GetValue(i);}
list.Add(d);
}
JavaScriptSerializer j = new JavaScriptSerializer();
Response.Write(j.Serialize(list.ToArray()));
}
Thanks to anyone
https://www.b4x.com/android/forum/threads/connect-android-to-ms-sql-server-tutorial.13166/
There is a very effective asp.net script, i would like to do the same thing in b4j, can i get help? Also for this part of ASP code:
while (rdr.Read())
{
Dictionary<string, object> d = new Dictionary<string, object>(rdr.FieldCount);for (int i =0;i < rdr.FieldCount;i++)
{
d[rdr.GetName(i)] = rdr.GetValue(i);}
list.Add(d);
}
JavaScriptSerializer j = new JavaScriptSerializer();
Response.Write(j.Serialize(list.ToArray()));
}
Thanks to anyone