Search results

  1. N

    Updating rows in a dataset

    I have got a listbox, a button and a label in my form. the listbox shows the data from the first column, and the label shows the data from the same row, but the next column. When you click the button a dialog box appears with two textboxes and a button. the two textboxes contain the selected...
  2. N

    Multiple dialog boxes

    That works great thanks! I didnt realise that both the add.showdialog and the If statement displayed the dialog box.
  3. N

    Multiple dialog boxes

    My problem is this.: I have the following code in my form; Dim add As New Form2() add.ShowDialog(Me) If add.ShowDialog = DialogResult.OK Then quit = 0 End If This should open form2, then, depending on which button is pressed, should either set quit (integer) to 0. but when i run my...
  4. N

    Updating rows in a dataset

    How do i find a specific row in a dataset and update it using data from textboxes? I currently have the following code Private Sub btnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEdit.Click Songs.song.LoadDataRow((add.txtName.Text, add.txtWords.Text)...
  5. N

    Closing forms

    That might work, but i think i have solved the problem. If i make the second form a dialog box of the first, and set the dialogresult property of one of the buttons, that should work fine for what i need.
  6. N

    Closing forms

    How do i close a form so that it cannot be seen or used, all textboxes etc. are returned to their default values and it can be opened with Dim ... As New declaration. I tried this code: Dim form1 As New Form1() form1.Show() Me.Close() but this only brought up the second form without...
  7. N

    Help with XML

    I've managed to get the Data from the column into the listbox. Here is the next problem. when a certain item in the listbox is selected, how do i get the data from the same row and the next column in the data table to appear in a Label or textbox?
  8. N

    Help with XML

    I guessed that. how do i get the data in the column in the listbox?
  9. N

    Help with XML

    Hi I am quite a novice programmer and i need a few pointers with XML. 1. Is it possible to populate a List bOx from a Dataset (Created from an XML file) 2. Is it possible to populate an ArrayList (Correct terminology?) from an XML Data table 3. Is it possible to write data to an XML File...
Top Bottom