|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows vb.net DatagridCan 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. Shil,
If you combine these two samples on our website you have probably what you asks. http://www.vb-tips.com/default.aspx?ID=c6c7d9a8-7511-41a1-a488-2e91e5295e7c http://www.vb-tips.com/default.aspx?ID=5f4a0f68-a3b6-4fc8-8aff-587f730fa118 I hope this helps, Cor Show quoteHide quote "shil" <joshi***@gmail.com> schreef in bericht news:1142869953.455018.55650@v46g2000cwv.googlegroups.com... > 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. > 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. 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 Cor,
That worked perfectly. Which is what I was looking for. Thank you very much. By the way, your website is very informative. Shil. Cor Ligthert [MVP] wrote: Show quoteHide quote > 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 |
|||||||||||||||||||||||