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
Earlier versions of VBScript had no mechanism for making user-defined constants. Constants, if utilized, were implemented as variables & distinguished from other variables by using

GDI OBJECTS   The CDC provides 5 versions for the GDI objects. They are fonts, brushes, pens, bitmaps and regions. The Select Object function substitutes the current GDI objec

Associating Toolbars for the menu: 1. Insert the tool bar control to your form. 2. Now follow the steps to append the tool bar control to your form. 3. Then, Right Click

Indexing: In libraries, the card catalog is the index. The three indices are used in the library. The Author, Subject and title are the 3 indices. Each index is relative. The

You are asked to create the LOTO game customized according to the following constraints: 1. Create a grid containing 20 numbers (20 buttons: button1, button2, …button20) 2. When t

MODELESS DIALOG The Dialog boxes are either modal or modeless. The modal dialog box should be closed (Unloaded or hidden) before you can continue the working with the rest of t

You can employ Do...Loop statements to run a block of statements indefinite number of times. The statements are repeated either whilst a condition is True or till a condition becom

#question.algorithemtofindwhetheragivennumberisprime/not.

Hi, i need help in vb.net for the pelmanism game. I will appreciate if you can get back to me please

Create the flowcharts using MS Visio, MS Excel or MS Word to demonstrate the algorithm. Submit your flowchart under the assignment for CH7-4-26 Flowchart. Part Printouts H