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

.NET (Core and Framework)

 
SuggestionRe: Error Pin
Richard MacCutchan26-Feb-15 21:25
mveRichard MacCutchan26-Feb-15 21:25 
QuestionAccessing Telerik DropDownColumn from EditedTemplate Pin
byka25-Feb-15 7:21
byka25-Feb-15 7:21 
QuestionThe model item passed into the dictionary is of type 'WebTime_Sheet.Models.RegisterViewModel', but this dictionary requires a model item of type 'WebTime_Sheet.Models.Users'. Pin
Kriss Legrand23-Feb-15 16:23
Kriss Legrand23-Feb-15 16:23 
AnswerRe: The model item passed into the dictionary is of type 'WebTime_Sheet.Models.RegisterViewModel', but this dictionary requires a model item of type 'WebTime_Sheet.Models.Users'. Pin
Dave Kreskowiak23-Feb-15 17:30
mveDave Kreskowiak23-Feb-15 17:30 
GeneralRe: The model item passed into the dictionary is of type 'WebTime_Sheet.Models.RegisterViewModel', but this dictionary requires a model item of type 'WebTime_Sheet.Models.Users'. Pin
Kriss Legrand23-Feb-15 21:22
Kriss Legrand23-Feb-15 21:22 
GeneralRe: The model item passed into the dictionary is of type 'WebTime_Sheet.Models.RegisterViewModel', but this dictionary requires a model item of type 'WebTime_Sheet.Models.Users'. Pin
Dave Kreskowiak24-Feb-15 2:34
mveDave Kreskowiak24-Feb-15 2:34 
QuestionService Broker Pin
Member 1116162520-Feb-15 17:18
Member 1116162520-Feb-15 17:18 
AnswerRe: Service Broker Pin
Dave Kreskowiak20-Feb-15 17:58
mveDave Kreskowiak20-Feb-15 17:58 
Questionnested datalist not updating on databinding Pin
ankita prabha18-Feb-15 23:38
ankita prabha18-Feb-15 23:38 
QuestionExtract certain Text FROM PDF into my vb.NET TextBoxes Pin
VIERcntHOLZ11-Feb-15 5:21
VIERcntHOLZ11-Feb-15 5:21 
AnswerRe: Extract certain Text FROM PDF into my vb.NET TextBoxes Pin
Richard MacCutchan11-Feb-15 5:37
mveRichard MacCutchan11-Feb-15 5:37 
GeneralRe: Extract certain Text FROM PDF into my vb.NET TextBoxes Pin
VIERcntHOLZ11-Feb-15 5:46
VIERcntHOLZ11-Feb-15 5:46 
GeneralRe: Extract certain Text FROM PDF into my vb.NET TextBoxes Pin
Richard MacCutchan11-Feb-15 6:48
mveRichard MacCutchan11-Feb-15 6:48 
GeneralRe: Extract certain Text FROM PDF into my vb.NET TextBoxes Pin
VIERcntHOLZ12-Feb-15 5:45
VIERcntHOLZ12-Feb-15 5:45 
GeneralRe: Extract certain Text FROM PDF into my vb.NET TextBoxes Pin
manchanx12-Feb-15 13:32
professionalmanchanx12-Feb-15 13:32 
GeneralRe: Extract certain Text FROM PDF into my vb.NET TextBoxes Pin
Richard MacCutchan12-Feb-15 22:29
mveRichard MacCutchan12-Feb-15 22:29 
QuestionRANKING IN VB.NET MYSQL Pin
KipkoechE11-Feb-15 1:30
KipkoechE11-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
KipkoechE8-Feb-15 17:21 
I have a datagridview with the columns Totalscore,MARK1,MARK2,MARK3,..MARK10. my problem is how i can check if less than 7 cells in a row are filled with values then update TotalScore as -1 otherwise if 7 or more have values then find the total of the cells.

i had tried with this but could not succeed

Try
For i As Integer = 9 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
ttScore = "-1"
avg = "-1"
points = "-1"
pos = "-1"
.Cells(2).Value() = ttScore
.Cells(3).Value() = avg
.Cells(4).Value() = pos
.Cells(5).Value() = points
Else
ttScore = "1"
avg = "1"
points = "1"
pos = "1"
.Cells(2).Value() = ttScore
.Cells(3).Value() = avg
.Cells(4).Value() = pos
.Cells(5).Value() = points
End If

End With
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try
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
KipkoechE10-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
KipkoechE10-Feb-15 21:58 
AnswerRe: DATAGRIDVIEW VB.NET Pin
KipkoechE10-Feb-15 22:04
KipkoechE10-Feb-15 22:04 
QuestionVB.NET MYSQL Pin
KipkoechE8-Feb-15 3:53
KipkoechE8-Feb-15 3:53 

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.