User Profile
Collapse
-
No i am not see the javascript errors but i need the to pass value from javascript which is placed in asp source code side to coding part ie default.aspx.vb .. -
ramuksasi started a topic String or binary data would be truncated. The statement has been terminatedin ASP .NETString or binary data would be truncated. The statement has been terminated
String or binary data would be truncated. The statement has been terminated.
I'm using the following code but some times(not all the time) i get the above error can u help
...Code:Dim ST As String = "update MCVISITORS SET HOSTADDRESS='" & Host & "',USERAGENT='" & UserAgent & "',BROWSER='" & Browser & "',CRAWLER='" & Crawler & "', URL='" &
Last edited by Frinavale; Nov 19 '10, 02:05 PM. Reason: Added the description of the error to the thread. -
Unable to read cookie value
Hi,
I am unable to read a cookie value from the cookies. i have set cookie value from javascript in scripting side and try to read cookie value from coding part ie. default.aspx.vb . i have shown my javascript page below:
...Code:<pre lang="cs">function setcookie() { var today=new Date(); var expire=new Date(); var ndays; if(ndays==null || ndays==0)ndays=1; expire.setTime(today.getTime()Last edited by Frinavale; Nov 12 '10, 07:37 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags. Also changed "s into "s and & into &s -
ramuksasi started a topic error "Control 'GridView' must be placed inside a form tag with runat=server"in ASP .NETerror "Control 'GridView' must be placed inside a form tag with runat=server"
Hi,
I've an asp.net .ascx form and a gridview on that form.I've placed that form on an .aspx. Now while I'm trying to import data from gridview to excel it is showing the error "Control 'GridView' must be placed inside a form tag with runat=server"
see my code:
...Code:<form action="readdata.aspx" runat="server"> <table> <tr>
No activity results to display
Show More
Leave a comment: