|
-
February 26th, 2009, 05:33 AM
#1
Code Debug
Hallo,
I am working with VB.net and have a problem with the below code. This code works well however the problem is it creates another field after the last record and set that field in Column 14 to "YES". I don't ant this to happen
Can anyone modify the code that this should not happen...
Thank you
Dim irow As Integer
For irow = 0 To DgvQuarCommit.Rows.Count - 1
If IsDBNull(DgvQuarCommit.Rows(irow).Cells(1).Value) Then
DgvQuarCommit.Rows(irow).Cells(14).Value = "NO"
Else
DgvQuarCommit.Rows(irow).Cells(14).Value = "YES"
End If
Next irow
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|