May 7, 2002 #1 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?
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?
May 14, 2002 #2 crystalized Programmer Jul 10, 2000 390 CA 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 Upvote 0 Downvote
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