Click here to Skip to main content
15,915,319 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalcalling a function to save to a table Pin
mcm18-Jan-03 5:11
mcm18-Jan-03 5:11 
GeneralRe: calling a function to save to a table Pin
Hesham Amin19-Jan-03 9:07
Hesham Amin19-Jan-03 9:07 
Generaltab event in datagrid Pin
mcm18-Jan-03 0:02
mcm18-Jan-03 0:02 
GeneralMiddle Button scroll in combo box Pin
shaquille o'neal17-Jan-03 9:18
sussshaquille o'neal17-Jan-03 9:18 
GeneralRe: Middle Button scroll in combo box Pin
mikasa17-Jan-03 9:58
mikasa17-Jan-03 9:58 
GeneralRe: Middle Button scroll in combo box Pin
shaquille O'Neal18-Jan-03 1:48
sussshaquille O'Neal18-Jan-03 1:48 
GeneralRe: Middle Button scroll in combo box Pin
Tim McCurdy18-Jan-03 7:24
Tim McCurdy18-Jan-03 7:24 
Generallooping through rows in datagrid to save to database Pin
mcm17-Jan-03 9:00
mcm17-Jan-03 9:00 
The function of my form is to generate an order. i am doing this by populating several rows of a datagrid. I have little experience with datagrids and i wish to save the contents of the datagrid, having gone through several validations (eg ensure every cell has been filled out, is there enough quantity in stock etc). i am wondering how to loop through each row of the datagrid, first to validate and then to save each row to the database? is it something like:

for row 1 to ? ( i am unsure of what to put here as the number of rows that will be in the order cannot be predetermined)
perform validation and saving......
next row

how do i declare the rows in the datagrid?
any help would be much appreciated! Thank you!
Generalwindows services Pin
StevensN17-Jan-03 6:22
StevensN17-Jan-03 6:22 
GeneralRe: windows services Pin
Ray Cassick17-Jan-03 7:08
Ray Cassick17-Jan-03 7:08 
Generalusing array (or recordset???!!) as datasource for datagrid Pin
mcm17-Jan-03 4:05
mcm17-Jan-03 4:05 
GeneralRunAs / LogOnAsUser Pin
cescosystem17-Jan-03 3:50
cescosystem17-Jan-03 3:50 
GeneralBidirectional TCP Genuine Channels are Available. Pin
Bill200217-Jan-03 0:14
Bill200217-Jan-03 0:14 
GeneralHOWTO Determine the Memory required for a DOMDocument Pin
Paul Farry16-Jan-03 20:08
professionalPaul Farry16-Jan-03 20:08 
Generalcopying arrays Pin
brieg100016-Jan-03 11:07
brieg100016-Jan-03 11:07 
GeneralRe: copying arrays Pin
Nick Seng16-Jan-03 14:34
Nick Seng16-Jan-03 14:34 
GeneralRe: copying arrays Pin
brieg100017-Jan-03 5:04
brieg100017-Jan-03 5:04 
GeneralRe: copying arrays Pin
Richard Deeming17-Jan-03 8:01
mveRichard Deeming17-Jan-03 8:01 
GeneralRe: copying arrays Pin
brieg100020-Jan-03 3:17
brieg100020-Jan-03 3:17 
GeneralRe: copying arrays Pin
Richard Deeming20-Jan-03 4:01
mveRichard Deeming20-Jan-03 4:01 
GeneralIssue with ToolTips Pin
Andrew Stampor16-Jan-03 9:20
Andrew Stampor16-Jan-03 9:20 
GeneralADODC: no recordsource specified Pin
mcm16-Jan-03 8:05
mcm16-Jan-03 8:05 
Generalupdating 2tables in database based on new record in datagrid Pin
mcm16-Jan-03 5:17
mcm16-Jan-03 5:17 
GeneralGrid Pin
Ilan Ehrenfeld15-Jan-03 20:50
Ilan Ehrenfeld15-Jan-03 20:50 
GeneralRe: Grid Pin
Nick Seng15-Jan-03 21:26
Nick Seng15-Jan-03 21:26 

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.