Search results for query: *

  1. F

    Problems with ADO.Net's Insert-, Delete- and UpdateCommand and to update the DataSet

    HiI'm new to ADO in Visual Basic.Net and have problems with updating theDataSet. I'm using the code below, but after I have used the DataAdapter's Update metod nothing happens to the Dataset OR the database (the record is not deleted). Before I used the ExecuteNonQuery, then the record was gone...
  2. F

    Update the ComboBox at runtime???

    Here is the code. Private Sub btnChangeCombo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChangeCombo.Click Dim data_adapter As New OleDbDataAdapter Dim command_builder As OleDbCommandBuilder Dim tableNamn As String Dim fgUpdateCommand As OleDbCommand =...
  3. F

    Update the ComboBox at runtime???

    HiI have tried to update my combobox with no luck. I add records to the table,the combobox has as Datasource, but I don't know how to update the combobox.I have tried updata the OleDBAdapter and the DataSet and set the datasourceto that dataset, but nothing happens. I can see in the database...
  4. F

    How to make a DataGrid work the same,when a user clicks or presses keys

    Hi I have a DataGrid with comboboxes (inherited from DataGridTextBoxColumn) and I'm woundering what methods or something runs when a user clicks in the DataGrid or ComboBox. In the comboboxes I use the KeyUp event for the user to choose an item in the combobox. When I choose an item with keys...
  5. F

    TAB or Enter key in DataGrid

    Hi I have made my DataGrid move to the next cell on TAB and Enter (the code below) and it works fine, but when standing in the first cell on the new row (last row) and pressing TAB or Enter the cursor moves to the second cell on the PREVIOUS row and not the new row. Why? And if I MOUSE_CLICK in...
  6. F

    TAB or Enter key in DataGrid

    Hi If I click on the new row in my DataGrid, I can see that I have a new row with cells with NULL values. But if I Tab to the new row the same thing doesn't happen, it seems like it isn't a new row. And I want to be able to Tab to a new row. Can I raiseevent to event myGrid_Click so the same...
  7. F

    Trouble with combobox in DataGrid

    Hi The first set of source code is the class for a combobox in a grid, hopefully. In the second set of code we try to use the combobox class, but the grid is empty. I don't understand how this works. The first set of code I downloaded from internet and when i tried it, it worked fine. But when I...
  8. F

    Editable Combobox in Datagrid

    Hi I like to have an editable combobox in my Datagrid, like the one's they have in Access. I've seen some examples on how to add a combobox in a datagrid, but they are not editable. I found an example at page http://www.akadia.com/services/dotnet_combobox_in_datagrid.html, it works OK, but it's...
Back
Top