Tuesday, December 11, 2007

How to bind your Datagrid to Dataset

How to bind your Datagrid to Dataset

Step 1

To bind your datagrid to a Dataset that you have created earlier, click on DataGrid properties if it is not chosen. Then in its Properties set the DataSource to Dataset1.Profile.

Step 2

Then your DataGrid would change accordingly when its DataSource is set. If you run your application now, this will appear. This is because it is not populated yet.

No comments: