I am using VB 2005 Express Edition.
I have adatagrid that cloumns bound to 3 different sql database tables.
There are 2 columns that I want to link to each other.
The one is a Client column and the other a clientid column.
Both these columns are bound to a client table. I need the clientid column to list the clientid for the client selected in the client column as the the client is selected. How can I do this?

Recommended Answers

All 3 Replies

I would use events for this...

Hi Triss. Thanks forthe reply.
I am new to VB.NET. Would anybody be able to give an example?

how about to use 2 datagrid. first datagrid to list client and second datagrid to list client_id as the client selected on first datagrid. of course you have to use events for each datagrid.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.