error in response.form("")
-
<% If (Request.Form("Submit1") = True) Then Response.Write("Hi") End If %> Untitled Page i got the error at runtime Conversion from string "" to type 'Boolean' is not valid. please help...
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
-
<% If (Request.Form("Submit1") = True) Then Response.Write("Hi") End If %> Untitled Page i got the error at runtime Conversion from string "" to type 'Boolean' is not valid. please help...
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
-
<% If (Request.Form("Submit1") = True) Then Response.Write("Hi") End If %> Untitled Page i got the error at runtime Conversion from string "" to type 'Boolean' is not valid. please help...
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
<% If Request.Form("Submit1") Then Response.Write("Hi") End If %> try this and enjoy
Best Regards, Chetan Patel
-
<% If (Request.Form("Submit1") = True) Then Response.Write("Hi") End If %> Untitled Page i got the error at runtime Conversion from string "" to type 'Boolean' is not valid. please help...
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
R u passing 'true' or 'false' value as a submit1 var if yes try this
Request.Form("Submit1") = "True"
Best regard PathanGOD HELP THOSE WHO HELP THEMSELVES
-
R u passing 'true' or 'false' value as a submit1 var if yes try this
Request.Form("Submit1") = "True"
Best regard PathanGOD HELP THOSE WHO HELP THEMSELVES
All this is happening in a aspx page. Submit1 is a html button <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <% If Request.Form("Submit1") Then Response.Write("Hi") End If %> Untitled Page
Sonia
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
-
<% If Request.Form("Submit1") Then Response.Write("Hi") End If %> try this and enjoy
Best Regards, Chetan Patel
http://www.codeproject.com/script/comments/forums.asp?msg=2151022&forumid=12076#xx2151022xx[^]
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
-
YES, see Submit1 is empty and you cannot convert "" into a boolean.
Mubashir Software Architect Storan Technologies Inc, USA Every job is a self portrait of the person who did it.
http://www.codeproject.com/script/comments/forums.asp?msg=2151022&forumid=12076#xx2151022xx[^]
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
-
All this is happening in a aspx page. Submit1 is a html button <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <% If Request.Form("Submit1") Then Response.Write("Hi") End If %> Untitled Page
Sonia
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
u r passing string value and checking boolean value so its give error
Piyush Vardhan Singh Programmer TAS NewDelhi India
-
All this is happening in a aspx page. Submit1 is a html button <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <% If Request.Form("Submit1") Then Response.Write("Hi") End If %> Untitled Page
Sonia
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
Hi, Replace following things
Sonia Gupta wrote:
If Request.Form("Submit1") Then
If Request.Form("Submit1") = "submit" Then and
Sonia Gupta wrote:
I tried with the modified changes it's working... The problem in ur code is Request.form("Submit1") returns string value....so its giving error.. and one more thing.....for submit button it should contain name attribute, when ever u click on that button the value will be passed to form
Regards, Sandeep Kumar.V
-
http://www.codeproject.com/script/comments/forums.asp?msg=2151022&forumid=12076#xx2151022xx[^]
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....