Click here to Skip to main content
15,911,711 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DataGridView Issue - row change causes data change Pin
i gr824-Aug-07 19:17
i gr824-Aug-07 19:17 
QuestionHELP? NON RIESCO PIU' A COMPILARE Pin
Roberto Monza24-Aug-07 6:43
Roberto Monza24-Aug-07 6:43 
AnswerRe: HELP? NON RIESCO PIU' A COMPILARE Pin
Dave Kreskowiak24-Aug-07 7:01
mveDave Kreskowiak24-Aug-07 7:01 
GeneralVB2005 WPF Compilation problems Pin
Roberto Monza24-Aug-07 7:13
Roberto Monza24-Aug-07 7:13 
GeneralRe: VB2005 WPF Compilation problems Pin
kubben24-Aug-07 7:42
kubben24-Aug-07 7:42 
AnswerRe: HELP? NON RIESCO PIU' A COMPILARE Pin
Paul Conrad25-Aug-07 10:27
professionalPaul Conrad25-Aug-07 10:27 
QuestionWhat is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 3:56
Smokeywade24-Aug-07 3:56 
AnswerRe: What is wrong with my loop - VB.net Pin
Colin Angus Mackay24-Aug-07 5:02
Colin Angus Mackay24-Aug-07 5:02 
A quick lesson on loops

For loops go around a specific number of times.
For aNumber = startNumber To endNumber

For Each loops go around a collection of items
For Each item In items

KA National Marker wrote:
For row = row To MyDataSet.Tables(0).Rows.Count - 1


Try:
For row = 0 to MyDataSet.Tables(0).Rows.Count - 1

KA National Marker wrote:
row = row + 1


Would never be needed in any type of For loop as the loop itself updates the counter. What you are actully doing here is skipping an extra row.


-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.

Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits


My website

GeneralRe: What is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 7:16
Smokeywade24-Aug-07 7:16 
GeneralRe: What is wrong with my loop - VB.net Pin
Ian Shlasko24-Aug-07 7:27
Ian Shlasko24-Aug-07 7:27 
GeneralRe: What is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 8:48
Smokeywade24-Aug-07 8:48 
QuestionUpdate data acces layer Pin
jesusnaun24-Aug-07 3:50
jesusnaun24-Aug-07 3:50 
AnswerRe: Update data acces layer Pin
Colin Angus Mackay24-Aug-07 5:10
Colin Angus Mackay24-Aug-07 5:10 
GeneralRe: Update data acces layer Pin
jesusnaun24-Aug-07 7:08
jesusnaun24-Aug-07 7:08 
GeneralRe: Update data acces layer Pin
Mark Churchill26-Aug-07 4:53
Mark Churchill26-Aug-07 4:53 
JokeRe: Update data acces layer Pin
Colin Angus Mackay26-Aug-07 5:39
Colin Angus Mackay26-Aug-07 5:39 
QuestionApplying CSS/JavaScript to a WebBrowser Control [modified] Pin
Nick Rioux24-Aug-07 2:43
Nick Rioux24-Aug-07 2:43 
AnswerRe: Applying CSS/JavaScript to a WebBrowser Control Pin
Dave Kreskowiak24-Aug-07 5:42
mveDave Kreskowiak24-Aug-07 5:42 
AnswerRe: Applying CSS/JavaScript to a WebBrowser Control Pin
Nick Rioux25-Aug-07 2:41
Nick Rioux25-Aug-07 2:41 
Questionwebbrowser Search Function Pin
Ahmad Zaidi24-Aug-07 2:32
Ahmad Zaidi24-Aug-07 2:32 
AnswerRe: webbrowser Search Function Pin
Nick Rioux24-Aug-07 2:47
Nick Rioux24-Aug-07 2:47 
QuestionMultiple Subreports [modified] Pin
Saranya B24-Aug-07 1:24
Saranya B24-Aug-07 1:24 
QuestionCannot display a control on panel in this way... Pin
BooleanTrue24-Aug-07 0:10
professionalBooleanTrue24-Aug-07 0:10 
AnswerRe: Cannot display a control on panel in this way... Pin
Dave Kreskowiak24-Aug-07 1:53
mveDave Kreskowiak24-Aug-07 1:53 
GeneralRe: Cannot display a control on panel in this way... Pin
BooleanTrue24-Aug-07 3:12
professionalBooleanTrue24-Aug-07 3:12 

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.