Project to display a database - data control, Visual Basic Programming

A Project to Display a Database:

1. Suppose that there are 5 fields describing a customer. Id, address, name, city & state.

2. Put 5 text boxes on the form to exhibit the records.

3. Put a data control on the form.

4. Set the DatabaseName property as shown below:

Data1.DatabaseName = "C:\ex.mdb"

5. Place the Record Source for the data control as the Customer by selecting ttable from the drop down list box in the property box.

6. Put the Record Type to 0 to point out the Customer table of ex.mdb .

7. Bind the text boxes to the data control. This is consummate by setting the Data Source to the Data1 for all the text boxes one at a time.

8. Put the DataField property for each text box and set to the various fields of the Customer table.

9. Run the project.

10. The records of the Customer table would be exhibited.

Posted Date: 10/10/2012 1:07:14 AM | Location : United States







Related Discussions:- Project to display a database - data control, Assignment Help, Ask Question on Project to display a database - data control, Get Answer, Expert's Help, Project to display a database - data control Discussions

Write discussion on Project to display a database - data control
Your posts are moderated
Related Questions
steps of connecting database from vb6.0

Event-Driven Programming: The Event-driven programming allows the program to react to various inputs or events.   The action on a graphical component is an event. For il

The Document: The document contains the user's data. For illustration, after working on a text processor, the user may wish for to save the file. Such an action builds a docum

need general help in pseudo code

Creating an application that will calculate the cost of a car rental based on the number of days that the car is rented. the cost of the car rental includes the cost of the car its

I would like to know how to deploy a VB.NET Application using SQL SERVER as a back-end database

WINDOWS 32 BIT (WIN 32) APPLICATIONS   The Win 32 based applications are the applications developed for the windows family of the operating systems. The Win 32 applications ac

DYNAMIC LINK LIBRARY   The dynamic link library (dll) permits one copy of a function to be shared among some parallel executing programs. The dll is a file that contains a num

The user has to enter a starting balance, the dollar amount of deposits, and the dollar amount of withdrawals. the program then has to calculate the balance

For this assignment you have to design and implement a VB.NET project which prepares a bill of payment due, given the purchase amount. The project models a typical purchase transac