Windows vb.net Datagrid

S

shil

Can any one help point me in the right direction?

I am building a small application in Windows app using VB.NET.

I have a Datagrid which is bound to a set of controls in another
pane below it where you click on a particular row and those bound
controls
are filled, AddNew, etc. No clue how to achieve this.

I have looked all over and can't find anything that adequately explains
what
I want to do. I have tried myself with only moderate success and I am
really
just spinning my wheels right now.

Thanks in advance.
 
S

shil

Hi Cor,
Thank you for your response. I'm having hard time to work with
datatable. I already have a dataset defined and has data loaded. How
can I assign this to datatable?

Thanks.
 
C

Cor Ligthert [MVP]

Shil

A dataset is a kind of wrapper around collections datatables and
datarelations.

Therefore
ds.tables(0) is your first table and ds.tables(1) your second etc..

I hope this helps,

Cor
 
S

shil

Cor,

That worked perfectly. Which is what I was looking for. Thank you very
much.
By the way, your website is very informative.

Shil.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top