Click here to Skip to main content
15,907,687 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How can i create salary format in Textbox ? for example i want create 2000.00 . Pin
Andy_L_J17-Apr-09 22:16
Andy_L_J17-Apr-09 22:16 
AnswerRe: How can i create salary format in Textbox ? for example i want create 2000.00 . Pin
Johan Hakkesteegt20-Apr-09 1:41
Johan Hakkesteegt20-Apr-09 1:41 
QuestionError in using MemoryStream in VB.Net Pin
Viram Pandey17-Apr-09 3:57
Viram Pandey17-Apr-09 3:57 
AnswerRe: Error in using MemoryStream in VB.Net Pin
Dave Kreskowiak17-Apr-09 4:26
mveDave Kreskowiak17-Apr-09 4:26 
GeneralRe: Error in using MemoryStream in VB.Net Pin
Viram Pandey20-Apr-09 1:37
Viram Pandey20-Apr-09 1:37 
QuestionCertifiacte download Pin
siva45516-Apr-09 23:13
siva45516-Apr-09 23:13 
AnswerRe: Certifiacte download Pin
Dave Kreskowiak17-Apr-09 3:38
mveDave Kreskowiak17-Apr-09 3:38 
QuestionMultithreading Pin
Muhammad Fahim Baloch16-Apr-09 20:58
Muhammad Fahim Baloch16-Apr-09 20:58 
AnswerRe: Multithreading Pin
Johan Hakkesteegt16-Apr-09 21:25
Johan Hakkesteegt16-Apr-09 21:25 
GeneralRe: Multithreading Pin
Muhammad Fahim Baloch17-Apr-09 1:26
Muhammad Fahim Baloch17-Apr-09 1:26 
GeneralRe: Multithreading Pin
Johan Hakkesteegt17-Apr-09 2:04
Johan Hakkesteegt17-Apr-09 2:04 
GeneralRe: Multithreading [modified] Pin
Jay Royall17-Apr-09 2:09
Jay Royall17-Apr-09 2:09 
GeneralRe: Multithreading Pin
Dave Kreskowiak17-Apr-09 3:26
mveDave Kreskowiak17-Apr-09 3:26 
GeneralRe: Multithreading Pin
Jay Royall17-Apr-09 3:30
Jay Royall17-Apr-09 3:30 
GeneralRe: Multithreading Pin
Dave Kreskowiak17-Apr-09 3:34
mveDave Kreskowiak17-Apr-09 3:34 
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 

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.