Articles in this section
Category / Section

How do I bind the Grid to a Datasource?

1 min read

 

To bind the Grid to a datasource:

1. Set the datasource property of the Grid using the Property Editor.

2. Add the following lines to the WebForm's Init event

C#

this.oleDbDataAdapter1.Fill(this.dataSet11);

this.DataBind();

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied