Hi John,
I ended up finding a very similar post on a forum (might have been this one actually. My code now looks as below. Obviously there's a lot of stuff in there that will make no sense at all but I think you'll get the general gist of what's goint on.
The idea is that if a parent node...
Hi,
A simple question, I hope!!
I'm building a treeview at runtime and I need a method of testing if a node already exists before creating it. If I create a simple node using...
TreeView1.Nodes.Add("Test Node")
How can I tell if this node exists? Something like...
If...
Hi Cjard,
Thanks for the reply and the sample application you posted. Yes your quite correct about the dataset / datatable thing. I'm very new to VB.NET and I've thrown myself in at the deep end a bit writing my first application full of dataset tables, database integration and god only...
Hi,
I probably didn't explain it that well to be honest. I do have a combobox "combobox1" with it's datasource bound to a dataset column. What I'm actually doing when this code runs is updating the rows in the dataset using the selectedindex value of the combobox to select the row in the...
Hi,
ddlVendors.SelectedIndex = ddlVendors.FindStringExact(txtVend.Text)
This should index the dropdownlist to the item in the textbox.
Hope this helps! :)
Hi all,
I am using the following code to update two items of data in a dataset...
ds.Tables("addresses").Rows(ComboBox1.SelectedIndex).Item("Street") = txt_street.Text
ds.Tables("addresses").Rows(ComboBox1.SelectedIndex).Item("Town") = txt_town.Text
This seems to work fine however the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.