Search results for query: *

  1. S

    Test is a TreeView node exists?

    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...
  2. S

    Test is a TreeView node exists?

    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...
  3. S

    ComboBox bug or am I missing something??

    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...
  4. S

    ComboBox bug or am I missing something??

    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...
  5. S

    SelectedItem property of dropdownlists...

    Hi, ddlVendors.SelectedIndex = ddlVendors.FindStringExact(txtVend.Text) This should index the dropdownlist to the item in the textbox. Hope this helps! :)
  6. S

    ComboBox bug or am I missing something??

    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...
Back
Top