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();