J
J E Jensen
Hello
I have a table with 78 fields. I use the Description ( typed in with
Enterprise Manager ) field to group my fields for displaying on a tabbed
dialog.
To get SchemaData I do.
SqlCommand cm = new SqlCommand("SELECT TOP 0 * FROM tblEmployee",
this.Connection);
cm.CommandType = CommandType.Text;
SqlDataAdapter da = new SqlDataAdapter( cm );
DataTable dt = new DataTable();
da.FillSchema(dt, SchemaType.Source);
DataColumnCollection dcc = dt.Columns;
DataColumn dc = dcc[1];
But the dc.Description value are always empty? How can I read this value?
Kind Regards
Johnny E Jensen
I have a table with 78 fields. I use the Description ( typed in with
Enterprise Manager ) field to group my fields for displaying on a tabbed
dialog.
To get SchemaData I do.
SqlCommand cm = new SqlCommand("SELECT TOP 0 * FROM tblEmployee",
this.Connection);
cm.CommandType = CommandType.Text;
SqlDataAdapter da = new SqlDataAdapter( cm );
DataTable dt = new DataTable();
da.FillSchema(dt, SchemaType.Source);
DataColumnCollection dcc = dt.Columns;
DataColumn dc = dcc[1];
But the dc.Description value are always empty? How can I read this value?
Kind Regards
Johnny E Jensen