Click here to Skip to main content
15,881,172 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Alternative to FileCopy in Visual Basic 6 for 2GB files up Pin
paolo71xx23-Aug-18 2:25
paolo71xx23-Aug-18 2:25 
QuestionThe Problem in Update Command with Table Adapter VB.net Pin
Member 128130745-Aug-18 18:29
Member 128130745-Aug-18 18:29 
AnswerRe: The Problem in Update Command with Table Adapter VB.net Pin
CHill606-Aug-18 1:54
mveCHill606-Aug-18 1:54 
AnswerRe: The Problem in Update Command with Table Adapter VB.net Pin
Richard MacCutchan6-Aug-18 3:10
mveRichard MacCutchan6-Aug-18 3:10 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Member 128130746-Aug-18 15:55
Member 128130746-Aug-18 15:55 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Richard MacCutchan6-Aug-18 20:54
mveRichard MacCutchan6-Aug-18 20:54 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Dave Kreskowiak7-Aug-18 6:14
mveDave Kreskowiak7-Aug-18 6:14 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Member 128130747-Aug-18 15:37
Member 128130747-Aug-18 15:37 
Dear All,

I have revised this code based on my update information, but the record has not yet updated.

Please help me in adding and updating a data table.

My code is below, like that

Dim i As Integer
Dim latihandataset As New latihanDataSet()
Dim datamahasiswatableadapter As New latihanDataSetTableAdapters.datamahasiswa1TableAdapter
Try
Me.Validate()
Me.LatihanDataSetBindingSource.EndEdit()
Me.LatihanDataSet.Tables(0).Rows(1).Item(1) = TextBox1.Text
i = DatamahasiswaTableAdapter1.Update(Me.LatihanDataSet.datamahasiswa)
Me.DatamahasiswaTableAdapter1.Update(Me.LatihanDataSet.datamahasiswa)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
MessageBox.Show("no of rows updated=" & i)


The result : It have no a bug error, but the updated program have not run well.

Please help me to create the valid code for update a data.

Thank you for you time and attention,



My best regards,





Muljanto

modified 8-Aug-18 5:21am.

GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Member 128130747-Aug-18 22:57
Member 128130747-Aug-18 22:57 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Member 128130747-Aug-18 18:02
Member 128130747-Aug-18 18:02 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Richard MacCutchan7-Aug-18 20:56
mveRichard MacCutchan7-Aug-18 20:56 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Member 128130747-Aug-18 22:27
Member 128130747-Aug-18 22:27 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Richard MacCutchan7-Aug-18 22:35
mveRichard MacCutchan7-Aug-18 22:35 
GeneralRe: The Problem in Update Command with Table Adapter VB.net Pin
Member 128130747-Aug-18 22:53
Member 128130747-Aug-18 22:53 
Questioni want to do a car park booking system in vb, i use picbox to let user click, my questions is, how to link picbox to sql 2014, i means i need to know what picbox user selected, and it will auto record to sql 2014 Pin
Member 139364602-Aug-18 21:19
Member 139364602-Aug-18 21:19 
AnswerRe: i want to do a car park booking system in vb, i use picbox to let user click, my questions is, how to link picbox to sql 2014, i means i need to know what picbox user selected, and it will auto record to sql 2014 Pin
Richard MacCutchan2-Aug-18 21:50
mveRichard MacCutchan2-Aug-18 21:50 
AnswerRe: i want to do a car park booking system in vb, i use picbox to let user click, my questions is, how to link picbox to sql 2014, i means i need to know what picbox user selected, and it will auto record to sql 2014 Pin
Eddy Vluggen2-Aug-18 22:24
professionalEddy Vluggen2-Aug-18 22:24 
Questionhow to display user data after login in vb Pin
Member 139364602-Aug-18 21:12
Member 139364602-Aug-18 21:12 
AnswerRe: how to display user data after login in vb Pin
Richard MacCutchan2-Aug-18 21:48
mveRichard MacCutchan2-Aug-18 21:48 
SuggestionSome advice ... Pin
CHill602-Aug-18 21:55
mveCHill602-Aug-18 21:55 
QuestionDataGriedView Maestro - Detalle Pin
Member 1219672031-Jul-18 15:07
Member 1219672031-Jul-18 15:07 
AnswerRe: DataGriedView Maestro - Detalle Pin
dan!sh 31-Jul-18 20:22
professional dan!sh 31-Jul-18 20:22 
QuestionCan anyone Direct me to how to change Windows 'Settings' programmatically? Pin
Member 331739318-Jul-18 6:40
Member 331739318-Jul-18 6:40 
AnswerRe: Can anyone Direct me to how to change Windows 'Settings' programmatically? Pin
Richard Deeming18-Jul-18 7:34
mveRichard Deeming18-Jul-18 7:34 
GeneralRe: Can anyone Direct me to how to change Windows 'Settings' programmatically? Pin
Member 331739318-Jul-18 8:06
Member 331739318-Jul-18 8:06 

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.