Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataGrid.SetDataBinding????

Status
Not open for further replies.

KevoMee

Technical User
Apr 30, 2002
72
IE
I've seen an example of this e.g.

dataGrid1.SetDataBinding(ds, "Customers");

but when I try to run it in my code it say that SetDataBinding doesn't exist. Any ideas?
 
That looks like VB syntax to me. Try something like this.

dataGrid1.DataSource = ds;
dataGrid1.DataMember = "Customers";
dataGrid1.DataBind(); Crystal
crystalized_s@yahoo.com

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top