Groups | Blog | Home
all groups > dotnet windows forms > march 2004 >

dotnet windows forms : Binding to a datagrid


Alex Kushner
3/24/2004 8:06:07 PM
Me.DataGrid1.DataSource = DsProgramDesc
Me.DataGrid1.DataBind(

Claes Bergefall
3/25/2004 10:15:57 AM
In the windows forms world you'll need to set the DataMember property aswell
It looks like you're writing a web form (DataBind is a web forms method)
though,
so things might be different. Try one of the groups in
microsoft.public.dotnet.framework.aspnet.*


/claes

[quoted text, click to view]
ItemArray info it should have. So why can't I bind it to my datagrid? I am
using a web form. The headers for the dataset rows appear on the datagrid
but the detail does not.

AddThis Social Bookmark Button