Click here to Skip to main content
15,897,891 members

Comments by wikus70 (Top 29 by date)

wikus70 15-May-14 2:12am View    
Have a look at this:
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx
http://www.dotnetperls.com/datagridview-vbnet
http://www.codeproject.com/Questions/277264/Fill-Data-in-Dataset-to-DataGridView-in-VB-net
wikus70 14-May-14 10:43am View    
So you're getting data from the first table but not the second?
I could be wrong but I think you're making two separate connections to the same database. If I'm correct, you're getting a "file lock" problem and thus the reason why you're not getting any info from the second table.
wikus70 14-May-14 9:56am View    
Can you edit your question to include you code?
wikus70 14-May-14 8:43am View    
Yes. The "Do While" will loop through the table one row at a time. The Reader.Item is used to get the data. That data will be used to create a new node in the treeview. Creating the nodes will also have to be in the "Do While" loop though.

So you'll be replaying "NewNode", "ChildNode" and "ChildChildNode" with str1, str2 and str3
wikus70 14-May-14 2:20am View    
I'm not sure what you're asking. Can you share some code to show where your problem is.
Maybe this can help you:
http://www.informit.com/guides/content.aspx?g=java&seqNum=236
http://www.javaswingcomponents.com/product/accordion