How can I get the SQL Server 2000 Column Description within ADO.NET 2.0?
BR / Chris
Hi
The following lines steer U.
Dim _Con As New SqlConnection("...")
Dim _Com As New SqlCommand("Select * from ...", _Con)
_con.Open()
Dim _DTable As DataTable = _Com.ExecuteReader.GetSchemaTable()
DataGrid1.DataSource = _DTable
Pandian S
|||
Using the GetSchemaTable method does not work. Above is a listing of what I retrieved for a database table, where a description for unit_id should exist.
/Steffan
No comments:
Post a Comment