Page 280 - Open Soource Technologies 304.indd
P. 280
Event Driven Programming
Finally, you need to display the data in the DataGrid control. To accomplish this, go to the
properties window and set the DataSource property of the DataGrid to Adodc1. You can also
permit the user to add and edit your records by setting the AllowUpdate property to True.
If you set this property to false, the user cannot edit the records. Now run the program and
the output window is shown below:
Questions
1. What is DataGrid view?
2. Explain ADODC property.
274 LOVELY PROFESSIONAL UNIVERSITY