Posted on: 4/19/2014 6:45:15 AM | Views : 364

Hi,
I have some metadata that are used to create a table and insert data from a table specified in the metadata. I made the spx.cs code, but I don't know how to solve some problems with the fields for the names of the row fields and their number.
Here is what I have in aspx code
int nfields = reader.FieldCount; for (int i = 0; i < reader.FieldCount; i++) { names.Add(reader.GetName(i)); types.Add(reader.GetDataTypeName(i)); } nrecs = int.Parse(c.Get("nrecs")); Session["names"] = names; Session["types"] = types; nrecs = int.Parse(c.Get("nrecs")); Session["nrecs"] = nrecs; Session["nfields&quo ...

Go to the complete details ...