Words of Wisdom:

"A man exists for a generation,but his name lasts to the end of time." - Essaygeek.

Ado Data Control

  • Date Submitted: 07/20/2010 02:26 AM
  • Flesch-Kincaid Score: 58.2 
  • Words: 7714
  • Essay Grade: no grades
  • Report this Essay
•         Put an ADO Data Control on your form, and set the properties as follows:
 
|Property                                               |Value                                                                                                                                               |
|Name                                                   |adoBiblio                                                                                                                                           |
|DataSourceName                                         |Biblio                                                                                                                                             |
|SQL                                                     |select * from authors                                                                                                                               |

•         Now put three text boxes on the form, and set their Name, DataSource, and DataField properties as follows:
 
|Name                                                                 |DataSource                                                       |DataField                                                           |
|txtAuthor                                                             |adoBiblio                                                         |Author                                                             |
|txtAuID                                                               |adoBiblio                                                         |Au_ID                                                               |
|txtYearBorn                                                           |adoBiblio                                                         |Year Born                                                           |

 
•         Save and run the program. Notice how it works just like the other data control.
 
•         Now change the SQL...

Comments

Express your owns thoughts and ideas on this essay by writing a grade and/or critique.

  1. No comments