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

Visual Basic

 
GeneralRe: Multithreading Pin
Jay Royall17-Apr-09 3:38
Jay Royall17-Apr-09 3:38 
GeneralRe: Multithreading Pin
Dave Kreskowiak17-Apr-09 3:33
mveDave Kreskowiak17-Apr-09 3:33 
AnswerRe: Multithreading Pin
Chinners17-Apr-09 1:45
Chinners17-Apr-09 1:45 
GeneralRe: Multithreading Pin
Jon_Boy17-Apr-09 3:57
Jon_Boy17-Apr-09 3:57 
Questionwhat values should I use for my datatable? Pin
rajulama16-Apr-09 20:30
rajulama16-Apr-09 20:30 
AnswerRe: what values should I use for my datatable? Pin
Johan Hakkesteegt16-Apr-09 21:06
Johan Hakkesteegt16-Apr-09 21:06 
GeneralRe: what values should I use for my datatable? Pin
rajulama16-Apr-09 21:11
rajulama16-Apr-09 21:11 
GeneralRe: what values should I use for my datatable? Pin
Johan Hakkesteegt16-Apr-09 21:22
Johan Hakkesteegt16-Apr-09 21:22 
Well the question is what kind of inserting you want to do.

Simply put you could do something like this:

Dim cmd As OleDbCommand = New OleDbCommand("INSERT INTO Sheet1(Field1, Field2, Field3, Field4, Field5, Field6, Field7) values(1,2,3,4,5,6,7)", con)


or

Dim cmd As OleDbCommand = New OleDbCommand("INSERT INTO Sheet1(Field1, Field2, Field3, Field4, Field5, Field6, Field7) values(1," & SomeVariable & "," & SomeOtherVariable & "," & YetAnotherVariable & ",5,6,7)", con)


or

Dim cmd As OleDbCommand = New OleDbCommand("INSERT INTO Sheet1(Field1, Field2, Field3, Field4, Field5, Field6, Field7) SELECT field1, field2, field3, field4, field5, field6, field7 FROM AnotherTable WHERE some condition is true ", con)

My advice is free, and you may get what you paid for.

GeneralRe: what values should I use for my datatable? Pin
rajulama16-Apr-09 21:30
rajulama16-Apr-09 21:30 
GeneralRe: what values should I use for my datatable? Pin
Johan Hakkesteegt16-Apr-09 21:57
Johan Hakkesteegt16-Apr-09 21:57 
GeneralRe: what values should I use for my datatable? Pin
rajulama16-Apr-09 22:13
rajulama16-Apr-09 22:13 
GeneralRe: what values should I use for my datatable? Pin
Johan Hakkesteegt16-Apr-09 22:17
Johan Hakkesteegt16-Apr-09 22:17 
GeneralRe: what values should I use for my datatable? Pin
rajulama16-Apr-09 22:33
rajulama16-Apr-09 22:33 
GeneralRe: what values should I use for my datatable? Pin
Johan Hakkesteegt16-Apr-09 22:44
Johan Hakkesteegt16-Apr-09 22:44 
GeneralRe: what values should I use for my datatable? Pin
rajulama16-Apr-09 22:57
rajulama16-Apr-09 22:57 
GeneralRe: what values should I use for my datatable? Pin
Johan Hakkesteegt16-Apr-09 23:18
Johan Hakkesteegt16-Apr-09 23:18 
GeneralRe: what values should I use for my datatable? Pin
rajulama16-Apr-09 23:30
rajulama16-Apr-09 23:30 
GeneralRe: what values should I use for my datatable? Pin
rajulama16-Apr-09 23:43
rajulama16-Apr-09 23:43 
GeneralRe: what values should I use for my datatable? Pin
Jay Royall17-Apr-09 0:46
Jay Royall17-Apr-09 0:46 
GeneralRe: what values should I use for my datatable? Pin
Johan Hakkesteegt17-Apr-09 0:51
Johan Hakkesteegt17-Apr-09 0:51 
QuestionHow to copy some files from one folder to other with multithreading in VB.NET? Pin
Hadi Basiri16-Apr-09 14:04
Hadi Basiri16-Apr-09 14:04 
AnswerRe: How to copy some files from one folder to other with multithreading in VB.NET? Pin
Christian Graus16-Apr-09 15:13
protectorChristian Graus16-Apr-09 15:13 
GeneralRe: How to copy some files from one folder to other with multithreading in VB.NET? Pin
CPallini16-Apr-09 21:56
mveCPallini16-Apr-09 21:56 
AnswerRe: How to copy some files from one folder to other with multithreading in VB.NET? Pin
Zaegra16-Apr-09 20:33
Zaegra16-Apr-09 20:33 
Questionload xml into text box Pin
kryan016-Apr-09 13:17
kryan016-Apr-09 13:17 

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.