Displaying The Database:
The Text box, image box, check box, labels, picture box can be bounded to the data control for exhibiting the data base contents. The two properties are very essential for binding to the data control. The DataSource & the DataField are the necessary properties for binding to the data control. The DataSource refers to database and the DataField refers to the specific field of the record.
Whenever a text box is used for exhibiting the names of the customer then the DataField property of the text box must be initialized as shown below:
Txtcust. DataField = "customer name"