Click here to Skip to main content
15,437,442 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionRANKING IN VB.NET MYSQL Pin
KipkoechE11-Feb-15 1:30
MemberKipkoechE11-Feb-15 1:30 
AnswerRe: RANKING IN VB.NET MYSQL Pin
Richard MacCutchan11-Feb-15 1:39
mveRichard MacCutchan11-Feb-15 1:39 
QuestionDATAGRIDVIEW VB.NET Pin
KipkoechE8-Feb-15 17:21
MemberKipkoechE8-Feb-15 17:21 
QuestionRe: DATAGRIDVIEW VB.NET Pin
Eddy Vluggen10-Feb-15 11:28
professionalEddy Vluggen10-Feb-15 11:28 
AnswerRe: DATAGRIDVIEW VB.NET Pin
KipkoechE10-Feb-15 18:29
MemberKipkoechE10-Feb-15 18:29 
QuestionRe: DATAGRIDVIEW VB.NET Pin
Richard MacCutchan10-Feb-15 21:31
mveRichard MacCutchan10-Feb-15 21:31 
AnswerRe: DATAGRIDVIEW VB.NET Pin
KipkoechE10-Feb-15 21:58
MemberKipkoechE10-Feb-15 21:58 
AnswerRe: DATAGRIDVIEW VB.NET Pin
KipkoechE10-Feb-15 22:04
MemberKipkoechE10-Feb-15 22:04 
i changed it to :

Try
For i As Integer = 0 To Me.DataGridView1.Rows.Count - 1

With Me.DataGridView1.Rows(i)

If IsDBNull(.Cells(9).Value()) OrElse .Cells(9).Value() Is Nothing OrElse .Cells(9).Value().ToString().Trim() = "" Then
.Cells(6).Value() = -1
.Cells(7).Value() = -1
.Cells(8).Value() = -1
.Cells(9).Value() = -1


Else
.Cells(6).Value() = 1
.Cells(7).Value() = 1
.Cells(8).Value() = 1
.Cells(9).Value() = 1
End If

End With
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try

and it worked very well
My problem now is adding the rows data...
Thanks for the guidance

-- modified 11-Feb-15 4:21am.
QuestionVB.NET MYSQL Pin
KipkoechE8-Feb-15 3:53
MemberKipkoechE8-Feb-15 3:53 
SuggestionRe: VB.NET MYSQL Pin
Richard MacCutchan8-Feb-15 7:20
mveRichard MacCutchan8-Feb-15 7:20 
GeneralRe: VB.NET MYSQL Pin
KipkoechE8-Feb-15 17:23
MemberKipkoechE8-Feb-15 17:23 
QuestionThe control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
saifulalam256-Feb-15 18:53
professionalsaifulalam256-Feb-15 18:53 
AnswerRe: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
Dave Kreskowiak7-Feb-15 3:12
mveDave Kreskowiak7-Feb-15 3:12 
GeneralRe: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
saifulalam257-Feb-15 3:26
professionalsaifulalam257-Feb-15 3:26 
GeneralRe: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
Dave Kreskowiak7-Feb-15 4:54
mveDave Kreskowiak7-Feb-15 4:54 
GeneralRe: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
saifulalam258-Feb-15 0:08
professionalsaifulalam258-Feb-15 0:08 
GeneralRe: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
Dave Kreskowiak8-Feb-15 4:08
mveDave Kreskowiak8-Feb-15 4:08 
GeneralRe: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
saifulalam258-Feb-15 17:14
professionalsaifulalam258-Feb-15 17:14 
GeneralRe: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Pin
Dave Kreskowiak9-Feb-15 2:16
mveDave Kreskowiak9-Feb-15 2:16 
QuestionHow To Show Dll code in asp.net Pin
Member 1124576229-Jan-15 18:31
MemberMember 1124576229-Jan-15 18:31 
AnswerRe: How To Show Dll code in asp.net Pin
Pete O'Hanlon29-Jan-15 19:39
mvaPete O'Hanlon29-Jan-15 19:39 
AnswerRe: How To Show Dll code in asp.net Pin
Le Hoai Nam (From Ho Chi Minh City, Viet Nam)4-Feb-15 17:35
MemberLe Hoai Nam (From Ho Chi Minh City, Viet Nam)4-Feb-15 17:35 
GeneralRe: How To Show Dll code in asp.net Pin
Afzaal Ahmad Zeeshan5-Feb-15 6:56
mveAfzaal Ahmad Zeeshan5-Feb-15 6:56 
AnswerRe: How To Show Dll code in asp.net Pin
Afzaal Ahmad Zeeshan5-Feb-15 6:55
mveAfzaal Ahmad Zeeshan5-Feb-15 6:55 
QuestionHow to do CRUD Operations in Windows Applications Using Entity FrameWork Pin
TarunKumarSusarapu27-Jan-15 20:00
professionalTarunKumarSusarapu27-Jan-15 20:00 

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.