Click here to Skip to main content
15,917,875 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: MySQL Query from 1000 clients to one MySQL Server at the same time Pin
nxexo0077-Nov-09 7:29
nxexo0077-Nov-09 7:29 
AnswerRe: MySQL Query from 1000 clients to one MySQL Server at the same time Pin
Shameel8-Nov-09 23:33
professionalShameel8-Nov-09 23:33 
QuestionInterop Library Available? Pin
#realJSOP7-Nov-09 1:49
professional#realJSOP7-Nov-09 1:49 
AnswerRe: Interop Library Available? Pin
Not Active7-Nov-09 2:42
mentorNot Active7-Nov-09 2:42 
AnswerRe: Interop Library Available? Pin
Luc Pattyn7-Nov-09 3:21
sitebuilderLuc Pattyn7-Nov-09 3:21 
AnswerRe: Interop Library Available? Pin
Dave Kreskowiak7-Nov-09 11:46
mveDave Kreskowiak7-Nov-09 11:46 
QuestionConcurrency violation using ACCESS DATABASE... [FIXED] Pin
Johnkokk6-Nov-09 20:33
Johnkokk6-Nov-09 20:33 
AnswerRe: Concurrency violation using ACCESS DATABASE...[FIXED] Pin
Johnkokk6-Nov-09 21:12
Johnkokk6-Nov-09 21:12 
Well, some minutes later I seem to have solved the problem.
I actually ported the C, solution to VB and it solved.

Here is the solution.

On adapter rowupdated event add the following code.

Private Sub OleDbDataAdapter3_RowUpdated(ByVal sender As System.Object, ByVal e As System.Data.OleDb.OleDbRowUpdatedEventArgs) Handles OleDbDataAdapter3.RowUpdated
        If (e.StatementType = StatementType.Insert) Then

            Dim cmd As OleDbCommand = New OleDbCommand("SELECT @@IDENTITY", e.Command.Connection)

            'If your ID field has different name than Id, replace the Id part on the next line, whith the correct
            e.Row("Id") = cmd.ExecuteScalar()
            e.Row.AcceptChanges()

        End If
End Sub


Hope this helps
QuestionIIS related scenario Pin
NazarHussain6-Nov-09 8:38
NazarHussain6-Nov-09 8:38 
Questionhow to use visual studio 2008 to send network packets to database Pin
that_dude_tj6-Nov-09 6:59
that_dude_tj6-Nov-09 6:59 
AnswerRe: how to use visual studio 2008 to send network packets to database Pin
#realJSOP7-Nov-09 1:47
professional#realJSOP7-Nov-09 1:47 
GeneralRe: how to use visual studio 2008 to send network packets to database Pin
that_dude_tj8-Nov-09 13:29
that_dude_tj8-Nov-09 13:29 
GeneralRe: how to use visual studio 2008 to send network packets to database Pin
that_dude_tj17-Nov-09 5:14
that_dude_tj17-Nov-09 5:14 
GeneralRe: how to use visual studio 2008 to send network packets to database Pin
#realJSOP17-Nov-09 5:25
professional#realJSOP17-Nov-09 5:25 
Questionstrange "module could not be found error" [modified] Pin
invader826-Nov-09 1:24
invader826-Nov-09 1:24 
AnswerRe: strange "module could not be found error" Pin
Shameel6-Nov-09 4:34
professionalShameel6-Nov-09 4:34 
Questionvb.net code related to speech recognition Pin
pooja_chande6-Nov-09 1:19
pooja_chande6-Nov-09 1:19 
AnswerRe: vb.net code related to speech recognition Pin
Shameel6-Nov-09 4:33
professionalShameel6-Nov-09 4:33 
AnswerRe: vb.net code related to speech recognition Pin
amitk_1892-Apr-10 0:41
amitk_1892-Apr-10 0:41 
QuestionDataGridViewComboBoxColumn not showing the contents Pin
sachinkalse5-Nov-09 21:37
sachinkalse5-Nov-09 21:37 
QuestionText position in a richtextbox Pin
lbs.allies5-Nov-09 17:31
lbs.allies5-Nov-09 17:31 
QuestionExchange 2003 Sink written with Visual Studio 2008 Pin
Craig Henderson Qvai5-Nov-09 7:30
Craig Henderson Qvai5-Nov-09 7:30 
AnswerRe: Exchange 2003 Sink written with Visual Studio 2008 Pin
Richard MacCutchan6-Nov-09 0:00
mveRichard MacCutchan6-Nov-09 0:00 
QuestionMy old VC++ 6.0 multi-threadingprogram doesnt work on PC with .NET 2.0 (maybe due thread safe) Pin
rudozkv_new4-Nov-09 5:04
rudozkv_new4-Nov-09 5:04 
AnswerRe: My old VC++ 6.0 multi-threadingprogram doesnt work on PC with .NET 2.0 (maybe due thread safe) Pin
Richard MacCutchan4-Nov-09 5:13
mveRichard MacCutchan4-Nov-09 5:13 

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.