Click here to Skip to main content
15,893,487 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: having problems with program to merge sort a given set of input Pin
benkazy101415-Oct-12 1:36
benkazy101415-Oct-12 1:36 
QuestionRe: having problems with program to merge sort a given set of input Pin
Eddy Vluggen15-Oct-12 2:16
professionalEddy Vluggen15-Oct-12 2:16 
AnswerRe: having problems with program to merge sort a given set of input Pin
benkazy101415-Oct-12 2:38
benkazy101415-Oct-12 2:38 
GeneralRe: having problems with program to merge sort a given set of input Pin
Eddy Vluggen15-Oct-12 2:47
professionalEddy Vluggen15-Oct-12 2:47 
AnswerRe: having problems with program to merge sort a given set of input Pin
benkazy101415-Oct-12 1:38
benkazy101415-Oct-12 1:38 
GeneralRe: having problems with program to merge sort a given set of input Pin
Member 132474409-Jun-17 17:20
Member 132474409-Jun-17 17:20 
Question[SOLVED] How to update Gridview with value textbox = Null Pin
zaimah14-Oct-12 22:25
zaimah14-Oct-12 22:25 
AnswerRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen15-Oct-12 0:48
professionalEddy Vluggen15-Oct-12 0:48 
zaimah wrote:
I try to put value '0' if the text box = Null, but it didn't work.

Its been few days I've been trying to find answers. Hope someone can suggest any idea for me to solve this.

From
VB
Dim C1 As Integer = DirectCast(row.FindControl("Label1"), TextBox).Text

To
VB
Dim C1S As String = DirectCast(row.FindControl("Label1"), TextBox).Text
Dim C1 As Integer = Convert.ToInt32(C1S)

That should do it Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah15-Oct-12 5:46
zaimah15-Oct-12 5:46 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen15-Oct-12 6:13
professionalEddy Vluggen15-Oct-12 6:13 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah15-Oct-12 13:48
zaimah15-Oct-12 13:48 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen16-Oct-12 0:14
professionalEddy Vluggen16-Oct-12 0:14 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah16-Oct-12 2:35
zaimah16-Oct-12 2:35 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen16-Oct-12 2:42
professionalEddy Vluggen16-Oct-12 2:42 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah16-Oct-12 2:59
zaimah16-Oct-12 2:59 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen16-Oct-12 3:17
professionalEddy Vluggen16-Oct-12 3:17 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah16-Oct-12 3:50
zaimah16-Oct-12 3:50 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen16-Oct-12 4:21
professionalEddy Vluggen16-Oct-12 4:21 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah17-Oct-12 4:13
zaimah17-Oct-12 4:13 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen17-Oct-12 4:51
professionalEddy Vluggen17-Oct-12 4:51 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah17-Oct-12 5:25
zaimah17-Oct-12 5:25 
GeneralRe: How to update Gridview with value textbox = Null Pin
zaimah17-Oct-12 6:04
zaimah17-Oct-12 6:04 
GeneralRe: How to update Gridview with value textbox = Null Pin
Eddy Vluggen17-Oct-12 9:20
professionalEddy Vluggen17-Oct-12 9:20 
AnswerRe: [SOLVED] How to update Gridview with value textbox = Null Pin
josephSurgeon31-Oct-12 4:27
josephSurgeon31-Oct-12 4:27 
QuestionIndex was outside the bounds of the array Pin
etteychan12-Oct-12 19:03
etteychan12-Oct-12 19:03 

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.