View Single Post
  #2 (permalink)  
Old 07-04-2009, 6:15 AM
cjard's Avatar
cjard cjard is offline
VB.NET Forum All-Mighty
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Apr 2006
Age: 65
Posts: 6,442
Reputation: 807
cjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond reputecjard has a reputation beyond repute
Default

You want to show and insert 2 rows worth of data at once?

What a strange app!

Read the Dw2 link in my signature, section "Creating a Simple Data App"
After you do this you'll have knowledg eof something called a TableAdapter. Just call its Insert twice:

tableadapter.Insert(textbox1.Text, textbox2.Text ....)
tableadapter.Insert(textbox8.Text, textbox9.Text ....)
__________________
DW1 DW2 DW3 DW4 DNU PQ
Reply With Quote