R
rodchar
hey all,
I'm doing the following:
SqlCommand mycmd = new SqlCommand(sqlText, conn);
SqlDataAdapter da = new SqlDataAdapter(mycmd);
DataTable tbl = new DataTable();
da.Fill(tbl);
Well, when I check tbl.Columns[x].MaxLength all columns show -1. I checked
and there are columns and I can do tbl.Columns[x].ColumnName. Can someone
please explain?
thanks,
rodchar
I'm doing the following:
SqlCommand mycmd = new SqlCommand(sqlText, conn);
SqlDataAdapter da = new SqlDataAdapter(mycmd);
DataTable tbl = new DataTable();
da.Fill(tbl);
Well, when I check tbl.Columns[x].MaxLength all columns show -1. I checked
and there are columns and I can do tbl.Columns[x].ColumnName. Can someone
please explain?
thanks,
rodchar