Hello,
I've a little prob... I have created a Datagrid but I can't link it with a Database ( from access )
Thanx!
zenobe03
Printable View
Hello,
I've a little prob... I have created a Datagrid but I can't link it with a Database ( from access )
Thanx!
zenobe03
Go to the properties of the databound grid and enter the name of the data control (which is bound to database)
Iouri Boutchkine
[email protected]
Thanx, but I don't really understand... I have to link a datacontrol with my database, But I don't even can do that. In the properties it's written:
DataMember: Empty
DataSource: < Not bound to a DataSource >
THANX
zenobe03
You need a data connection first. An easy way to get connected is use ADODC. In your project, select the "project" pull-down menu, select "references". Place a check by the Microsoft ADO Data Control. Now when you close that, you'll have the ADODC control in your tool bar. Place an ADODC control on your form, and edit the properties (right click on the control to select "properties") accordingly to connect to your database. Now, select your datagrid. In the properties box, select the datasource. Adodc1 should be there to select. Does that make it any clearer?
Patrick