Click here to Skip to main content
15,888,984 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Vb6 ADODC Login failed for the user knows in Windows 7 Pin
marco.bruni28-Mar-13 3:45
marco.bruni28-Mar-13 3:45 
GeneralRe: Vb6 ADODC Login failed for the user knows in Windows 7 Pin
Richard MacCutchan28-Mar-13 3:56
mveRichard MacCutchan28-Mar-13 3:56 
AnswerRe: Vb6 ADODC Login failed for the user knows in Windows 7 Pin
Eddy Vluggen28-Mar-13 7:22
professionalEddy Vluggen28-Mar-13 7:22 
AnswerRe: Vb6 ADODC Login failed for the user knows in Windows 7 Pin
Kenneth Haugland31-Mar-13 18:37
mvaKenneth Haugland31-Mar-13 18:37 
QuestionConcurrency violation or Insert Pin
IgaBaro26-Mar-13 5:17
IgaBaro26-Mar-13 5:17 
AnswerRe: Concurrency violation or Insert Pin
Eddy Vluggen27-Mar-13 9:39
professionalEddy Vluggen27-Mar-13 9:39 
GeneralRe: Concurrency violation or Insert Pin
IgaBaro28-Mar-13 3:11
IgaBaro28-Mar-13 3:11 
AnswerRe: Concurrency violation or Insert Pin
Eddy Vluggen28-Mar-13 7:15
professionalEddy Vluggen28-Mar-13 7:15 
IgaBaro wrote:
I have posted this and here it is again.

My bad; the table-adapter is a class that does some magic in the background. It uses SQL-statements to do it's magic. I'd like to see both SQL statements. Those are the ones used to insert and update, the code you shown calls those in the background.

From MSDN[^];
TableAdapters use data commands to read to and write from the database. The TableAdapter's initial Fill (main) query is used as the basis for creating the schema of the associated data table, as well as the InsertCommand, UpdateCommand, and DeleteCommand commands associated with the TableAdapter.Update method. This means that calling a TableAdapter's Update method executes the statements created when the TableAdapter was originally configured, and not one of the additional queries added with the TableAdapter Query Configuration Wizard.

When you use a TableAdapter, it effectively performs the same operations with the commands that you typically would perform. For example, when you call the adapter's Fill method, the adapter executes the data command in its SelectCommand property and uses a data reader (for example, SqlDataReader) to load the result set into the data table. Similarly, when you call the adapter's Update method, it executes the appropriate command (in the UpdateCommand, InsertCommand, and DeleteCommand properties) for each changed record in the data table.

I'd be guessing that the SQL-statement is either incorrect or incomplete, and it might be limited to having a single record.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

QuestionHow make steganography in video (.AVI) Pin
Khairul Imam25-Mar-13 11:42
Khairul Imam25-Mar-13 11:42 
AnswerRe: How make steganography in video (.AVI) Pin
GuyThiebaut25-Mar-13 22:45
professionalGuyThiebaut25-Mar-13 22:45 
QuestionI want to do all the functionalty of painting on an image?? Pin
Lolo Hyun25-Mar-13 6:55
Lolo Hyun25-Mar-13 6:55 
AnswerRe: I want to do all the functionalty of painting on an image?? Pin
Richard MacCutchan25-Mar-13 7:39
mveRichard MacCutchan25-Mar-13 7:39 
AnswerRe: I want to do all the functionalty of painting on an image?? Pin
Eddy Vluggen25-Mar-13 8:06
professionalEddy Vluggen25-Mar-13 8:06 
Generalkeyboard controlling arduino rc car with UDP packets (VB 2008) Pin
Jose Sallamanca20-Mar-13 8:59
Jose Sallamanca20-Mar-13 8:59 
AnswerRe: keyboard controlling arduino rc car with UDP packets (VB 2008) Pin
MicroVirus27-Mar-13 4:11
MicroVirus27-Mar-13 4:11 
Questionremove or disconnect disk/sotrage Pin
V1rus9r20-Mar-13 3:51
V1rus9r20-Mar-13 3:51 
AnswerRe: remove or disconnect disk/sotrage Pin
Richard MacCutchan20-Mar-13 4:04
mveRichard MacCutchan20-Mar-13 4:04 
GeneralRe: remove or disconnect disk/sotrage Pin
V1rus9r20-Mar-13 6:40
V1rus9r20-Mar-13 6:40 
QuestionAccess VBA Timing Problem Pin
Ingo19-Mar-13 2:12
Ingo19-Mar-13 2:12 
AnswerRe: Access VBA Timing Problem Pin
Dave Kreskowiak19-Mar-13 3:37
mveDave Kreskowiak19-Mar-13 3:37 
GeneralRe: Access VBA Timing Problem Pin
Ingo19-Mar-13 4:41
Ingo19-Mar-13 4:41 
GeneralRe: Access VBA Timing Problem Pin
Dave Kreskowiak19-Mar-13 7:18
mveDave Kreskowiak19-Mar-13 7:18 
GeneralRe: Access VBA Timing Problem Pin
Ingo19-Mar-13 7:25
Ingo19-Mar-13 7:25 
GeneralRe: Access VBA Timing Problem Pin
Dave Kreskowiak19-Mar-13 8:10
mveDave Kreskowiak19-Mar-13 8:10 
GeneralRe: Access VBA Timing Problem Pin
Ingo20-Mar-13 0:03
Ingo20-Mar-13 0:03 

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.