Yes.See the code below :
<form id="form1" runat="server">
<div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<img src="Images/Title.jpg" unselectable="o n" /></td>
<td...
User Profile
Collapse
-
Yes it is there as below :
<form id="form1" runat="server">...Leave a comment:
-
'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"
I've overrides the ascx as follow :
Protected Overrides Sub Render(ByVal writer As System.Web.UI.H tmlTextWriter)
MyBase.Render(w riter)
... -
Dear,
I've removed ToString from the following line but still it is returning false.
Code:mvItem = dsBoss.Tables(0).Rows(i)(0).ToString
Leave a comment:
-
Rows.contains sometimes return false even though the value is there
Hi,
I'm using the following method to find the itemcode in a table.
Code:dim ds as new dataset dim mvItem as object Dim tmpCol(1) As DataColumn tmpCol(0) = dsPDT.Tables(0).Columns(0) dsPDT.Tables(0).PrimaryKey = tmpCol mvItem = dsBoss.Tables(0).Rows(i)(0).ToString If dsPDT.Tables(0).Rows.Contains(mvItem) = False Then do something else do something
No activity results to display
Show More
Leave a comment: