Click here to Skip to main content
15,926,507 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralPopulating a combo box using a DataView Pin
zaug12-Aug-04 9:37
zaug12-Aug-04 9:37 
GeneralRe: Populating a combo box using a DataView Pin
progload12-Aug-04 12:14
progload12-Aug-04 12:14 
GeneralRe: Populating a combo box using a DataView Pin
zaug12-Aug-04 12:44
zaug12-Aug-04 12:44 
GeneralRe: Populating a combo box using a DataView Pin
progload12-Aug-04 13:05
progload12-Aug-04 13:05 
GeneralRe: Populating a combo box using a DataView Pin
zaug12-Aug-04 13:24
zaug12-Aug-04 13:24 
GeneralRe: Populating a combo box using a DataView Pin
progload12-Aug-04 13:30
progload12-Aug-04 13:30 
GeneralDataSet and DataGrid Pin
Member 129483012-Aug-04 8:45
Member 129483012-Aug-04 8:45 
Generalupdating Access Pin
monkeyjoe12-Aug-04 8:03
monkeyjoe12-Aug-04 8:03 
Hello everyone. I need help w/ textboxes to update an Access database. For a first name textbox, I have the following code to update the changed text.

Private Sub txtClientFirstName_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtClientFirstName.TextChanged
Dim commandBuilder As New OleDb.OleDbCommandBuilder(dataAdapter)

dt.Rows(rowIndex)("First_Name") = txtClientFirstName.Text

Try
commandBuilder.DataAdapter.Update(dt)
'dataAdapter.Update(dt)
'commandBuilder.Dispose()
'dataAdapter.Dispose()
Catch exp As InvalidOperationException
End Try


This code will allow the user to alter the contents of the text box, but it will not move those changes to the database. What am I doing wrong?

GeneralDataSet and DataGrid Pin
Member 129483012-Aug-04 7:53
Member 129483012-Aug-04 7:53 
GeneralRe: DataSet and DataGrid Pin
monkeyjoe12-Aug-04 8:16
monkeyjoe12-Aug-04 8:16 
GeneralRe: DataSet and DataGrid Pin
Member 129483012-Aug-04 8:52
Member 129483012-Aug-04 8:52 
GeneralRe: DataSet and DataGrid Pin
Anonymous13-Aug-04 9:50
Anonymous13-Aug-04 9:50 
QuestionWhat is the best 3rd Party Grid Control? Pin
mudbuddy1112-Aug-04 6:19
mudbuddy1112-Aug-04 6:19 
AnswerRe: What is the best 3rd Party Grid Control? Pin
cvp7712-Aug-04 21:55
cvp7712-Aug-04 21:55 
GeneralAccessing files while being copied Pin
Simon Kearn12-Aug-04 6:13
sussSimon Kearn12-Aug-04 6:13 
GeneralRe: Accessing files while being copied Pin
Dave Kreskowiak12-Aug-04 7:22
mveDave Kreskowiak12-Aug-04 7:22 
GeneralAI Project Pin
Anonymous12-Aug-04 5:54
Anonymous12-Aug-04 5:54 
GeneralRe: AI Project Pin
Dave Kreskowiak12-Aug-04 6:58
mveDave Kreskowiak12-Aug-04 6:58 
QuestionCan anyone suggest the right approach for the below mentioned issue/combination in Horizontal approuch on vb to .net migration Pin
ramarao21212-Aug-04 4:29
sussramarao21212-Aug-04 4:29 
GeneralCreateRemoteThread fails with Custom VB6 DLL Pin
Dr Memory12-Aug-04 3:25
Dr Memory12-Aug-04 3:25 
GeneralCreateRemoteThread fails with ActiveX DLL Pin
Dr Memory12-Aug-04 11:00
Dr Memory12-Aug-04 11:00 
Generali need to make search engine...!! Pin
Ashraf Fathy12-Aug-04 3:02
Ashraf Fathy12-Aug-04 3:02 
GeneralRe: Modify .xls from VB6 Pin
Purple Monk12-Aug-04 2:54
Purple Monk12-Aug-04 2:54 
GeneralModify .xls from VB6 Pin
Pablo.ar12-Aug-04 2:34
Pablo.ar12-Aug-04 2:34 
QuestionHow to Delete a file in C# or VB.NET Pin
Prabhu Ram Prasath12-Aug-04 1:59
Prabhu Ram Prasath12-Aug-04 1:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.