<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - ASP.NET</title>
		<link>http://www.daniweb.com/forums/</link>
		<description><![CDATA[Our ASP.NET forum is the place for Q&A-style discussions related to the Microsoft Visual Studio.NET development framework.  Note we have a separate ASP forum. We also have dedicated C# and VB.NET forums within the Software Development category. There is an MS SQL forum within the Databases sub-category to use in tandem to .NET. Additionally, there is a Windows Servers and IIS forum within the Networking sub-forum of the Hardware and Software category.]]></description>
		<language>en-US</language>
		<lastBuildDate>Sat, 07 Nov 2009 22:45:23 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - ASP.NET</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>How to upgrade a ASP .NET website to AJAX enabled website?</title>
			<link>http://www.daniweb.com/forums/thread236840.html</link>
			<pubDate>Sat, 07 Nov 2009 18:46:08 GMT</pubDate>
			<description>I have developed a ASP .net website now I want to enable AJAX for this website , so plz tell me the procedure to Upgrade this Website to AJAX enabled website.</description>
			<content:encoded><![CDATA[<div>I have developed a ASP .net website now I want to enable AJAX for this website , so plz tell me the procedure to Upgrade this Website to AJAX enabled website.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>pradeep.singh28</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236840.html</guid>
		</item>
		<item>
			<title>ASP .Net web project cannot be run on browser(Localhost)</title>
			<link>http://www.daniweb.com/forums/thread236837.html</link>
			<pubDate>Sat, 07 Nov 2009 18:39:20 GMT</pubDate>
			<description><![CDATA[I am trying to run my web project on Localhost but the browser is not  able to load any of the .aspx pages whether related to this project or any other  .aspx page.. 
The message displayed by the browser is"*IE cannot Display the page*" 
plz give me the solution for this problem]]></description>
			<content:encoded><![CDATA[<div>I am trying to run my web project on Localhost but the browser is not  able to load any of the .aspx pages whether related to this project or any other  .aspx page..<br />
The message displayed by the browser is&quot;<span style="font-weight:bold">IE cannot Display the page</span>&quot;<br />
plz give me the solution for this problem</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>pradeep.singh28</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236837.html</guid>
		</item>
		<item>
			<title>website</title>
			<link>http://www.daniweb.com/forums/thread236710.html</link>
			<pubDate>Sat, 07 Nov 2009 05:39:48 GMT</pubDate>
			<description><![CDATA[i want to start a website, but i don't know how to. can anyone guide me with this process. thanks]]></description>
			<content:encoded><![CDATA[<div>i want to start a website, but i don't know how to. can anyone guide me with this process. thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mshravs</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236710.html</guid>
		</item>
		<item>
			<title>Using Javascript in seperate file.</title>
			<link>http://www.daniweb.com/forums/thread236646.html</link>
			<pubDate>Fri, 06 Nov 2009 21:35:49 GMT</pubDate>
			<description><![CDATA[I'm trying to do something very simple...just access a JavaScript function that exists in a separate file but I can't seem to get it to work.  
 
 
<form id="form1" runat="server"> 
    <script type="text/javascript" src="styleScript.js"></script>    
    <div id="container" class="container"> 
  ...]]></description>
			<content:encoded><![CDATA[<div>I'm trying to do something very simple...just access a JavaScript function that exists in a separate file but I can't seem to get it to work. <br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;styleScript.js&quot;&gt;&lt;/script&gt;&nbsp;  <br />
&nbsp; &nbsp; &lt;div id=&quot;container&quot; class=&quot;container&quot;&gt;<br />
&nbsp; <br />
&nbsp;&lt;button id=&quot;button1&quot; onmouseover=&quot;mouseOver('button1')&quot; style=&quot;margin-left:900px;width:200px;background-color:Transparent;height:100px;margin-top:120px;&quot;&gt;About Me&lt;/button&gt;<br />
<br />
&nbsp; &nbsp; &nbsp;  &lt;/div&gt;<br />
&nbsp; &nbsp;  &lt;/div&gt;<br />
&nbsp; &nbsp;  &lt;/div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;/form&gt;</pre><br />
My styleScript.js class:<br />
<br />
 <pre style="margin:20px; line-height:13px">function mouseOver(var b)<br />
{<br />
&nbsp; &nbsp; //do stuff<br />
}</pre><br />
Is there anything I need to do to have my html access this javascript function that exists in a separate file??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>RunTimeError</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236646.html</guid>
		</item>
		<item>
			<title>IE can not display the web page ..?</title>
			<link>http://www.daniweb.com/forums/thread236637.html</link>
			<pubDate>Fri, 06 Nov 2009 20:51:02 GMT</pubDate>
			<description>hello every one.. 
im beginner in asp.net 
i made a simple page and debug it 
but it gave me that IE can not display the page 
coz it is not connected with internet 
 
although im connected to internet 
and it must work on local host 
 
any solutions ..?</description>
			<content:encoded><![CDATA[<div>hello every one..<br />
im beginner in asp.net<br />
i made a simple page and debug it<br />
but it gave me that IE can not display the page<br />
coz it is not connected with internet<br />
<br />
although im connected to internet<br />
and it must work on local host<br />
<br />
any solutions ..?<br />
thanks in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dima shawahneh</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236637.html</guid>
		</item>
		<item>
			<title>SqlDateTime Overflow Error</title>
			<link>http://www.daniweb.com/forums/thread236607.html</link>
			<pubDate>Fri, 06 Nov 2009 17:03:58 GMT</pubDate>
			<description><![CDATA[Hii... 
 
I'm having 2 .aspx page 
1) Detected Vulnerabilities Report 
2) Missing Patches Summary Report 
 
When I'm clicking on Detected Vulnerabilities Report it is executing fine and after when Im clicking on Missing Patches Summary Report it is also executing fine. For both of this report Im...]]></description>
			<content:encoded><![CDATA[<div>Hii...<br />
<br />
I'm having 2 .aspx page<br />
1) Detected Vulnerabilities Report<br />
2) Missing Patches Summary Report<br />
<br />
When I'm clicking on Detected Vulnerabilities Report it is executing fine and after when Im clicking on Missing Patches Summary Report it is also executing fine. For both of this report Im passing 2 parameters, (startdate and enddate) and between this range the report data will display...<br />
<br />
After When I'm restarting my application again and now when Im clicking on Missing Patches Summary Report it is showing an error message as 'SqlDatetime overflow. Must be between 01/01/1753 12:00:00 am and 12/31/9999 11:59:59 pm.<br />
<br />
I've created a TableAdapters for Missing Patches Summary report and Im calling this adapter in .cs class of this report...<br />
<br />
Need help on this....<br />
<br />
<br />
Thanx...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Abhishek_Boga</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236607.html</guid>
		</item>
		<item>
			<title>datagrid return value - please help</title>
			<link>http://www.daniweb.com/forums/thread236603.html</link>
			<pubDate>Fri, 06 Nov 2009 16:37:35 GMT</pubDate>
			<description><![CDATA[will someone please help me with this. It seems simple enough but I'm very new to asp and vb.  I have a datagrid and I want to know how to access the values in a specific column.  The dg is bound to a sql query.  The column returns integer values in sql.  I want to be able to sum the column and...]]></description>
			<content:encoded><![CDATA[<div>will someone please help me with this. It seems simple enough but I'm very new to asp and vb.  I have a datagrid and I want to know how to access the values in a specific column.  The dg is bound to a sql query.  The column returns integer values in sql.  I want to be able to sum the column and have a button_click command send the datagrid values to 0.  I only want to change the datagrid values NOT the sql values (I currently have an Update/Set sql command in vb for this but as I said I only want the Datagrid values to change). Simply put where, if anywhere are the datagrid values stored? I have the column set as a template column and the items are displayed in the datagrid as textboxes (to allow the cells in this column to be changed).  can someone please help or at least tell me if this question makes any sense.  thank you</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>smd5049</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236603.html</guid>
		</item>
		<item>
			<title>c# with vb in asp.net</title>
			<link>http://www.daniweb.com/forums/thread236599.html</link>
			<pubDate>Fri, 06 Nov 2009 16:14:33 GMT</pubDate>
			<description>hello, i m using c# and vb both in my web project. it gives error when connectin c# page with database. it is not taking any label taken in c# page. can anyone help me.</description>
			<content:encoded><![CDATA[<div>hello, i m using c# and vb both in my web project. it gives error when connectin c# page with database. it is not taking any label taken in c# page. can anyone help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>vikasbe</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236599.html</guid>
		</item>
		<item>
			<title>ASP.net GZip Compression</title>
			<link>http://www.daniweb.com/forums/thread236563.html</link>
			<pubDate>Fri, 06 Nov 2009 13:08:26 GMT</pubDate>
			<description><![CDATA[Hi, 
I am using GZip Compression in my ASP.Net application. 
 
All of my web pages inhertits from a BasePage Class. In my BasePage I have implemented Gzip Compression. 
 
On Page1.aspx on button click I am using Server.Transfer("Page2.aspx"). 
 
But unfortunately instead loading Page2.aspx I am...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am using GZip Compression in my ASP.Net application.<br />
<br />
All of my web pages inhertits from a BasePage Class. In my BasePage I have implemented Gzip Compression.<br />
<br />
On Page1.aspx on button click I am using Server.Transfer(&quot;Page2.aspx&quot;).<br />
<br />
But unfortunately instead loading Page2.aspx I am getting this error mesaage :<br />
<br />
Internet Explorer cannot download Page1 from localhost.<br />
INternet Explorer was not able to open this Internet Site. The requested site is either unavailable or can not be found. Please try again later.<br />
<br />
Thanks in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>amitverma80</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236563.html</guid>
		</item>
		<item>
			<title>vb.net:How to count number of views</title>
			<link>http://www.daniweb.com/forums/thread236505.html</link>
			<pubDate>Fri, 06 Nov 2009 07:26:08 GMT</pubDate>
			<description>Hi 
 
How can i count number of times user viewed  a specific page in my application. 
 
Also i want to use Session or something else because if  a user refreshes that page it should be icremented once.  
 
Any ideas how can i do it</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
How can i count number of times user viewed  a specific page in my application.<br />
<br />
Also i want to use Session or something else because if  a user refreshes that page it should be icremented once. <br />
<br />
Any ideas how can i do it</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>fawadkhalil</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236505.html</guid>
		</item>
		<item>
			<title>Urgent:Encryption</title>
			<link>http://www.daniweb.com/forums/thread236490.html</link>
			<pubDate>Fri, 06 Nov 2009 06:11:43 GMT</pubDate>
			<description>hi.. 
 
can anybody help me to encrypt/decrypt a string? i want to encrypt a URL along with the parameters... 
 
plz let me know if any1 knows some good resources for the same.. 
 
thanks..</description>
			<content:encoded><![CDATA[<div>hi..<br />
<br />
can anybody help me to encrypt/decrypt a string? i want to encrypt a URL along with the parameters...<br />
<br />
plz let me know if any1 knows some good resources for the same..<br />
<br />
thanks..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>love_dude1984</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236490.html</guid>
		</item>
		<item>
			<title>Membership, Profiles and Security</title>
			<link>http://www.daniweb.com/forums/thread236433.html</link>
			<pubDate>Fri, 06 Nov 2009 00:47:07 GMT</pubDate>
			<description><![CDATA[I've been reading a bunch of books on how Membership and Profiles can make an ASP.NET developer's life easier but these kind of things are usually too good to be true. Any idea on the drawbacks and security issues I'll have to compromise if I choose to implement either? I've been browsing the...]]></description>
			<content:encoded><![CDATA[<div>I've been reading a bunch of books on how Membership and Profiles can make an ASP.NET developer's life easier but these kind of things are usually too good to be true. Any idea on the drawbacks and security issues I'll have to compromise if I choose to implement either? I've been browsing the internet and I haven't found a reasonable answer yet.<br />
<br />
Ohhh.. Posted on the wrong forums. Sorry...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Sazabi02</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236433.html</guid>
		</item>
		<item>
			<title>help with datagrid</title>
			<link>http://www.daniweb.com/forums/thread236375.html</link>
			<pubDate>Thu, 05 Nov 2009 20:47:45 GMT</pubDate>
			<description>I have a datagrid bound to a sql proc.  I have made the last column in the datagrid into text boxes so the items are editable.  how do i return the values from these cells?  Basically I want to be able to sum the entire column, as well as set the values in each item of the column to 0 upon a...</description>
			<content:encoded><![CDATA[<div>I have a datagrid bound to a sql proc.  I have made the last column in the datagrid into text boxes so the items are editable.  how do i return the values from these cells?  Basically I want to be able to sum the entire column, as well as set the values in each item of the column to 0 upon a button_click.  I'm very new to vb.net and if I'm not explaining this correctly please let me know.<br />
<br />
the datagrid is built through this funtion:<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Dim strConnString As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim strSQLText As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strConnString = ConfigurationManager.ConnectionStrings(&quot;SDWConnectionString&quot;).ToString<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strSQLText = &quot;SELECT TN_CN_S_Desc, Item, Pack, Location, Lot, Label_Nb from sdw.sdw_user.SAR_DTD_840_copy where Pick_Num = '&quot; &amp; Picklist &amp; &quot;'&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim SqlCOnnection As New SqlConnection(strConnString)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SqlCOnnection.Open()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim sqlCmd As New SqlCommand(strSQLText, SqlCOnnection)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Dim adapter As New SqlClient.SqlDataAdapter(strSQLText, SqlCOnnection)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim ds As New DataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; adapter.Fill(ds, &quot;sdw.sdw_user.SAR_DTD_840_copy&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim dataTable = ds.Tables(&quot;sdw.sdw_user.SAR_DTD_840_copy&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.DataGrid1.DataSource = dataTable<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.DataGrid1.AutoGenerateColumns = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.DataGrid1.DataBind()</pre><br />
<br />
the html for the column that I made editable and want to sum/set to zero looks like this: <pre style="margin:20px; line-height:13px">&lt;asp:TemplateColumn HeaderText=&quot;# Labels&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;txtlbls&quot; runat=&quot;server&quot; Style=&quot;text-align: right&quot; Text='&lt;%# DataBinder.Eval(Container.DataItem,&quot;Label_Nb&quot;) %&gt;'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Width=&quot;65&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;txtlbls&quot; runat=&quot;server&quot; Style=&quot;text-align: right&quot; Text='&lt;%# DataBinder.Eval(Container.DataItem,&quot;Label_Nb&quot;) %&gt;'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Width=&quot;65&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TemplateColumn&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>smd5049</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236375.html</guid>
		</item>
		<item>
			<title>Retrieve EditItemTemplate controls of GridView at code-behind file</title>
			<link>http://www.daniweb.com/forums/thread236315.html</link>
			<pubDate>Thu, 05 Nov 2009 16:22:44 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm trying to access the RangeValidator control at my code-behind file. I keep on getting "Object reference not set to an instance of an object." exception. Can someone enlighten me? 
 
ASPX: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm trying to access the RangeValidator control at my code-behind file. I keep on getting &quot;Object reference not set to an instance of an object.&quot; exception. Can someone enlighten me?<br />
<br />
ASPX:<br />
 <pre style="margin:20px; line-height:13px">&lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot; DataSourceID=&quot;SqlDataSource1&quot; DataKeyNames=&quot;subject_id&quot; BackColor=&quot;White&quot; BorderColor=&quot;#999999&quot; BorderStyle=&quot;Solid&quot; BorderWidth=&quot;1px&quot; CellPadding=&quot;5&quot; ForeColor=&quot;Black&quot; GridLines=&quot;Horizontal&quot; OnDataBound=&quot;GridView1_DataBound&quot;&gt;<br />
&nbsp;  &lt;Columns&gt;<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp;  &lt;asp:TemplateField HeaderText=&quot;Hurdle Weight&quot; SortExpression=&quot;hurdle_weight&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;Label113&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;hurdle_weight&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemStyle Wrap=&quot;false&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;textbox_hurdleWeight1&quot; Width=&quot;30px&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;hurdle_weight&quot;) %&gt;' /&gt; % <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:RangeValidator ID=&quot;RangeValidator16&quot; runat=&quot;server&quot; ControlToValidate=&quot;textbox_hurdleWeight1&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Font-Names=&quot;Verdana&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ErrorMessage=&quot;The hurdle weight must be less or equals with the available weight&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Display=&quot;Static&quot;&gt;*<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:RangeValidator&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TemplateField&gt;</pre><br />
Code behind:<br />
 <pre style="margin:20px; line-height:13px">protected void GridView1_Editing(object sender, GridViewEditEventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; string subjectID = dropdown_subjectCode.SelectedValue.ToString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; int index = Convert.ToInt32(e.NewEditIndex);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; RangeValidator validator = (RangeValidator)GridView1.Rows[index].NamingContainer.FindControl(&quot;RangeValidator16&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; validator.MaximumValue = db.getHurdleWeightBalance(subjectID);<br />
&nbsp; &nbsp; }</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dfs3000my</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236315.html</guid>
		</item>
		<item>
			<title><![CDATA[web browser's Browser_DocumentCompleted event is firing only first time,plz help]]></title>
			<link>http://www.daniweb.com/forums/thread236303.html</link>
			<pubDate>Thu, 05 Nov 2009 15:33:23 GMT</pubDate>
			<description><![CDATA[Hi all, 
 
I have a window service from which i am calling a windows application in c#. 
and i am using web browser in window application to get html from a link, 
but problem is that web browser's Browser_DocumentCompleted event is firing only first time when service calls application,only for the...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I have a window service from which i am calling a windows application in c#.<br />
and i am using web browser in window application to get html from a link,<br />
but problem is that web browser's Browser_DocumentCompleted event is firing only first time when service calls application,only for the first page, it is not going on second page,not firing again,<br />
<br />
but if we run the application alone it fires till the end of paging....working fine....<br />
<br />
but i have to call it from service.<br />
this is the code ---------<br />
 <pre style="margin:20px; line-height:13px">public void myFunction()<br />
{<br />
System.Windows.Forms.WebBrowser Browser = new WebBrowser();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clsErrorLog.WriteLog(&quot;goes for browser&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Uri url = new Uri(&quot;my_url&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Browser.Url = url;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(Browser_DocumentCompleted);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser.Visible = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser.Size = new System.Drawing.Size(758, 539);<br />
<br />
}<br />
--this is event<br />
private void Browser_DocumentCompleted(object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.Windows.Forms.WebBrowser Browser = (System.Windows.Forms.WebBrowser)sender; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.Controls.Add(Browser);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HtmlDocument Doc;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Doc = Browser.Document;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int LastPagerIndex = 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Boolean ChkAltBtn = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string AltPagerText = &quot;&quot;;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string ctlType = &quot;&quot;;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ctlType = &quot;a&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Boolean IsAnchor = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (IsAnchor)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ctlType.Trim().Length &gt; 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HtmlElementCollection ctl = Doc.GetElementsByTagName(ctlType);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ctl != null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; ctl.Count; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ctl[i].InnerText != null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ctl[i].InnerText.Trim() == (PagerBtnText - 2).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LastPagerIndex = i;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ctl[i].InnerText.Trim() == PagerBtnText.ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ctl[i].InvokeMember(&quot;Click&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ChkAltBtn = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser.Show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PagerBtnText++;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
Please help me....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ashu2409</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236303.html</guid>
		</item>
		<item>
			<title>onmouseover / onmouseout advice</title>
			<link>http://www.daniweb.com/forums/thread236248.html</link>
			<pubDate>Thu, 05 Nov 2009 12:12:24 GMT</pubDate>
			<description>Hi there, 
 
I currently have code in place to change the background colour of a cell in a table on mouseover, then change it back when the mouse is removed. What I would like to do is also change the foreground and font colour on mouseover, how do I go about doing this? My snippet of code is as...</description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I currently have code in place to change the background colour of a cell in a table on mouseover, then change it back when the mouse is removed. What I would like to do is also change the foreground and font colour on mouseover, how do I go about doing this? My snippet of code is as follows:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;td onmouseover=&quot;this.style.backgroundColor='red';&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onmouseout=&quot;this.style.backgroundColor='#797B79';&quot; class=&quot;style5&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;style2&quot; href=&quot;http://www.google.com&quot;&gt;&lt;span class=&quot;style3&quot;&gt;HOME&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;</pre><br />
Cheers for any help,<br />
<br />
Tom.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>TomB1988</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236248.html</guid>
		</item>
		<item>
			<title>Asp.net with C#</title>
			<link>http://www.daniweb.com/forums/thread236242.html</link>
			<pubDate>Thu, 05 Nov 2009 11:29:49 GMT</pubDate>
			<description>Hello every body  
Please any one to help me    I want to upload and download files from sql database using asp.net  
with C# i need to do that using grid view or data list. 
 i want to view with grind view to  download my uploaded file from sql  data  to save external device or another disc</description>
			<content:encoded><![CDATA[<div>Hello every body <br />
Please any one to help me    I want to upload and download files from sql database using asp.net <br />
with C# i need to do that using grid view or data list.<br />
 i want to view with grind view to  download my uploaded file from sql  data  to save external device or another disc</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Afomia</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236242.html</guid>
		</item>
		<item>
			<title>data binding with fromview in asp.net using vb</title>
			<link>http://www.daniweb.com/forums/thread236238.html</link>
			<pubDate>Thu, 05 Nov 2009 11:09:01 GMT</pubDate>
			<description>i need to know how to bind data with the formview in asp.net using vb code.........................thanks</description>
			<content:encoded><![CDATA[<div>i need to know how to bind data with the formview in asp.net using vb code.........................thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mshravs</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236238.html</guid>
		</item>
		<item>
			<title>GridView Update on Single row</title>
			<link>http://www.daniweb.com/forums/thread236217.html</link>
			<pubDate>Thu, 05 Nov 2009 09:37:12 GMT</pubDate>
			<description>I have a gridview which is bound to dataset initially. 
Then i edit the gridview data by clicking the edit button. after editing when i click the update button, value should be updated on gridview itself. 
 
Later when i click submit button all updated records should be updated to sql server...</description>
			<content:encoded><![CDATA[<div>I have a gridview which is bound to dataset initially.<br />
Then i edit the gridview data by clicking the edit button. after editing when i click the update button, value should be updated on gridview itself.<br />
<br />
Later when i click submit button all updated records should be updated to sql server database.<br />
<br />
Can anyone help me with this?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>rams24</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236217.html</guid>
		</item>
		<item>
			<title><![CDATA[ASP.net + C# >> list of obj????]]></title>
			<link>http://www.daniweb.com/forums/thread236187.html</link>
			<pubDate>Thu, 05 Nov 2009 08:27:47 GMT</pubDate>
			<description><![CDATA[Hello all, 
 
i want to creat a list of an object  
so i used ArrayList  in C# 
 
 
after declaring a class book 
i declare the array list as follwing: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hello all,<br />
<br />
i want to creat a list of an object <br />
so i used ArrayList  in C#<br />
<br />
<br />
after declaring a class book<br />
i declare the array list as follwing:<br />
 <pre style="margin:20px; line-height:13px">private ArrayList mobileStore = new ArrayList();</pre><br />
then i have an object of class , say Mobile<br />
 <pre style="margin:20px; line-height:13px">Mobile m1;</pre><br />
and finally i tried to add the object m1 to the array list <br />
<br />
<span style="color:red">mobileStore.Add(m1);</span><br />
but the error occurs !! <br />
<br />
<span style="color:Red"><br />
Invalid token '(' in class, struct, or interface member declarationInvalid token ')' in class, struct, or interface member declaration	</span><br />
<br />
<br />
<br />
<br />
<br />
-------------------<br />
<br />
then i tried anoter way :<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">List&lt;Mobile&gt; store = new List&lt;Mobile&gt;();</pre><br />
but the problem was the same ???? <br />
<br />
<br />
<span style="color:Green">how can i fix it ?</span></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>CSG-SQU</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236187.html</guid>
		</item>
		<item>
			<title>Convert vb.net app. to asp. net</title>
			<link>http://www.daniweb.com/forums/thread236123.html</link>
			<pubDate>Thu, 05 Nov 2009 03:00:58 GMT</pubDate>
			<description>Hi there,  
 
I had created a system using vb.net and I wish to convert into html form or in asp.net, I want to set the system into website form.  
Can I do that? Please advice on this.  
Or I have to start from the beginning to develop the website?  
Thanks. :) 
 
Michelle</description>
			<content:encoded><![CDATA[<div>Hi there, <br />
<br />
I had created a system using vb.net and I wish to convert into html form or in asp.net, I want to set the system into website form. <br />
Can I do that? Please advice on this. <br />
Or I have to start from the beginning to develop the website? <br />
Thanks. :)<br />
<br />
Michelle</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>michelle2025</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236123.html</guid>
		</item>
		<item>
			<title>DotNetNuke basic database table</title>
			<link>http://www.daniweb.com/forums/thread236076.html</link>
			<pubDate>Wed, 04 Nov 2009 22:56:15 GMT</pubDate>
			<description>Which database tables are affected while changing the settings in DNN from Admin or Host Menu, like changing the skins, containers and moving the modules between the panes?</description>
			<content:encoded><![CDATA[<div>Which database tables are affected while changing the settings in DNN from Admin or Host Menu, like changing the skins, containers and moving the modules between the panes?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>prayas</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236076.html</guid>
		</item>
		<item>
			<title>Insert........ Records</title>
			<link>http://www.daniweb.com/forums/thread235996.html</link>
			<pubDate>Wed, 04 Nov 2009 16:03:41 GMT</pubDate>
			<description><![CDATA[*Hope for a fruitful reply....................* 
 
Enter a number into a textbox(like 5 or 10 or something like that. 
 
Then that number of rows are inserted into the table ..."Master"( id,serial_no,password) . 
 
Like if i enter 10 into that textbox and submit  then inserted 10 number of rows ...]]></description>
			<content:encoded><![CDATA[<div><span style="font-weight:bold"><span style="color:Green">Hope for a fruitful reply....................</span></span><br />
<br />
Enter a number into a textbox(like 5 or 10 or something like that.<br />
<br />
Then that number of rows are inserted into the table ...&quot;Master&quot;( id,serial_no,password) .<br />
<br />
Like if i enter 10 into that textbox and submit  then inserted 10 number of rows  into a table ...<br />
<br />
Plz Help me ... i have to done it by asp.net using c#.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mca.mdebnath</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235996.html</guid>
		</item>
		<item>
			<title>To pass login information in asp.net c# crystal report</title>
			<link>http://www.daniweb.com/forums/thread235968.html</link>
			<pubDate>Wed, 04 Nov 2009 13:21:16 GMT</pubDate>
			<description>Hello, 
         I wish to get the code to pass the log in information (i.e server name,pass word etc) as parameter at the time of calling report 
                Now its asking (user name ,password) before going to the report page each time .please help me.</description>
			<content:encoded><![CDATA[<div>Hello,<br />
         I wish to get the code to pass the log in information (i.e server name,pass word etc) as parameter at the time of calling report<br />
                Now its asking (user name ,password) before going to the report page each time .please help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>shine_jose</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235968.html</guid>
		</item>
		<item>
			<title>Web form</title>
			<link>http://www.daniweb.com/forums/thread235965.html</link>
			<pubDate>Wed, 04 Nov 2009 13:05:38 GMT</pubDate>
			<description>I need the code for a web form containing check boxes, drop down lists,radio buttons using c#.</description>
			<content:encoded><![CDATA[<div>I need the code for a web form containing check boxes, drop down lists,radio buttons using c#.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>RAMAN2233</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235965.html</guid>
		</item>
		<item>
			<title>Application Homepage with Favorites</title>
			<link>http://www.daniweb.com/forums/thread235958.html</link>
			<pubDate>Wed, 04 Nov 2009 12:45:19 GMT</pubDate>
			<description><![CDATA[I'm developing a program that will have a tree control that will aloow the user to navigate around the application. There will be over 50 nodes on the tree from adding, editing & Listing Customers, Items, Invoices, Credit Memos etc. I have a main page that when the user logs in they arrive at their...]]></description>
			<content:encoded><![CDATA[<div>I'm developing a program that will have a tree control that will aloow the user to navigate around the application. There will be over 50 nodes on the tree from adding, editing &amp; Listing Customers, Items, Invoices, Credit Memos etc. I have a main page that when the user logs in they arrive at their homepage of the application. Let's say be on the Customer Listing page and they use this page daily, instead of clicking through the tree control looking for the node I would like the user to be able to add the Customer Listing page to their homepage as an icon or a text description saying &quot;Customer Listing&quot;. This will allow for the user to be able to save all their most accessed pages to their homepage for easy access everytime they login or navigate back to the homepage. Does anyone have an example they can share or any information? I am using VB code.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Stretcher75</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235958.html</guid>
		</item>
		<item>
			<title>Stylish Tabs with Submenu</title>
			<link>http://www.daniweb.com/forums/thread235949.html</link>
			<pubDate>Wed, 04 Nov 2009 12:16:20 GMT</pubDate>
			<description>Can some provide with helpful link in designing a Tab control with sub menu.</description>
			<content:encoded><![CDATA[<div>Can some provide with helpful link in designing a Tab control with sub menu.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Pankaj18</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235949.html</guid>
		</item>
		<item>
			<title>How to use NUnit testing framwork in MVC?</title>
			<link>http://www.daniweb.com/forums/thread235948.html</link>
			<pubDate>Wed, 04 Nov 2009 12:13:36 GMT</pubDate>
			<description>Sir, 
 
I am using MVC project and in that for testing purpose i am using NUnit frame work. 
which steps should be followed for NUnit? 
and How to solve that errors? 
 
Thanks,</description>
			<content:encoded><![CDATA[<div>Sir,<br />
<br />
I am using MVC project and in that for testing purpose i am using NUnit frame work.<br />
which steps should be followed for NUnit?<br />
and How to solve that errors?<br />
<br />
Thanks,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ashtej</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235948.html</guid>
		</item>
		<item>
			<title>UserControl postback problem</title>
			<link>http://www.daniweb.com/forums/thread235944.html</link>
			<pubDate>Wed, 04 Nov 2009 11:58:41 GMT</pubDate>
			<description><![CDATA[Hi All! 
 
Im having a problem regarding PostBack issues. Ive got a user control (WebUserControl1.ascx) which dynamically creates labels according to the value it is set from the Default.aspx page. 
 
Code In  Default.aspx.cs 
  <div class="codeblock"> <div class="spaced"> <div style="float:right;...]]></description>
			<content:encoded><![CDATA[<div>Hi All!<br />
<br />
Im having a problem regarding PostBack issues. Ive got a user control (WebUserControl1.ascx) which dynamically creates labels according to the value it is set from the Default.aspx page.<br />
<br />
Code In  Default.aspx.cs<br />
 <pre style="margin:20px; line-height:13px">public partial class _Default : System.Web.UI.Page<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; WebUserControl1 _control = new WebUserControl1();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Page_Init(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _control = Page.LoadControl(&quot;WebUserControl1.ascx&quot;) as WebUserControl1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _control.clickedEvent += new EventHandler(_control_clickedEvent);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Button1_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _control.Count = 5;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _control.clickedEvent += new EventHandler(_control_clickedEvent);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _control.draw();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PlaceHolder1.Controls.Add(_control);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void _control_clickedEvent(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Write(&quot;Test&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
Code In WebUserControl1.ascx.cs<br />
 <pre style="margin:20px; line-height:13px">public partial class WebUserControl1 : System.Web.UI.UserControl<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; public event EventHandler clickedEvent;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private int _count;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; public int Count<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get { return _count; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set { _count = value; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; public void draw()<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt;= _count; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Button button = new Button();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; button.Text = Convert.ToString(i);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; button.Click += new EventHandler(button_Click);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Panel1.Controls.Add(button);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; void button_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clickedEvent(this, e);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }</pre><br />
Now, on Default.aspx I have a button which creates the instance of a control and assigns the value to count which is then placed on the PlaceHolder. However when I click on the buttons (the ones dynamically created) the click event isnt firing, and the WebUserControl in Page_Init is set as null, meaning its losing its reference<br />
<br />
Can anyone help out please?<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Falzz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235944.html</guid>
		</item>
		<item>
			<title>Need Simple Progress Bar in asp.net</title>
			<link>http://www.daniweb.com/forums/thread235905.html</link>
			<pubDate>Wed, 04 Nov 2009 09:18:40 GMT</pubDate>
			<description><![CDATA[Hello Frnd's... 
 
Im doing one video project in that i want to convert videos so for that conversion process time i want to show a simple progress bar.I have put an gif image in image control but its not working fine.So can anyone tell me to do simple progress bar for that conversion...]]></description>
			<content:encoded><![CDATA[<div>Hello Frnd's...<br />
<br />
Im doing one video project in that i want to convert videos so for that conversion process time i want to show a simple progress bar.I have put an gif image in image control but its not working fine.So can anyone tell me to do simple progress bar for that conversion process...Awating for ur reply Experts <br />
<br />
Tks in Adv....<br />
<br />
Caleb05....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>samcaleb05</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235905.html</guid>
		</item>
		<item>
			<title>Help with insert statement</title>
			<link>http://www.daniweb.com/forums/thread235898.html</link>
			<pubDate>Wed, 04 Nov 2009 09:09:23 GMT</pubDate>
			<description><![CDATA[Can anyone help me with why my insert statement won't work? I have tried countless tutorials online, but I cannot figure out what I am doing wrong. Can anyone point me int the right direction here? Here is my form: 
 
form: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right;...]]></description>
			<content:encoded><![CDATA[<div>Can anyone help me with why my insert statement won't work? I have tried countless tutorials online, but I cannot figure out what I am doing wrong. Can anyone point me int the right direction here? Here is my form:<br />
<br />
form:<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeFile=&quot;form.aspx.cs&quot; Inherits=&quot;_form&quot; %&gt;<br />
&lt;%@ Import Namespace=&quot;System.Data.SqlClient&quot; %&gt;<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
<br />
&lt;script runat=&quot;server&quot;&gt;<br />
<br />
&nbsp;  <br />
&lt;/script&gt;<br />
<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
&lt;head runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;title&gt;Add Character&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &lt;h1&gt;Add&lt;/h1&gt;<br />
&nbsp; &nbsp; Identity:<br />
&nbsp; &nbsp; &lt;asp:TextBox ID=&quot;char_identity&quot; runat=&quot;server&quot; /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; Name:<br />
&nbsp; &nbsp; &lt;asp:TextBox ID=&quot;name&quot; runat=&quot;server&quot; /&gt;&lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &lt;asp:Button ID=&quot;add_char&quot; Text=&quot;Add Character&quot; runat=&quot;server&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onclick=&quot;add_char_Click&quot; /&gt;&lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &lt;asp:Label ID=&quot;dbErrorMessage&quot; ForeColor=&quot;Red&quot; runat=&quot;server&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre><br />
form (code-behind):<br />
 <pre style="margin:20px; line-height:13px">using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Data.SqlClient;<br />
using System.Configuration;<br />
<br />
public partial class _form : System.Web.UI.Page<br />
{<br />
&nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; }<br />
&nbsp;protected void add_char_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp;  SqlConnection conn;<br />
&nbsp; &nbsp;  SqlCommand comm;<br />
&nbsp; &nbsp;  string connectionString = ConfigurationManager.ConnectionStrings[&quot;smrpg&quot;].ConnectionString;<br />
&nbsp; &nbsp;  conn = new SqlConnection(connectionString);<br />
&nbsp; &nbsp;  comm = new SqlCommand(&quot;INSERT INTO scouts (charID, char_identity, name) VALUES (@charID, @char_identity, @name)&quot;, conn);<br />
&nbsp; &nbsp;  comm.Parameters.Add(&quot;@charID&quot;, System.Data.SqlDbType.Int);<br />
&nbsp; &nbsp;  comm.Parameters[&quot;@charID&quot;].Value = 10;<br />
&nbsp; &nbsp;  comm.Parameters.Add(&quot;@char_identity&quot;, System.Data.SqlDbType.NVarChar, 50);<br />
&nbsp; &nbsp;  comm.Parameters[&quot;@char_identity&quot;].Value = char_identity.Text;<br />
&nbsp; &nbsp;  comm.Parameters.Add(&quot;@name&quot;, System.Data.SqlDbType.NVarChar, 50);<br />
&nbsp; &nbsp;  comm.Parameters[&quot;@name&quot;].Value = name.Text;<br />
&nbsp; &nbsp;  try<br />
&nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp;  conn.Open();<br />
&nbsp; &nbsp; &nbsp; &nbsp;  comm.ExecuteNonQuery();<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Response.Redirect(&quot;repeater.aspx&quot;);<br />
&nbsp; &nbsp;  }<br />
&nbsp; &nbsp;  catch<br />
&nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp;  dbErrorMessage.Text = &quot;Error submitting the character! Please try again later, and/or change the entered data!&quot;;<br />
&nbsp; &nbsp;  }<br />
&nbsp; &nbsp;  finally<br />
&nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp;  conn.Close();<br />
&nbsp; &nbsp;  }<br />
&nbsp;}<br />
&nbsp; &nbsp; }</pre><br />
I have three fields:<br />
<br />
charID, int, allow null unchecked, primary key, is identity yes<br />
char_identity, nvarchar(50), allow null unchecked<br />
name, nvarchar(50), allow null unchecked<br />
<br />
What have I done wrong? I am connecting to the database and can display the records in the table, I just can't insert new records from a form for some reason. What am I doing wrong? It only displays my error message when I try to submit the form.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>twilitegxa</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235898.html</guid>
		</item>
		<item>
			<title>Export crystal report to excel</title>
			<link>http://www.daniweb.com/forums/thread235888.html</link>
			<pubDate>Wed, 04 Nov 2009 08:15:27 GMT</pubDate>
			<description>hai, 
        How to convert crystal report  to excel format (with correct alignment,lines and  every thing exactly like excel).please help me.</description>
			<content:encoded><![CDATA[<div>hai,<br />
        How to convert crystal report  to excel format (with correct alignment,lines and  every thing exactly like excel).please help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>shine_jose</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235888.html</guid>
		</item>
		<item>
			<title>databinding one webform with another</title>
			<link>http://www.daniweb.com/forums/thread235868.html</link>
			<pubDate>Wed, 04 Nov 2009 06:27:54 GMT</pubDate>
			<description>is there any code for databinding one webform with another? if so....plz post it in vb  
i need it urgently so plz help me</description>
			<content:encoded><![CDATA[<div>is there any code for databinding one webform with another? if so....plz post it in vb <br />
i need it urgently so plz help me</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mshravs</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235868.html</guid>
		</item>
		<item>
			<title>Contact form</title>
			<link>http://www.daniweb.com/forums/thread235829.html</link>
			<pubDate>Wed, 04 Nov 2009 02:52:00 GMT</pubDate>
			<description>How could I design the contact form in ASP.NET _VBScript_ that sends a message to my mail box. I would like to include in the form fields: *Name, Subject, Message* and the button *Send*.  
Is anyone could help me with that. please?:-/</description>
			<content:encoded><![CDATA[<div>How could I design the contact form in ASP.NET <span style="text-decoration:underline">VBScript</span> that sends a message to my mail box. I would like to include in the form fields: <span style="font-weight:bold">Name, Subject, Message</span> and the button <span style="font-weight:bold">Send</span>. <br />
Is anyone could help me with that. please?:-/</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>AlfredoIT</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235829.html</guid>
		</item>
		<item>
			<title>Print?</title>
			<link>http://www.daniweb.com/forums/thread235720.html</link>
			<pubDate>Tue, 03 Nov 2009 18:19:55 GMT</pubDate>
			<description><![CDATA[Hi i'm almost done with my project for our C# ASP.NET class but have just one thing left to do, and that is to print my datagrid view as is, with header included. Now i have absolutely no idea how to do this. I tried some javascript codes etc. but i'm getting nowhere. I'm filling my datagrid with a...]]></description>
			<content:encoded><![CDATA[<div>Hi i'm almost done with my project for our C# ASP.NET class but have just one thing left to do, and that is to print my datagrid view as is, with header included. Now i have absolutely no idea how to do this. I tried some javascript codes etc. but i'm getting nowhere. I'm filling my datagrid with a DataTable (coded myself). Any one have some suggestions?<br />
<br />
Thnx in advanced!:-/<br />
<br />
Note: I'm using a master page for all my pages!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>phoenix_dwarf</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235720.html</guid>
		</item>
		<item>
			<title>Query MS Access data based on week selection on Calendar control in Visual Studio</title>
			<link>http://www.daniweb.com/forums/thread235719.html</link>
			<pubDate>Tue, 03 Nov 2009 18:17:34 GMT</pubDate>
			<description><![CDATA[I'd like to select a week and pull data based on that week.  Data selection starts on line 616. 
 
Thanks. 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox"...]]></description>
			<content:encoded><![CDATA[<div>I'd like to select a week and pull data based on that week.  Data selection starts on line 616.<br />
<br />
Thanks.<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; Debug=&quot;True&quot; %&gt;<br />
<br />
&lt;%@ Register Assembly=&quot;Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot;<br />
&nbsp; &nbsp; Namespace=&quot;Microsoft.Reporting.WebForms&quot; TagPrefix=&quot;rsweb&quot; %&gt;<br />
<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;<br />
&lt;head runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;title&gt;Weekly Reprints&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;table style=&quot;width: 736px; height: 456px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;3&quot; style=&quot;height: 25px; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span style=&quot;font-size: 16pt&quot;&gt;&lt;strong&gt;Weekly Reprints&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;2&quot; style=&quot;width: 238px; height: 25px; text-align: left&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Calendar ID=&quot;Calendar1&quot; runat=&quot;server&quot; BackColor=&quot;White&quot; BorderColor=&quot;Black&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DayNameFormat=&quot;Shortest&quot; Font-Names=&quot;Times New Roman&quot; Font-Size=&quot;10pt&quot; ForeColor=&quot;Black&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Height=&quot;144px&quot; NextPrevFormat=&quot;FullMonth&quot; TitleFormat=&quot;Month&quot; Width=&quot;224px&quot; SelectionMode=&quot;DayWeek&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectedDayStyle BackColor=&quot;#CC3333&quot; ForeColor=&quot;White&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectorStyle BackColor=&quot;#CCCCCC&quot; Font-Bold=&quot;True&quot; Font-Names=&quot;Verdana&quot; Font-Size=&quot;8pt&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ForeColor=&quot;#333333&quot; Width=&quot;1%&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;TodayDayStyle BackColor=&quot;#CCCC99&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;OtherMonthDayStyle ForeColor=&quot;#999999&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;DayStyle Width=&quot;14%&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;NextPrevStyle Font-Size=&quot;8pt&quot; ForeColor=&quot;White&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;DayHeaderStyle BackColor=&quot;#CCCCCC&quot; Font-Bold=&quot;True&quot; Font-Size=&quot;7pt&quot; ForeColor=&quot;#333333&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Height=&quot;10pt&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;TitleStyle BackColor=&quot;Black&quot; Font-Bold=&quot;True&quot; Font-Size=&quot;13pt&quot; ForeColor=&quot;White&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Height=&quot;14pt&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:Calendar&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;2&quot; style=&quot;height: 25px; text-align: left; width: 249px;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Weekly Total Parts<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;3&quot; style=&quot;height: 288px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;table style=&quot;border-top-style: outset; border-right-style: outset; border-left-style: outset; border-bottom-style: outset&quot; border=&quot;1&quot; frame=&quot;border&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2009&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2008&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Goal&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; % Actual&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; % Goal&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +/- %&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Customer Service&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView1&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OT/Billing&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView2&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource2&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Preflight&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView3&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource8&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Manual Edit&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView4&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource4&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Proof Center&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView5&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource7&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Data&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView6&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource2&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Imprint&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView7&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource3&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Shipping&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView8&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource9&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 11&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Misc&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:FormView ID=&quot;FormView9&quot; runat=&quot;server&quot; DataSourceID=&quot;AccessDataSource5&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Update&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Update&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;UpdateCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EditItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dtDate:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;dtDateTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;dtDate&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ct:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;CtTextBox&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TextBox&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertButton&quot; runat=&quot;server&quot; CausesValidation=&quot;True&quot; CommandName=&quot;Insert&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Insert&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;InsertCancelButton&quot; runat=&quot;server&quot; CausesValidation=&quot;False&quot; CommandName=&quot;Cancel&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Cancel&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/InsertItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;CtLabel&quot; runat=&quot;server&quot; Text='&lt;%# Bind(&quot;Ct&quot;) %&gt;'&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:FormView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center; vertical-align: middle;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; vertical-align: middle; text-align: center;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td rowspan=&quot;2&quot; style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;2&quot; style=&quot;width: 238px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; background-color: aqua; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Line&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; background-color: aqua; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Parts&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; background-color: aqua; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Reprints&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; background-color: aqua; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; %&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 143px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ws-Social&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 143px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dm-Social&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 143px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ws-Xmas&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 143px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dm-Xmas&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 143px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Total&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;2&quot; style=&quot;width: 238px; height: 88px&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; background-color: aqua; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Orders&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; background-color: aqua; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Reprints&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; background-color: aqua; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; %&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style=&quot;width: 100px; text-align: center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource1&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpCs1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource2&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpData1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource3&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpImprint1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource4&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpMe1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource5&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpMisc1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource6&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpOt1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource7&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpPfCtr1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource8&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpPreflight1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AccessDataSource ID=&quot;AccessDataSource9&quot; runat=&quot;server&quot; DataFile=&quot;~/MPD.mdb&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT * FROM [qryRpShipping1] WHERE ([dtDate] = ?)&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter ControlID=&quot;Calendar1&quot; Name=&quot;dtDate&quot; PropertyName=&quot;SelectedDate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type=&quot;DateTime&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SelectParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:AccessDataSource&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>skwilliamson</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235719.html</guid>
		</item>
		<item>
			<title>Trying to compute total based on gridview items</title>
			<link>http://www.daniweb.com/forums/thread235655.html</link>
			<pubDate>Tue, 03 Nov 2009 13:09:58 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm actually trying to compute the total for my individual gridview items but I am reaching the dead end at the moment. 
 
I had an idea that probably I can specify another datasource for my total computation but was told that gridviews may only be bound to one datasource at a time. 
 
My...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm actually trying to compute the total for my individual gridview items but I am reaching the dead end at the moment.<br />
<br />
I had an idea that probably I can specify another datasource for my total computation but was told that gridviews may only be bound to one datasource at a time.<br />
<br />
My second idea simply tells me that, do I have to compute the total in the SQL statements itself as my SQL is already pretty complicated. Attached is how the gridview looks like and what I am trying to accomplish. <br />
<br />
I hope someone could actually guide me through this process. Thanks in advance<br />
<br />
Below is my ASP code:<br />
 <pre style="margin:20px; line-height:13px">&lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot; DataSourceID=&quot;SqlDataSource2&quot; BackColor=&quot;White&quot; BorderColor=&quot;#999999&quot; BorderStyle=&quot;Solid&quot; BorderWidth=&quot;1px&quot; CellPadding=&quot;5&quot; ForeColor=&quot;Black&quot; GridLines=&quot;Horizontal&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Columns&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TemplateField&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;%# Container.DataItemIndex + 1 %&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TemplateField&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;student_name&quot; HeaderText=&quot;Name&quot; SortExpression=&quot;student_name&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;student_number&quot; HeaderText=&quot;Student ID&quot; SortExpression=&quot;student_number&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;student_email&quot; HeaderText=&quot;Student Email&quot; SortExpression=&quot;student_email&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;course_name&quot; HeaderText=&quot;Course&quot; SortExpression=&quot;course_name&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Columns&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;FooterStyle BackColor=&quot;#CCCCCC&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PagerStyle BackColor=&quot;#999999&quot; ForeColor=&quot;Black&quot; HorizontalAlign=&quot;Center&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectedRowStyle BackColor=&quot;#000099&quot; Font-Bold=&quot;True&quot; ForeColor=&quot;White&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;HeaderStyle BackColor=&quot;Black&quot; Font-Bold=&quot;True&quot; ForeColor=&quot;White&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;AlternatingRowStyle BackColor=&quot;#CCCCCC&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:GridView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:SqlDataSource ID=&quot;SqlDataSource2&quot; runat=&quot;server&quot; ConnectionString=&quot;&lt;%$ ConnectionStrings:markingConnectionString %&gt;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT&nbsp; &nbsp;  subject_id, student_id, student_name, student_number, student_email, course_name, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max((CASE WHEN RowNumber = 1 THEN total ELSE '' END)) AS hurdle1, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max((CASE WHEN RowNumber = 2 THEN total ELSE '' END)) AS hurdle2, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max((CASE WHEN RowNumber = 3 THEN total ELSE '' END)) AS hurdle3, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max((CASE WHEN RowNumber = 4 THEN total ELSE '' END)) AS hurdle4, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max((CASE WHEN RowNumber = 5 THEN total ELSE '' END)) AS hurdle5<br />
FROM&nbsp; &nbsp; &nbsp; &nbsp;  (SELECT&nbsp; &nbsp;  Student.student_id, Student.student_name, Student.student_number, Course.course_name, Student.student_email, Subject.subject_id, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ROW_NUMBER() OVER (PARTITION BY Student.student_id<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ORDER BY Student.student_id) AS RowNumber, SUM(Marks.marks_value) * Hurdle.hurdle_weight / 100 AS total<br />
FROM&nbsp; &nbsp; &nbsp; &nbsp;  Marks INNER JOIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Student ON Marks.student_id = Student.student_id INNER JOIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Class ON Student.student_id = Class.student_id INNER JOIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Subject ON Class.subject_id = Subject.subject_id INNER JOIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Course ON Student.course_id = Course.course_id INNER JOIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MarkingCriteria ON Marks.criteria_id = MarkingCriteria.criteria_id INNER JOIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AssessmentComponent ON MarkingCriteria.component_id = AssessmentComponent.component_id INNER JOIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Hurdle ON AssessmentComponent.hurdle_id = Hurdle.hurdle_id<br />
GROUP BY Hurdle.hurdle_id, Hurdle.hurdle_weight, Student.student_id, Student.student_name, Student.student_number, Student.student_email, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Course.course_name, Subject.subject_id) AS derive<br />
GROUP BY subject_id, student_id, student_name, student_number, student_email, course_name&quot; FilterExpression=&quot;subject_id = '{0}'&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;FilterParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ControlParameter Name=&quot;Subject&quot; ControlID=&quot;dropdown_subjectCode&quot; PropertyName=&quot;SelectedValue&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/FilterParameters&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:SqlDataSource&gt;</pre><br />
<br />
Below is my code-behind file:<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; string selectedValue = dropdown_subjectCode.SelectedValue.ToString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Clear();<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; GridView1.DataBind();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; BoundField boundField = new BoundField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.DataField = &quot;student_name&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.HeaderText = &quot;Name&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Add(boundField);<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField = new BoundField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.DataField = &quot;student_number&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.HeaderText = &quot;Student ID&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Add(boundField);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField = new BoundField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.DataField = &quot;student_email&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.HeaderText = &quot;Student Email&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Add(boundField);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField = new BoundField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.DataField = &quot;course_name&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; boundField.HeaderText = &quot;Course&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Add(boundField);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; db.getHurdleCount(dropdown_subjectCode.SelectedValue.ToString()); i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BoundField bf = new BoundField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string hurdleField = &quot;hurdle&quot; + (i + 1);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bf.DataField = hurdleField;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bf.HeaderText = &quot;Hurdle &quot; + (i + 1) + &quot; Marks&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Add(bf);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (db.getHurdleCount(dropdown_subjectCode.SelectedValue.ToString()) &gt; 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BoundField bf = new BoundField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bf.DataField = &quot;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bf.HeaderText = &quot;Total Marks&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Add(bf);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bf = new BoundField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bf.DataField = &quot;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bf.HeaderText = &quot;Grade&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GridView1.Columns.Add(bf);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre></div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12440&amp;d=1257253779" target="_blank">smtg.PNG</a> (5.9 KB)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dfs3000my</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235655.html</guid>
		</item>
		<item>
			<title>Textbox text changed and js confirmbox</title>
			<link>http://www.daniweb.com/forums/thread235647.html</link>
			<pubDate>Tue, 03 Nov 2009 12:22:54 GMT</pubDate>
			<description><![CDATA[I have multiple textboxs which are created dynamically in page_load. 
TextBox tb = new TextBox(); 
tb.id = "ID1"; 
tb.text = GetfromDB(); 
tb.TextChanged +=new EventHandler(tb_TextChanged); 
 
Now i want to add a javascript confirmbox as 
tb.Attributes.Add("onchange","java_script:return...]]></description>
			<content:encoded><![CDATA[<div>I have multiple textboxs which are created dynamically in page_load.<br />
TextBox tb = new TextBox();<br />
tb.id = &quot;ID1&quot;;<br />
tb.text = GetfromDB();<br />
tb.TextChanged +=new EventHandler(tb_TextChanged);<br />
<br />
Now i want to add a javascript confirmbox as<br />
tb.Attributes.Add(&quot;onchange&quot;,&quot;javascript<b></b>:return confirm('Data has Changed. Click OK To Continue');&quot;);<br />
<br />
If the user clicks ok then continue to tb_TextChanged function and if user clicks cancel i want to restore the previous value of textbox.<br />
How can i write the javascript function?<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>babashankar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235647.html</guid>
		</item>
		<item>
			<title>Displaying no of column in a database</title>
			<link>http://www.daniweb.com/forums/thread235628.html</link>
			<pubDate>Tue, 03 Nov 2009 11:15:45 GMT</pubDate>
			<description>please, I want a sql query that will return the no of fields in a database as an integer 
 
example 
i have table student 
columns are 
regno 
surname  
othername</description>
			<content:encoded><![CDATA[<div>please, I want a sql query that will return the no of fields in a database as an integer<br />
<br />
example<br />
i have table student<br />
columns are<br />
regno<br />
surname <br />
othername<br />
<br />
<br />
I want my result to be 3<br />
<br />
what do i do??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>omotoyosi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235628.html</guid>
		</item>
		<item>
			<title>Crystal Report Best Practice Question</title>
			<link>http://www.daniweb.com/forums/thread235617.html</link>
			<pubDate>Tue, 03 Nov 2009 10:37:26 GMT</pubDate>
			<description>Hello All; 
 
I have got a task regarding parameter passing to Crystal Report via Crystal Report, I would like to find best way to achieve it. 
 
Imagine that I have got parameterized and non reports-parameterized. I am developing a report manager that will enable users to subscribe to the reports...</description>
			<content:encoded><![CDATA[<div>Hello All;<br />
<br />
I have got a task regarding parameter passing to Crystal Report via Crystal Report, I would like to find best way to achieve it.<br />
<br />
Imagine that I have got parameterized and non reports-parameterized. I am developing a report manager that will enable users to subscribe to the reports and schedule them with their parameters. I have got a subscription web page with the list of reports. When a user wants to subscribe to a report and schedule it, if there is no parameter in the report, it is fine but  if there is any parameter that needs to be passed to the report(which we can find from rpt file),  user should be able to enter these parameters values via a panel in the page. and I will save those parameters' values to the database. <br />
<br />
Effectively, I need to create a parameter entry panel to get the parameters and save them to the database with their type, value and so on, then I need to use these parameters programmatically for exporting reports to the different file formats.<br />
<br />
Basically, I must develop parameter entry panel run time in accordance with the parameter types that the corresponding report has.<br />
<br />
Does anyone have any idea what the best way is to achieve it?<br />
<br />
<br />
<br />
Thanks for your help from now on and please ask for further clarification if needed/<br />
<br />
<br />
<br />
Kind Regards.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mkosucu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235617.html</guid>
		</item>
		<item>
			<title>Update.......</title>
			<link>http://www.daniweb.com/forums/thread235611.html</link>
			<pubDate>Tue, 03 Nov 2009 10:24:28 GMT</pubDate>
			<description><![CDATA[plz help me ,i have to  update a table "temp" where a temp_id is dyanamically change by 1 everytime and there are another table "Master" which contains id(int) and user_id(varchar). User_id is like 'FMS00' and the temp_id is dynamicaly change using code ..... and store into 'id' also and the...]]></description>
			<content:encoded><![CDATA[<div>plz help me ,i have to  update a table &quot;temp&quot; where a temp_id is dyanamically change by 1 everytime and there are another table &quot;Master&quot; which contains id(int) and user_id(varchar). User_id is like 'FMS00' and the temp_id is dynamicaly change using code ..... and store into 'id' also and the user_id is changed to FMS001 , FMS002 and so on... <br />
<br />
This has to be done using ASP.NET using C#.<br />
<br />
Plz give me some coding for that.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mca.mdebnath</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235611.html</guid>
		</item>
		<item>
			<title>regarding searching the sqldatabase using asp</title>
			<link>http://www.daniweb.com/forums/thread235603.html</link>
			<pubDate>Tue, 03 Nov 2009 09:55:44 GMT</pubDate>
			<description><![CDATA[here i have to search the database according to serial no and show the information of that serial no 
the problem here everything is fine and  
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>here i have to search the database according to serial no and show the information of that serial no<br />
the problem here everything is fine and <br />
 <pre style="margin:20px; line-height:13px">&nbsp; Dim a As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim b As Boolean<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim dr As SqlDataReader<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim ConnStr As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; ConnStr = ConfigurationManager.ConnectionStrings(&quot;gate&quot;).ConnectionString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim conn As New SqlConnection(ConnStr)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim command As New SqlCommand(&quot;select * from visitors_pass&quot;, conn)<br />
&nbsp; &nbsp; &nbsp; &nbsp; dr = command.ExecuteReader<br />
&nbsp; &nbsp; &nbsp; &nbsp; b = False<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; a = Integer.Parse(TextBox1.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; While dr.Read()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If (a = dr(0)) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:Red">&nbsp; default4.label2.text = dr(0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; default4.label4.text = dr(1)</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; b = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dr.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; conn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(&quot;default4.aspx&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exit While<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; End While<br />
&nbsp; &nbsp; &nbsp; &nbsp; MsgBox(&quot;enter the numeric value&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Focus()<br />
&nbsp; &nbsp; &nbsp; &nbsp; b = True<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If (b = False) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MsgBox(&quot;no data matching to this serial number is found&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; dr.Dispose()<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn.Dispose()<br />
&nbsp; &nbsp; &nbsp; &nbsp; dr.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = &quot;&quot;<br />
<br />
&nbsp; &nbsp; End Sub</pre>the error is it is saying that default4 is not declared even i created it <br />
if that is not the correct one then what is the correct one, plz help me thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mshravs</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235603.html</guid>
		</item>
		<item>
			<title>Need help on ASP.NET (Login Page)</title>
			<link>http://www.daniweb.com/forums/thread235546.html</link>
			<pubDate>Tue, 03 Nov 2009 03:53:36 GMT</pubDate>
			<description><![CDATA[I don't know why it kept appear this error: The name 'LogoutBT' does not exist in the current context. 
 
All my textboxes and buttons do not exist in the current context 
 
Please help me. Thanks. 
 
 
 
using System; 
using System.Data;]]></description>
			<content:encoded><![CDATA[<div>I don't know why it kept appear this error: The name 'LogoutBT' does not exist in the current context.<br />
<br />
All my textboxes and buttons do not exist in the current context<br />
<br />
Please help me. Thanks.<br />
<br />
<br />
<br />
using System;<br />
using System.Data;<br />
using System.Configuration;<br />
using System.Web;<br />
using System.Web.Security;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Web.UI.WebControls.WebParts;<br />
using System.Web.UI.HtmlControls;<br />
using System.Data.OleDb;<br />
<br />
<br />
<br />
public partial class _Default : System.Web.UI.Page<br />
{<br />
    DBConnect Connect = new DBConnect();<br />
    protected void Page_Load(object sender, EventArgs e)<br />
    {<br />
        <br />
        if ((string)Session[&quot;sFlag&quot;] == &quot;T&quot;)<br />
            <br />
        {<br />
              <br />
            LoggedIn();<br />
<br />
<br />
        }<br />
        else<br />
        {<br />
            Session[&quot;sName&quot;] = null;<br />
            Session[&quot;sUserName&quot;] = null;<br />
            Session[&quot;sAddress&quot;] = null;<br />
            Session[&quot;sCoContact&quot;] = null;<br />
            Session[&quot;sPIC&quot;] = null;<br />
            Session[&quot;sPICContact&quot;] = null;<br />
            Session[&quot;sFlag&quot;] = &quot;F&quot;;<br />
            passwordTB.Visible = true;<br />
            passwordTB.Text = &quot;&quot;;<br />
            usernameTB.Visible = true;<br />
            usernameTB.Text = &quot;&quot;;<br />
            usernameTB.Text = &quot;UserID:&quot;;<br />
            LogoutBT.Visible = false;<br />
            LoginBT.Visible = true;<br />
           <br />
       <br />
}<br />
    }<br />
<br />
<br />
<br />
    protected void LoginBT_Click(object sender, EventArgs e)<br />
    {<br />
        if (usernameTB.Text != &quot;&quot;)<br />
        {<br />
            if (passwordTB.Text != &quot;&quot;)<br />
            {<br />
                OleDbConnection mdb = new OleDbConnection();<br />
                OleDbCommand cmd;<br />
                OleDbDataReader rdr;<br />
                Connect.DBConnection(mdb);<br />
                mdb.Open();<br />
                string SQLinfo = &quot;SELECT * FROM Customers WHERE cUserName = '&quot; +<br />
                    usernameTB.Text.ToUpper() + &quot;'&quot;;<br />
                string SQLlog = &quot;INSERT INTO Log (lName,lLogIn) &quot; +<br />
                &quot;VALUES (@UserName, @Date)&quot;;<br />
                cmd = new OleDbCommand(SQLinfo, mdb);<br />
                rdr = cmd.ExecuteReader();<br />
                while (rdr.Read())<br />
                {<br />
                    if (passwordTB.Text == (string)rdr[&quot;cPassword&quot;])<br />
                    {<br />
                        Session[&quot;sName&quot;] = rdr[&quot;cName&quot;];<br />
                        Session[&quot;sUserName&quot;] = rdr[&quot;cUserName&quot;];<br />
                        Session[&quot;sAddress&quot;] = rdr[&quot;cCoAddress&quot;];<br />
                        Session[&quot;sCoContact&quot;] = rdr[&quot;cCoContact&quot;];<br />
                        Session[&quot;sPIC&quot;] = rdr[&quot;cPersonInCharge&quot;];<br />
                        Session[&quot;sPICContact&quot;] = rdr[&quot;cPICContact&quot;];<br />
                        Session[&quot;sEmail&quot;] = rdr[&quot;cEmail&quot;];<br />
                        Session[&quot;sStatus&quot;] = rdr[&quot;cStatus&quot;];<br />
                        Session[&quot;sFlag&quot;] = &quot;T&quot;;<br />
                        rdr.Close();<br />
                        cmd = new OleDbCommand(SQLlog, mdb);<br />
                        cmd.Parameters.Add(&quot;@UserName&quot;, OleDbType.Char).Value = (string)Session[&quot;sCoName&quot;];<br />
                        cmd.Parameters.Add(&quot;@Date&quot;, OleDbType.Date).Value = DateTime.Now;<br />
                        cmd.ExecuteNonQuery();<br />
                        mdb.Close();<br />
                        LoggedIn();<br />
                        break;<br />
                    }<br />
                    else<br />
                    {<br />
                        rdr.Close();<br />
                        mdb.Close();<br />
                        usernameTB.Text = &quot;&quot;;<br />
                        passwordTB.Text = &quot;&quot;;<br />
                        Response.Write(&quot;&lt;script&gt;alert('Error signing in')&lt;/script&gt;&quot;);<br />
                        break;<br />
                    }<br />
                }<br />
                mdb.Close();<br />
            }<br />
            else<br />
            {<br />
                passwordTB.Focus();<br />
                Response.Write(&quot;&lt;script&gt;alert('Please enter your password')&lt;/script&gt;&quot;);<br />
            }<br />
        }<br />
        else<br />
        {<br />
            usernameTB.Focus();<br />
            Response.Write(&quot;&lt;script&gt;alert('Please enter your UserID')&lt;/script&gt;&quot;);<br />
        }<br />
    }<br />
<br />
    protected void LogoutBT_Click(object sender, EventArgs e)<br />
    {<br />
        OleDbConnection mdb = new OleDbConnection();<br />
        OleDbCommand cmd;<br />
        Connect.DBConnection(mdb);<br />
        string SQLlog = &quot;UPDATE Log SET lLogOut = @Date WHERE lCoName = @Name&quot;;<br />
        cmd = new OleDbCommand(SQLlog, mdb);<br />
        cmd.Parameters.Add(&quot;@Date&quot;, OleDbType.Date).Value = DateTime.Now;<br />
        cmd.Parameters.Add(&quot;@Name&quot;, OleDbType.Char).Value = (string)Session[&quot;sUserName&quot;];<br />
        mdb.Open();<br />
        cmd.ExecuteNonQuery();<br />
        mdb.Close();<br />
        LoggedOut();<br />
    }<br />
    protected void LoggedOut()<br />
    {<br />
        Session[&quot;sName&quot;] = null;<br />
        Session[&quot;sUserName&quot;] = null;<br />
        Session[&quot;sAddress&quot;] = null;<br />
        Session[&quot;sCoContact&quot;] = null;<br />
        Session[&quot;sPIC&quot;] = null;<br />
        Session[&quot;sPICContact&quot;] = null;<br />
        Session[&quot;sFlag&quot;] = &quot;F&quot;;<br />
        passwordTB.Visible = true;<br />
        passwordTB.Text = &quot;&quot;;<br />
        usernameTB.Visible = true;<br />
        usernameTB.Text = &quot;&quot;;<br />
        usernameTB.Text = &quot;UserID:&quot;;<br />
        LogoutBT.Visible = false;<br />
        LoginBT.Visible = true;<br />
        Response.Redirect(&quot;OnlineRVform.aspx&quot;);<br />
    }<br />
    protected void LoggedIn()<br />
    {<br />
        passwordTB.Visible = false;<br />
        passwordTB.Text = &quot;&quot;;<br />
        usernameTB.Visible = false;<br />
        usernameTB.Text = &quot;&quot;;<br />
        usernameTB.Text = (string)Session[&quot;sPIC&quot;];<br />
        LogoutBT.Visible = true;<br />
        LoginBT.Visible = false;<br />
<br />
    }</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Kristysos</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235546.html</guid>
		</item>
		<item>
			<title>Any Simple Code for binding data with gridview?</title>
			<link>http://www.daniweb.com/forums/thread235516.html</link>
			<pubDate>Tue, 03 Nov 2009 01:16:27 GMT</pubDate>
			<description>Anyone can help me to give link or website / tutorial about binding data with gridview ??....</description>
			<content:encoded><![CDATA[<div>Anyone can help me to give link or website / tutorial about binding data with gridview ??....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>diru</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235516.html</guid>
		</item>
		<item>
			<title>Getting ComboBox Value</title>
			<link>http://www.daniweb.com/forums/thread235463.html</link>
			<pubDate>Mon, 02 Nov 2009 20:27:40 GMT</pubDate>
			<description><![CDATA[Hello guys, 
i'm using Windows Application C# 
i want to get a comboBox value which in Form1 from Form2 
ex. 
in the form1 i have comboBox1 + Button, now after clicking that button i'm moving to form2 
in the form2 i want to load some information from DB depending on the ComboBox1 value which in...]]></description>
			<content:encoded><![CDATA[<div>Hello guys,<br />
i'm using Windows Application C#<br />
i want to get a comboBox value which in Form1 from Form2<br />
ex.<br />
in the form1 i have comboBox1 + Button, now after clicking that button i'm moving to form2<br />
in the form2 i want to load some information from DB depending on the ComboBox1 value which in form1<br />
so any help?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Moody1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235463.html</guid>
		</item>
		<item>
			<title>Custom Validation Check Duplicate Data</title>
			<link>http://www.daniweb.com/forums/thread235430.html</link>
			<pubDate>Mon, 02 Nov 2009 18:37:42 GMT</pubDate>
			<description><![CDATA[I'm still trying to get my validation to work correctly. So far if a user enters in a Salesman Code that exists in the database it displays the error message when tabbing off the field. The Salesman Code field is also required so I can't get this validator to work either with the customer validator...]]></description>
			<content:encoded><![CDATA[<div>I'm still trying to get my validation to work correctly. So far if a user enters in a Salesman Code that exists in the database it displays the error message when tabbing off the field. The Salesman Code field is also required so I can't get this validator to work either with the customer validator that checks duplicates. What I am looking for is when a user does not enter a Salesman Code for the error to appear and not let the user submit the form. If the user enters a Salesman Code that exists in the database the error message will be displayed and the user should not be allowed to submit the form. Any help or examples would be appreciated. Below is my code that I have using VB.<br />
<br />
Below is my aspx page:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;VB&quot; %&gt;&nbsp; <br />
&lt;%@ Register TagPrefix=&quot;custom&quot; Namespace=&quot;myControls&quot; %&gt;&nbsp; <br />
&lt;%@ Import Namespace=&quot;System.Data.SqlClient&quot; %&gt;&nbsp; <br />
&lt;%@ Import Namespace=&quot;System.Web.Configuration&quot; %&gt;&nbsp; <br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;&nbsp;  <br />
&nbsp;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;&nbsp; <br />
&lt;script runat=&quot;server&quot;&gt;&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; ''' Validation function that is called on both the client and server&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; Protected Sub AjaxValidator1_ServerValidate(ByVal source As Object, ByVal args As ServerValidateEventArgs)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; If Salesman_CodeExists(args.Value) Then&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; args.IsValid = False&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Else&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; args.IsValid = True&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.btnSubmit.Attributes.Add(&quot;onclick&quot;, &quot;alert('Please try a different Salesman Code!');return false;&quot;)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End If&nbsp;  <br />
&nbsp; &nbsp; End Sub&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; ''' &lt;summary&gt;&nbsp; <br />
&nbsp; &nbsp; ''' Returns true when user name already exists&nbsp;  <br />
&nbsp; &nbsp; ''' in Users database table&nbsp;  <br />
&nbsp; &nbsp; ''' &lt;/summary&gt;&nbsp; <br />
&nbsp; &nbsp; Private Function Salesman_CodeExists(ByVal Salesman_Code As String) As Boolean&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim conString As String = WebConfigurationManager.ConnectionStrings(&quot;PennerConnectionString&quot;).ConnectionString&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim con As New SqlConnection(conString)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New SqlCommand(&quot;SELECT COUNT(*) FROM tblSalesman WHERE Salesman_Code=@Salesman_Code&quot;, con)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd.Parameters.AddWithValue(&quot;@Salesman_Code&quot;, Salesman_Code)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim result As Boolean = False&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Using con&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Open()&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim count As Integer = CType(cmd.ExecuteScalar(), Integer)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If count &gt; 0 Then&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; result = True&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Else&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Using&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Return result&nbsp;  <br />
&nbsp; &nbsp; End Function&nbsp;  <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; ''' Insert new user name to Users database table&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim conString As String = WebConfigurationManager.ConnectionStrings(&quot;PennerConnectionString&quot;).ConnectionString&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim con As New SqlConnection(conString)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New SqlCommand(&quot;INSERT tblSalesman (Salesman_Code,Salesman_LastName) VALUES (@Salesman_Code,@Salesman_LastName)&quot;, con)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd.Parameters.AddWithValue(&quot;@Salesman_Code&quot;, txtSalesman_Code.Text)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd.Parameters.AddWithValue(&quot;@Salesman_LastName&quot;, txtSalesman_LastName.Text)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Using con&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Open()&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd.ExecuteNonQuery()&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Using&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; txtSalesman_Code.Text = String.Empty&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; txtSalesman_LastName.Text = String.Empty&nbsp;  <br />
&nbsp; &nbsp; End Sub&nbsp;  <br />
&lt;/script&gt;&nbsp; <br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;&nbsp; <br />
&lt;head id=&quot;Head1&quot; runat=&quot;server&quot;&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;title&gt;Show AjaxValidator&lt;/title&gt;&nbsp; <br />
&lt;/head&gt;&nbsp; <br />
&lt;body&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;div&gt;&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &lt;asp:Label&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;lblSalesman_Code&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Salesman Code:&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; AssociatedControlID=&quot;txtSalesman_Code&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;asp:TextBox&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;txtSalesman_Code&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;custom:AjaxValidator&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;AjaxValidator1&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ControlToValidate=&quot;txtSalesman_Code&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;User name already taken!&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; OnServerValidate=&quot;AjaxValidator1_ServerValidate&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &lt;br /&gt;&lt;br /&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;asp:Label&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;lblSalesman_LastName&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Last Name:&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; AssociatedControlID=&quot;txtSalesman_LastName&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;asp:TextBox&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;txtSalesman_LastName&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &lt;br /&gt;&lt;br /&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;asp:Button&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;btnSubmit&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Submit&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; OnClick=&quot;btnSubmit_Click&quot; /&gt;&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &lt;/div&gt;&nbsp; <br />
&nbsp; &nbsp; &lt;/form&gt;&nbsp; <br />
&lt;/body&gt;&nbsp; <br />
&lt;/html&gt;&nbsp; <br />
<br />
&lt;%@ Page Language=&quot;VB&quot; %&gt;<br />
&lt;%@ Register TagPrefix=&quot;custom&quot; Namespace=&quot;myControls&quot; %&gt;<br />
&lt;%@ Import Namespace=&quot;System.Data.SqlClient&quot; %&gt;<br />
&lt;%@ Import Namespace=&quot;System.Web.Configuration&quot; %&gt;<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br />
&nbsp;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;script runat=&quot;server&quot;&gt;<br />
<br />
<br />
&nbsp; &nbsp; ''' Validation function that is called on both the client and server<br />
<br />
&nbsp; &nbsp; Protected Sub AjaxValidator1_ServerValidate(ByVal source As Object, ByVal args As ServerValidateEventArgs)<br />
&nbsp; &nbsp; &nbsp; &nbsp; If Salesman_CodeExists(args.Value) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; args.IsValid = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; args.IsValid = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.btnSubmit.Attributes.Add(&quot;onclick&quot;, &quot;alert('Please try a different Salesman Code!');return false;&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; ''' &lt;summary&gt;<br />
&nbsp; &nbsp; ''' Returns true when user name already exists<br />
&nbsp; &nbsp; ''' in Users database table<br />
&nbsp; &nbsp; ''' &lt;/summary&gt;<br />
&nbsp; &nbsp; Private Function Salesman_CodeExists(ByVal Salesman_Code As String) As Boolean<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim conString As String = WebConfigurationManager.ConnectionStrings(&quot;PennerConnectionString&quot;).ConnectionString<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim con As New SqlConnection(conString)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New SqlCommand(&quot;SELECT COUNT(*) FROM tblSalesman WHERE Salesman_Code=@Salesman_Code&quot;, con)<br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd.Parameters.AddWithValue(&quot;@Salesman_Code&quot;, Salesman_Code)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim result As Boolean = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; Using con<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim count As Integer = CType(cmd.ExecuteScalar(), Integer)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If count &gt; 0 Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; result = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; End Using<br />
&nbsp; &nbsp; &nbsp; &nbsp; Return result<br />
&nbsp; &nbsp; End Function<br />
<br />
<br />
&nbsp; &nbsp; ''' Insert new user name to Users database table<br />
<br />
&nbsp; &nbsp; Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim conString As String = WebConfigurationManager.ConnectionStrings(&quot;PennerConnectionString&quot;).ConnectionString<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim con As New SqlConnection(conString)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New SqlCommand(&quot;INSERT tblSalesman (Salesman_Code,Salesman_LastName) VALUES (@Salesman_Code,@Salesman_LastName)&quot;, con)<br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd.Parameters.AddWithValue(&quot;@Salesman_Code&quot;, txtSalesman_Code.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; cmd.Parameters.AddWithValue(&quot;@Salesman_LastName&quot;, txtSalesman_LastName.Text)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Using con<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd.ExecuteNonQuery()<br />
&nbsp; &nbsp; &nbsp; &nbsp; End Using<br />
&nbsp; &nbsp; &nbsp; &nbsp; txtSalesman_Code.Text = String.Empty<br />
&nbsp; &nbsp; &nbsp; &nbsp; txtSalesman_LastName.Text = String.Empty<br />
&nbsp; &nbsp; End Sub<br />
&lt;/script&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;<br />
&lt;head id=&quot;Head1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;title&gt;Show AjaxValidator&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;div&gt;<br />
<br />
&nbsp; &nbsp; &lt;asp:Label<br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;lblSalesman_Code&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Salesman Code:&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; AssociatedControlID=&quot;txtSalesman_Code&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;<br />
&nbsp; &nbsp; &lt;asp:TextBox<br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;txtSalesman_Code&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;<br />
&nbsp; &nbsp; &lt;custom:AjaxValidator<br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;AjaxValidator1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; ControlToValidate=&quot;txtSalesman_Code&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;User name already taken!&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; OnServerValidate=&quot;AjaxValidator1_ServerValidate&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &lt;asp:Label<br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;lblSalesman_LastName&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Last Name:&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; AssociatedControlID=&quot;txtSalesman_LastName&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;<br />
&nbsp; &nbsp; &lt;asp:TextBox<br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;txtSalesman_LastName&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &lt;asp:Button<br />
&nbsp; &nbsp; &nbsp; &nbsp; id=&quot;btnSubmit&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Submit&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Runat=&quot;server&quot; OnClick=&quot;btnSubmit_Click&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre><br />
<br />
Below is my AjaxValidator.vb file:<br />
<br />
 <pre style="margin:20px; line-height:13px">Imports System&nbsp;  <br />
Imports System.Web&nbsp;  <br />
Imports System.Web.UI&nbsp;  <br />
Imports System.Web.UI.WebControls&nbsp;  <br />
&nbsp; <br />
Namespace myControls&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; ''' &lt;summary&gt;&nbsp;  <br />
&nbsp; &nbsp; ''' Enables you to perform custom validation on both the client and server&nbsp;  <br />
&nbsp; &nbsp; ''' &lt;/summary&gt;&nbsp;  <br />
&nbsp; &nbsp; Public Class AjaxValidator&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Inherits BaseValidator&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Implements ICallbackEventHandler&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Public Event ServerValidate As ServerValidateEventHandler&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim _controlToValidateValue As String&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Protected Overrides Sub OnPreRender(ByVal e As EventArgs)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim eventRef As String = Page.ClientScript.GetCallbackEventReference(Me, &quot;&quot;, &quot;&quot;, &quot;&quot;)&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Register include file&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim includeScript As String = Page.ResolveClientUrl(&quot;~/js/AjaxValidator.js&quot;)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Page.ClientScript.RegisterClientScriptInclude(&quot;AjaxValidator&quot;, includeScript)&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Register startup script&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim startupScript As String = String.Format(&quot;document.getElementById('{0}').evaluationfunction = 'AjaxValidatorEvaluateIsValid'&quot;, Me.ClientID)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Page.ClientScript.RegisterStartupScript(Me.GetType(), &quot;AjaxValidator&quot;, startupScript, True)&nbsp;  <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MyBase.OnPreRender(e)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Sub&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' Only do the AJAX call on browsers that support it&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;/summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Protected Overrides Function DetermineRenderUplevel() As Boolean&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return Context.Request.Browser.SupportsCallback&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Function&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' Server method called by client AJAX call&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;/summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Public Function GetCallbackResult() As String Implements ICallbackEventHandler.GetCallbackResult&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return ExecuteValidationFunction(_controlToValidateValue).ToString()&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Function&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' Return callback result to client&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;/summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Public Sub RaiseCallbackEvent(ByVal eventArgument As String) Implements ICallbackEventHandler.RaiseCallbackEvent&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _controlToValidateValue = eventArgument&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Sub&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' Server-side method for validation&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;/summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Protected Overrides Function EvaluateIsValid() As Boolean&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim controlToValidateValue As String = Me.GetControlValidationValue(Me.ControlToValidate)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return ExecuteValidationFunction(controlToValidateValue)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Function&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' Performs the validation for both server and client&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ''' &lt;/summary&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; Private Function ExecuteValidationFunction(ByVal controlToValidateValue As String) As Boolean&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim args As New ServerValidateEventArgs(controlToValidateValue, Me.IsValid)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RaiseEvent ServerValidate(Me, args)&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return args.IsValid&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; End Function&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; End Class&nbsp; <br />
&nbsp; <br />
End Namespace</pre><br />
<br />
Below is my AjaxValidator.js file:<br />
<br />
 <pre style="margin:20px; line-height:13px">// Performs AJAX call back to server&nbsp;  <br />
function AjaxValidatorEvaluateIsValid(val) {&nbsp;  <br />
&nbsp; &nbsp; var value = ValidatorGetValue(val.controltovalidate);&nbsp;  <br />
&nbsp; &nbsp; WebForm_DoCallback(val.id, value, AjaxValidatorResult, val,&nbsp;  <br />
AjaxValidatorError, true);&nbsp;  <br />
&nbsp; &nbsp; return true;&nbsp;  <br />
}&nbsp;  <br />
&nbsp; <br />
// Called when result is returned from server&nbsp;  <br />
function AjaxValidatorResult(returnValue, context) {&nbsp;  <br />
&nbsp; &nbsp; if (returnValue == 'True')&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; context.isvalid = true;&nbsp;  <br />
&nbsp; &nbsp; else&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; context.isvalid = false;&nbsp;  <br />
&nbsp; &nbsp; ValidatorUpdateDisplay(context);&nbsp;  <br />
}&nbsp;  <br />
&nbsp; <br />
// If there is an error, show it&nbsp;  <br />
function AjaxValidatorError(message) {&nbsp;  <br />
&nbsp; &nbsp; alert('Error: ' + message);&nbsp; &nbsp; <br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Stretcher75</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235430.html</guid>
		</item>
		<item>
			<title>redirecting back to referrer page in asp.net</title>
			<link>http://www.daniweb.com/forums/thread235382.html</link>
			<pubDate>Mon, 02 Nov 2009 15:01:15 GMT</pubDate>
			<description><![CDATA[I have a link on page 1 if clicked take u to page 2 
 
and page 2 if u click okay it should take u back to page  
 
but when I use this on page 2 to: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>I have a link on page 1 if clicked take u to page 2<br />
<br />
and page 2 if u click okay it should take u back to page <br />
<br />
but when I use this on page 2 to:<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ViewState[&quot;back&quot;] = Request.UrlReferrer;</pre>it returns null,<br />
<br />
how do I fix this<br />
<br />
on page 1:<br />
 <pre style="margin:20px; line-height:13px">link_Click(Obj sender, EventArgs e)<br />
{<br />
Response.Redirect(&quot;page2.aspx?ID&quot; + row.cells[10].text)<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>capiono</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235382.html</guid>
		</item>
		<item>
			<title>need to check whether it is right</title>
			<link>http://www.daniweb.com/forums/thread235305.html</link>
			<pubDate>Mon, 02 Nov 2009 10:10:31 GMT</pubDate>
			<description><![CDATA[i'm working on asp, vs2005. I should save the typed information in sql server. I connected and written the code in the following way  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>i'm working on asp, vs2005. I should save the typed information in sql server. I connected and written the code in the following way <pre style="margin:20px; line-height:13px"> Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim ConnStr As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim visitors_name, officer_to_visit, purpose, date_of_visit, time_in As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim serial_no, year, floor As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; ConnStr = ConfigurationManager.ConnectionStrings(&quot;gate&quot;).ConnectionString()<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim conn As New SqlConnection(ConnStr)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; serial_no = serialno.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; year = years.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; visitors_name = visitorsname.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; officer_to_visit = officertovisit.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; purpose = pur.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; date_of_visit = dateofvisit.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; floor = wing.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; time_in = timein.Text<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim adapter As New SqlClient.SqlDataAdapter(&quot;select serial_no,year,visitors_name,officer_to_visit,purpose,date_of_visit,floor,time_in,time_out from visitors_pass&quot;, conn)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim insert As New SqlClient.SqlCommand(&quot;insert into visitors_pass (serial_no,year,visitors_name,officer_to_visit,purpose,date_of_visit,floor,time_in,time_out) Values('&quot; &amp; serial_no &amp; &quot;' ,'&quot; &amp; year &amp; &quot;', '&quot; &amp; visitors_name &amp; &quot;','&quot; &amp; officer_to_visit &amp; &quot;','&quot; &amp; purpose &amp; &quot;','&quot; &amp; floor &amp; &quot;','&quot; &amp; date_of_visit &amp; &quot;','&quot; &amp; time_in &amp; &quot;')&quot;, conn)<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; insert.ExecuteNonQuery()<br />
&nbsp; &nbsp; &nbsp; &nbsp; conn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; WriteLine(&quot;record saved&quot;)<br />
<br />
<br />
<br />
&nbsp; &nbsp; End Sub</pre>but when i run it is showing an exceptional like <br />
System.FormatException: Input string was not in a correct format.<br />
and pointing towards <br />
serial_no = serialno.Text<br />
<br />
anyone plz can you tell where the error occured in the code and rectify it. I need it very urgently</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mshravs</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235305.html</guid>
		</item>
		<item>
			<title>open the pdf and doc files as readonly</title>
			<link>http://www.daniweb.com/forums/thread235303.html</link>
			<pubDate>Mon, 02 Nov 2009 10:04:37 GMT</pubDate>
			<description><![CDATA[Hi.... i need help in opening a pdf file and document file in readonly mode. besides the user should not be able to save or print the document that is being opened.  
 
i open the document with the extension  
 
Response.Redirect("File Location with file name") 
 
it is opening the dialog box for...]]></description>
			<content:encoded><![CDATA[<div>Hi.... i need help in opening a pdf file and document file in readonly mode. besides the user should not be able to save or print the document that is being opened. <br />
<br />
i open the document with the extension <br />
<br />
Response.Redirect(&quot;File Location with file name&quot;)<br />
<br />
it is opening the dialog box for save/open/ cancel whereas i am suppose to open it as a read only document.<br />
<br />
please help... thanks for ur time...<br />
<br />
Regards,<br />
deepnu!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>deepnu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235303.html</guid>
		</item>
		<item>
			<title>session varible from 1 page to another</title>
			<link>http://www.daniweb.com/forums/thread235277.html</link>
			<pubDate>Mon, 02 Nov 2009 07:50:11 GMT</pubDate>
			<description><![CDATA[Hi alll...... 
 
 
i am trying out a login form where in which  i have multiple users... i have redirect each user to differnt pages..... 
 
....but im stuck in the middle....... please help me out..... 
 
<code> 
 
page1]]></description>
			<content:encoded><![CDATA[<div>Hi alll......<br />
<br />
<br />
i am trying out a login form where in which  i have multiple users... i have redirect each user to differnt pages.....<br />
<br />
....but im stuck in the middle....... please help me out.....<br />
<br />
&lt;code&gt;<br />
<br />
page1<br />
<br />
session[&quot;user&quot;]=txtuser.text<br />
<br />
page2<br />
<br />
welcome text(A label which is used to specify the current user)<br />
<br />
Thank u all in advance:<br />
<br />
<br />
Nikichu</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>nikichu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235277.html</guid>
		</item>
		<item>
			<title>vb.net: How to check or uncheck all chekboxes by clicking only one checkbox.</title>
			<link>http://www.daniweb.com/forums/thread235267.html</link>
			<pubDate>Mon, 02 Nov 2009 06:49:15 GMT</pubDate>
			<description>Hi 
I have a datagirdview with a checkbox placed in header.How can i check or uncheck all checkboxes by clicking on checkbox that is in header.</description>
			<content:encoded><![CDATA[<div>Hi<br />
I have a datagirdview with a checkbox placed in header.How can i check or uncheck all checkboxes by clicking on checkbox that is in header.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>fawadkhalil</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235267.html</guid>
		</item>
		<item>
			<title>retrieve dataset value</title>
			<link>http://www.daniweb.com/forums/thread235144.html</link>
			<pubDate>Sun, 01 Nov 2009 18:03:49 GMT</pubDate>
			<description><![CDATA[Hi to all, 
 
I am using dataset to retrieve value from dataset but I can't do it, control automatically goes to next sentence without retrieving any value..  
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi to all,<br />
<br />
I am using dataset to retrieve value from dataset but I can't do it, control automatically goes to next sentence without retrieving any value.. <br />
 <pre style="margin:20px; line-height:13px"> Dim scd As Integer = ds.Tables(&quot;collage_detail&quot;).Rows(x)(&quot;sc&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cd As Integer = ds.Tables(&quot;collage_detail&quot;).Rows(x)(&quot;c_id&quot;)</pre><br />
collage_detail is my table name .</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>sakhi kul</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235144.html</guid>
		</item>
		<item>
			<title>Online registration</title>
			<link>http://www.daniweb.com/forums/thread235107.html</link>
			<pubDate>Sun, 01 Nov 2009 14:23:29 GMT</pubDate>
			<description>Hello, 
         Anybody help me to develop a web page for online registration with asp.net and sql server...plz</description>
			<content:encoded><![CDATA[<div>Hello,<br />
         Anybody help me to develop a web page for online registration with asp.net and sql server...plz</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>prathmanu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235107.html</guid>
		</item>
		<item>
			<title>Help``thanks`</title>
			<link>http://www.daniweb.com/forums/thread235026.html</link>
			<pubDate>Sun, 01 Nov 2009 06:57:26 GMT</pubDate>
			<description>i got a problem in c#/asp.net 
i m making a encrypt/client and decrypt/server   
password verification. 
first, 
client got the public-key generated by RSACryptoServiceProvider 
from server and  
encrypt content by using javascript. 
and then server receives this encrypted-content to  
decrypt by...</description>
			<content:encoded><![CDATA[<div>i got a problem in c#/asp.net<br />
i m making a encrypt/client and decrypt/server  <br />
password verification.<br />
first,<br />
client got the public-key generated by RSACryptoServiceProvider<br />
from server and <br />
encrypt content by using javascript.<br />
and then server receives this encrypted-content to <br />
decrypt by using RSACryptoServiceProvider/c#.<br />
but,what is the problem with RSACryptoServiceProvider keysize?<br />
it couldn't be less than 512? why?<br />
<br />
and my computer used javascript for encrypting is <br />
just supporting keysize less than 512.<br />
<br />
how shall i do?<br />
<br />
thanks in advanced``````</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>cockypig</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235026.html</guid>
		</item>
		<item>
			<title>Urgent:Expirable Link</title>
			<link>http://www.daniweb.com/forums/thread235023.html</link>
			<pubDate>Sun, 01 Nov 2009 06:07:24 GMT</pubDate>
			<description><![CDATA[hi.. 
 
i want to knw how i can create a link to some website which is valid for 3 hours only..im building an app wher i need to send this link to a user with the page name in encrypted format n which will be expired in 3 hours.. 
 
forexample, 
 
www.abc.com/[some encrypted code for my file...]]></description>
			<content:encoded><![CDATA[<div>hi..<br />
<br />
i want to knw how i can create a link to some website which is valid for 3 hours only..im building an app wher i need to send this link to a user with the page name in encrypted format n which will be expired in 3 hours..<br />
<br />
forexample,<br />
<br />
<a rel="nofollow" class="t" href="http://www.abc.com/" target="_blank">www.abc.com/</a>[some encrypted code for my file name]..<br />
<br />
is it correct that i need to use cache to store it n then expire it in 3 hours?<br />
<br />
plz do reply soon frendz...its reli urgent...<br />
<br />
thanks in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>love_dude1984</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235023.html</guid>
		</item>
		<item>
			<title>Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function</title>
			<link>http://www.daniweb.com/forums/thread234984.html</link>
			<pubDate>Sat, 31 Oct 2009 22:30:22 GMT</pubDate>
			<description><![CDATA[Windows Server 2003 Standard Edition Service Pack 2 
SQL Server 2005 Standard 
VS 2008 
 
Hi everyone. I'm currently working on the following tutorial: http://www.asp.net/Learn/Security/tutorial-04-cs.aspx, but I get an error adding a SQL Server DB to the App_Data folder. 
I right click App_Data,...]]></description>
			<content:encoded><![CDATA[<div>Windows Server 2003 Standard Edition Service Pack 2<br />
SQL Server 2005 Standard<br />
VS 2008<br />
<br />
Hi everyone. I'm currently working on the following tutorial: <a rel="nofollow" class="t" href="http://www.asp.net/Learn/Security/tutorial-04-cs.aspx" target="_blank">http://www.asp.net/Learn/Security/tutorial-04-cs.aspx</a>, but I get an error adding a SQL Server DB to the App_Data folder.<br />
I right click App_Data, click Add New Item, SQL Server Database I get the following error:<br />
---------------------------<br />
Microsoft Visual Studio<br />
---------------------------<br />
Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly.  Please verify the installation of the component or download from the URL:  <a rel="nofollow" class="t" href="http://go.microsoft.com/fwlink/?LinkId=49251" target="_blank">http://go.microsoft.com/fwlink/?LinkId=49251</a><br />
---------------------------<br />
OK   Help   <br />
---------------------------<br />
I purposely didn't install SQL Server Express because I already had the standard edition installed. <br />
Does anyone know how to configure VS to use SQL Server 2005 instead of SSE?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>buddylee17</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234984.html</guid>
		</item>
		<item>
			<title>Login fail for sql server database</title>
			<link>http://www.daniweb.com/forums/thread234860.html</link>
			<pubDate>Sat, 31 Oct 2009 09:09:36 GMT</pubDate>
			<description><![CDATA[Hello Everyone, 
I am implementing an asp.net web site. I use sql membership provider. Some times when I am trying to connect with my database, It gives an error message "Login failed for user 'operator' ". Here operator is the account that I am using to connect Sql server using sql server...]]></description>
			<content:encoded><![CDATA[<div>Hello Everyone,<br />
I am implementing an asp.net web site. I use sql membership provider. Some times when I am trying to connect with my database, It gives an error message &quot;Login failed for user 'operator' &quot;. Here operator is the account that I am using to connect Sql server using sql server authentication. My web site is created in IIS. Please Help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>thilinam</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234860.html</guid>
		</item>
		<item>
			<title><![CDATA[Can't Recompile My Website]]></title>
			<link>http://www.daniweb.com/forums/thread234837.html</link>
			<pubDate>Sat, 31 Oct 2009 06:43:00 GMT</pubDate>
			<description><![CDATA[I'm a first time hoster, so I apologize for the novice question. When I'm working on my local computer, everything is fine, but I'm just having a problem on the hosting server.   
 
I use FileZilla to edit my website. When I edit the main page (.aspx), the system automatically recompiles the...]]></description>
			<content:encoded><![CDATA[<div>I'm a first time hoster, so I apologize for the novice question. When I'm working on my local computer, everything is fine, but I'm just having a problem on the hosting server.  <br />
<br />
I use FileZilla to edit my website. When I edit the main page (.aspx), the system automatically recompiles the changes and everything works fine. However, when I make changes to the CodeBehind page (.aspx.vb), the website doesn't recongize the changes...<br />
<br />
I've tried making the changes on my local computer, Build Solution, and everything works.  I then delete the web page off the server and upload the new page... but still no changes...  I've tried deleting all the files off the sever and uploading everything again, but then I run into a problem where the website is looking for files off the localhost, instead of the server... I had to pay someone $150 originally because I couldn't figure out why the website kept looking for localhost instead of the server.   I'm hoping I can learn the cause of this instead of hiring someone again.  <br />
<br />
I just need to know the easiest way to recompile the changes I make to the codebehind page.  Do i need to recompile/reupload the whole site? just the one page that I made changes to?  is it something in the global.asax/assembly/web.config that i need to recompile???<br />
<br />
Thank you so much to all who answers!!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>quickershopper</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234837.html</guid>
		</item>
		<item>
			<title>Urgent:how to generate a new Session ID</title>
			<link>http://www.daniweb.com/forums/thread234828.html</link>
			<pubDate>Sat, 31 Oct 2009 05:48:51 GMT</pubDate>
			<description>hi, 
 
how can we create a new session? 
 
n i also want to knw how can i generate a new session id everytime i visit a page. 
 
even if i use Session.clear/Abandon method, it generates a same session id everytime i visit the page. 
 
hoping for a reply soon</description>
			<content:encoded><![CDATA[<div>hi,<br />
<br />
how can we create a new session?<br />
<br />
n i also want to knw how can i generate a new session id everytime i visit a page.<br />
<br />
even if i use Session.clear/Abandon method, it generates a same session id everytime i visit the page.<br />
<br />
hoping for a reply soon<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>love_dude1984</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234828.html</guid>
		</item>
		<item>
			<title>urgent: Passing ArrayList in session..</title>
			<link>http://www.daniweb.com/forums/thread234827.html</link>
			<pubDate>Sat, 31 Oct 2009 05:36:13 GMT</pubDate>
			<description><![CDATA[hi, 
 
i want to store a arraylist in a session variable & retrieve it on the other page. how it can be done.. 
 
for example, 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680"...]]></description>
			<content:encoded><![CDATA[<div>hi,<br />
<br />
i want to store a arraylist in a session variable &amp; retrieve it on the other page. how it can be done..<br />
<br />
for example,<br />
<br />
 <pre style="margin:20px; line-height:13px">ArrayList ar = new ArrayList();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; ar.Add(&quot;a&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; ar.Add(&quot;b&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Session[&quot;id&quot;] = ar;</pre><br />
now how can i retrieve the arraylist on the other page?<br />
<br />
i tried  <pre style="margin:20px; line-height:13px"> arraylist ar=session[&quot;id&quot;]</pre> but its not working.<br />
<br />
plz help me..its really urgent.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>love_dude1984</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234827.html</guid>
		</item>
		<item>
			<title>Debug</title>
			<link>http://www.daniweb.com/forums/thread234802.html</link>
			<pubDate>Sat, 31 Oct 2009 02:51:19 GMT</pubDate>
			<description>Can you guy help me to test this program.... Its compile ... but just want to make sure that its completely right 
 
And I wanna add the function to set error when dividing to 0</description>
			<content:encoded><![CDATA[<div>Can you guy help me to test this program.... Its compile ... but just want to make sure that its completely right<br />
<br />
And I wanna add the function to set error when dividing to 0</div>  <br /> <div style="padding:5px">     <fieldset class="fieldset"> <legend>Attached Files</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12389&amp;d=1256957462">HWDebug.zip</a> (14.7 KB)</td> </tr> </table> </fieldset>  </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Se7Olutionyg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234802.html</guid>
		</item>
		<item>
			<title>Problems with dynamic Excel with Module</title>
			<link>http://www.daniweb.com/forums/thread234769.html</link>
			<pubDate>Fri, 30 Oct 2009 21:08:37 GMT</pubDate>
			<description>Hi, I am hoping someone can help with a problem I am having 
 
I am using ASP (VB).Net 2003 on Windows Server 2003 and I am trying to create a web application which dynamically creates an excel spreadsheet which has a module included. When I run this on the local host it works fine but once I load...</description>
			<content:encoded><![CDATA[<div>Hi, I am hoping someone can help with a problem I am having<br />
<br />
I am using ASP (VB).Net 2003 on Windows Server 2003 and I am trying to create a web application which dynamically creates an excel spreadsheet which has a module included. When I run this on the local host it works fine but once I load it onto the server I get the following error message<br />
<br />
HRESULT = 0x800A17B4 &quot;Programmatic Access to Visual Basic Project is not trusted<br />
<br />
I am using the following VB.Net code <br />
Code:<br />
 <pre style="margin:20px; line-height:13px">Dim xlmodule As Object 'VBComponent<br />
xlmodule = xlbook.VBProject.VBComponents.Import(PathToImport &amp; &quot;Module1.bas&quot;)</pre>If I turn off the code then it will load the spreadsheet without the module but the module is the critical part of the spreadsheet. <br />
<br />
I have tried changing permissions but this is running on a client and not a physical machine. I am populating on the server in Excel 97 to avoid microsofts security issues<br />
<br />
Does anyone have any ideas?<br />
<br />
Regards<br />
<br />
Jo</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Jojo1974</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234769.html</guid>
		</item>
		<item>
			<title>programmaticly alter the command text of a sqldatasource???anyone?</title>
			<link>http://www.daniweb.com/forums/thread234748.html</link>
			<pubDate>Fri, 30 Oct 2009 18:40:18 GMT</pubDate>
			<description><![CDATA[I have a simple sqlDataSource  that populates a GridView control 
Nothing out of the ordinary here. 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help...]]></description>
			<content:encoded><![CDATA[<div>I have a simple sqlDataSource  that populates a GridView control<br />
Nothing out of the ordinary here.<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:SqlDataSource ID=&quot;personalInfoSource&quot; runat=&quot;server&quot; ConnectionString=&quot;&lt;%$ appSettings:Maya%&gt;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectCommand=&quot;SELECT customerID, lname, fname, dateNow FROM dbo.customers ORDER BY lname ASC&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:SqlDataSource&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;asp:GridView ID=&quot;names&quot; runat=&quot;server&quot; Width=&quot;280px&quot; DataSourceID=&quot;personalInfoSource&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  AutoGenerateColumns=&quot;False&quot; DataKeyNames=&quot;customerID&quot; AllowSorting=&quot;True&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;RowStyle BackColor=&quot;#FFBA00&quot; Font-Names=&quot;arial&quot; ForeColor=&quot;#26354a&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;AlternatingRowStyle BackColor=&quot;#D3DCE6&quot; Font-Names=&quot;arial&quot; ForeColor=&quot;#26354a&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;HeaderStyle BackColor=&quot;#D3DCE6&quot; ForeColor=&quot;#26354a&quot; Font-Names=&quot;arial&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Columns&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;customerID&quot; HeaderText=&quot;Id&quot; SortExpression=&quot;customerID&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;lname&quot; HeaderText=&quot;Last Name&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;fname&quot; HeaderText=&quot;First Name&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:BoundField DataField=&quot;dateNow&quot; HeaderText=&quot;Id&quot; Visible=&quot;false&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:CommandField ShowSelectButton=&quot;true&quot; ButtonType=&quot;Button&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectText=&quot;Select&quot; ItemStyle-HorizontalAlign=&quot;left&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HeaderText=&quot;Details&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemStyle HorizontalAlign=&quot;Left&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:CommandField&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Columns&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:GridView&gt;</pre><br />
The problem is that my client wants to be able to click a button and refine the querry by only showing certain records instead of all of them.  Can i do this programmaticaly? Can I programaidically change the  commandtext so that it says :<br />
<span style="font-style:italic">SELECT customerID, lname, fname, dateNow FROM dbo.customers WHERE rep is null&gt; ORDER BY lname ASC</span><br />
<br />
I beleive that i can but im unsure of what the proper syntax is.  Remember, I want the gridview to display all records by defalut and only filter them as the result of some event such as a button click.<br />
<br />
Thanks in advance.<br />
Rick Pace</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ricksvoid</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234748.html</guid>
		</item>
		<item>
			<title>radiobuttonlist postback error</title>
			<link>http://www.daniweb.com/forums/thread234674.html</link>
			<pubDate>Fri, 30 Oct 2009 12:20:36 GMT</pubDate>
			<description><![CDATA[Hi all, 
I've got a spot of bother with my radiobuttonlist.  It has 3 items in it and I want them to control the visibility of certain divs/tables. 
 
But even simple text changes are becoming a headache and the postback is not firing the event I clicked on but the PREVIOUS event (ie, I click on...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
I've got a spot of bother with my radiobuttonlist.  It has 3 items in it and I want them to control the visibility of certain divs/tables.<br />
<br />
But even simple text changes are becoming a headache and the postback is not firing the event I clicked on but the PREVIOUS event (ie, I click on value 1 and text shows nothing, I click on value 2 and text shows value 1, I click on value 3 and text shows value 2)...always 1 step behind.<br />
<br />
Here's my code:<br />
 <pre style="margin:20px; line-height:13px">function SetMessageInTextbox() {<br />
var rdolist_0 = document.getElementById(&quot;rdolist_0&quot;);<br />
var rdolist_1 = document.getElementById(&quot;rdolist_1&quot;);<br />
var rdolist_2 = document.getElementById(&quot;rdolist_2&quot;);<br />
if (rdolist_0.checked)<br />
document.getElementById(&quot;TextBox1&quot;).value=&quot;One&quot;;<br />
if (rdolist_1.checked)<br />
document.getElementById(&quot;TextBox1&quot;).value=&quot;Two&quot;;&nbsp; &nbsp; &nbsp; &nbsp; <br />
if (rdolist_2.checked)&nbsp; &nbsp; &nbsp; &nbsp; <br />
document.getElementById(&quot;TextBox1&quot;).value=&quot;Three&quot;;<br />
}</pre><br />
I've tried combinations of adding attributes in the vb.net pageload function, the vb.net code behind rdoList.selectindexchange using<br />
rdolist.Attributes.Add(&quot;onload&quot;, &quot;javascript<b></b>:SetMessageInTextbox()&quot;)<br />
and also the onClick event of the HTML page.<br />
<br />
If you can assist, please do.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>phantom1000000</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234674.html</guid>
		</item>
		<item>
			<title>/forums/clientscript.RegisterClientScriptBlock doesnot work in UpdatePanel</title>
			<link>http://www.daniweb.com/forums/thread234638.html</link>
			<pubDate>Fri, 30 Oct 2009 09:27:32 GMT</pubDate>
			<description><![CDATA[Hi friends.. 
 
I am trying to display message box using server-side code. I have written code in buttons click event and Page Load Event. It is as follows : 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi friends..<br />
<br />
I am trying to display message box using server-side code. I have written code in buttons click event and Page Load Event. It is as follows :<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
&nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = &quot;I Enjoy ASP.NET&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim myscript As String = &quot;alert(document.getElementById('TextBox1').value);&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Page.ClientScript.RegisterStartupScript(Me.GetType(), &quot;myscript&quot;, myscript, True)<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strMessage As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; strMessage = &quot;Hi, You clicked ClickMe button&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strScript As String = &quot;&lt;script language=JavaScript&gt;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; strScript += &quot;alert('&quot; &amp; strMessage &amp; &quot;');&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; strScript += &quot;&lt;/script&gt;&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If (Not ClientScript.IsStartupScriptRegistered(&quot;clientScript&quot;)) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ClientScript.RegisterClientScriptBlock(Me.GetType(), &quot;clientScript&quot;, strScript)<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; End Sub</pre><br />
If button is not in UPDATE PANEL, then both alert are displayed normally (i.e. during Page Load and Button Click)<br />
<br />
But when I put the button inside UPDATE PANEL , alert dosn't work in Button Click. Here only Page_Load alert is displayed <br />
In case of UPDATE PANEL is also tried<br />
 Me.UpdatePane1.GetType() <br />
but in vain..!!!<br />
Any ideas??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mania_comp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234638.html</guid>
		</item>
		<item>
			<title>Setting width and Height in percent(%)</title>
			<link>http://www.daniweb.com/forums/thread234621.html</link>
			<pubDate>Fri, 30 Oct 2009 08:08:26 GMT</pubDate>
			<description>Hi, 
 
I have a Project in Asp.net which have approximate 120 forms. Each of them have multiple controls as Table, Textbox, Dropdown,ListBox,Gridview..nd so on with different different name. I have set the width and Height of all controls as Pixel(px). But now i want to change width and Height in...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have a Project in Asp.net which have approximate 120 forms. Each of them have multiple controls as Table, Textbox, Dropdown,ListBox,Gridview..nd so on with different different name. I have set the width and Height of all controls as Pixel(px). But now i want to change width and Height in percent(%) of all controls. So there is any quick solution for it or i will have to change one by one controls.<br />
<br />
If there is any solution so please help me.<br />
<br />
Thanks<br />
 <br />
Pankaj</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Pankaj18</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234621.html</guid>
		</item>
		<item>
			<title>javascript how to make the dropdown value to reset to intiall value(checking the chec</title>
			<link>http://www.daniweb.com/forums/thread234603.html</link>
			<pubDate>Fri, 30 Oct 2009 06:16:51 GMT</pubDate>
			<description><![CDATA[hi, "INSERT MODE" 
 
i have check box in one "tr". and another dropdown control in another "tr" intially dropdown control will be invisiable intially .  
 
but once the user checks the check box. the dropdown control should be visiable and he can select the value. but again the user unchecks the...]]></description>
			<content:encoded><![CDATA[<div>hi, &quot;INSERT MODE&quot;<br />
<br />
i have check box in one &quot;tr&quot;. and another dropdown control in another &quot;tr&quot; intially dropdown control will be invisiable intially . <br />
<br />
but once the user checks the check box. the dropdown control should be visiable and he can select the value. but again the user unchecks the check box the dropdown should be set to default value that is &quot;--selec--&quot;<br />
<br />
&quot;UPDATE MODE&quot; intailly checkbox.Test = dt.cloumn[&quot;state&quot;].tostring();<br />
<br />
if(checkbox.Test!= &quot;&quot;) { checkbox.checked=true; //then value dropdown value should be shown like&quot;india&quot; } else { checkbox.checked=&quot;false&quot; //then value dropdown value should be default &quot;--select&quot; } in insert mode checkbox willbe unchecked in update mode if checkbox in checked then the value of dropdown should be shown&quot;india&quot; in update mode if checkbox in unchecked then the value of dropdown should be shown default&quot;-select-&quot;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>prince23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234603.html</guid>
		</item>
		<item>
			<title>How to check the checkbox in datagridview is checked or not.</title>
			<link>http://www.daniweb.com/forums/thread234596.html</link>
			<pubDate>Fri, 30 Oct 2009 05:19:43 GMT</pubDate>
			<description>Hello guys 
I have datagridview with each record containing a checkbox. 
 
I need to loop through the grid rows and get checkboxes that is being checked and also row numbers. 
 
There is also a delete button outside gridview.The above process should got executed on delete button click. 
 
Please...</description>
			<content:encoded><![CDATA[<div>Hello guys<br />
I have datagridview with each record containing a checkbox.<br />
<br />
I need to loop through the grid rows and get checkboxes that is being checked and also row numbers.<br />
<br />
There is also a delete button outside gridview.The above process should got executed on delete button click.<br />
<br />
Please provide some source code.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>fawadkhalil</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234596.html</guid>
		</item>
		<item>
			<title>Retrieve field value from GridView to compute total</title>
			<link>http://www.daniweb.com/forums/thread234387.html</link>
			<pubDate>Thu, 29 Oct 2009 10:24:22 GMT</pubDate>
			<description><![CDATA[Hi, attached in the attachment below has a screenshot of what I am trying to accomplish... I have hurdle marks for individual students and i am trying to compute the total of those marks. 
 
How can I access those values, compute the total, and store them back in the "Total Marks" column and as...]]></description>
			<content:encoded><![CDATA[<div>Hi, attached in the attachment below has a screenshot of what I am trying to accomplish... I have hurdle marks for individual students and i am trying to compute the total of those marks.<br />
<br />
How can I access those values, compute the total, and store them back in the &quot;Total Marks&quot; column and as well as computing the &quot;Grades&quot; depending on what mark they obtain.<br />
<br />
Example: 80 - 100 : HD<br />
70 - 78 : DI<br />
0 - 69 : Fail</div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12364&amp;d=1256811718" target="_blank">23021882.png</a> (6.1 KB)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dfs3000my</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234387.html</guid>
		</item>
		<item>
			<title>Finding a specific character in a string</title>
			<link>http://www.daniweb.com/forums/thread234354.html</link>
			<pubDate>Thu, 29 Oct 2009 08:14:47 GMT</pubDate>
			<description><![CDATA[hello frndz.. 
i really need some urgent help on a simple problem. 
 
im storing a string in a database, say its "1 2 3",these are actually the id's of something. in order to get the name from the ID, i need to seperate the id's from the string, that is 1,2,3. in a array may b. so i just want to...]]></description>
			<content:encoded><![CDATA[<div>hello frndz..<br />
i really need some urgent help on a simple problem.<br />
<br />
im storing a string in a database, say its &quot;1 2 3&quot;,these are actually the id's of something. in order to get the name from the ID, i need to seperate the id's from the string, that is 1,2,3. in a array may b. so i just want to know how i can achieve the same thing.<br />
i tried this code, but its not working properly.<br />
<br />
 <pre style="margin:20px; line-height:13px"><br />
&nbsp;str = TextBox1.Text.Trim();<br />
&nbsp; &nbsp; &nbsp; &nbsp; temp = str;<br />
&nbsp; &nbsp; &nbsp; &nbsp; for (int j = 0; j &lt; str.Length; j++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (str.Contains(&quot; &quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i = str.IndexOf(&quot; &quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; str=str.Substring(i, str.Length - (i+1));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Write(&quot;&nbsp; This is index &quot;+i);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Write(&quot;&nbsp; This is next string : &quot;+str);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
hope to get a help soon..<br />
<br />
thanks..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>love_dude1984</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234354.html</guid>
		</item>
		<item>
			<title>Subtract a date from other</title>
			<link>http://www.daniweb.com/forums/thread234316.html</link>
			<pubDate>Thu, 29 Oct 2009 05:48:54 GMT</pubDate>
			<description>hi  
 
how can i subtract a date from other.</description>
			<content:encoded><![CDATA[<div>hi <br />
<br />
how can i subtract a date from other.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ssreevidya.m</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234316.html</guid>
		</item>
		<item>
			<title>BoundFields with different DataSources</title>
			<link>http://www.daniweb.com/forums/thread234311.html</link>
			<pubDate>Thu, 29 Oct 2009 05:31:30 GMT</pubDate>
			<description><![CDATA[I'm currently populating my GridView using code-behind codes and it looks like this:- 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code...]]></description>
			<content:encoded><![CDATA[<div>I'm currently populating my GridView using code-behind codes and it looks like this:-<br />
<br />
 <pre style="margin:20px; line-height:13px">BoundField boundField = new BoundField();<br />
boundField.DataField = &quot;student_name&quot;;<br />
boundField.HeaderText = &quot;Name&quot;;<br />
GridView1.Columns.Add(boundField);</pre><br />
Is there a possibility where I can have a different DataSource for the different BoundFields that I insert?<br />
<br />
Perhaps, Column 1 - 5 uses SQLDataSource1, Column 6 uses SQLDataSource2, and Column 7 uses SQLDataSource3</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dfs3000my</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234311.html</guid>
		</item>
		<item>
			<title>Update INT type Checkbox Field</title>
			<link>http://www.daniweb.com/forums/thread234152.html</link>
			<pubDate>Wed, 28 Oct 2009 17:41:20 GMT</pubDate>
			<description><![CDATA[I'm having an issue trying to update a field in my database that is a INT type. I'm using this field for a  checkbox on my form. The checkbox works correctly by using the field in the database containing a 0 for unchecked and a 1 for checked. The problem is when I try to update my form the checkbox...]]></description>
			<content:encoded><![CDATA[<div>I'm having an issue trying to update a field in my database that is a INT type. I'm using this field for a  checkbox on my form. The checkbox works correctly by using the field in the database containing a 0 for unchecked and a 1 for checked. The problem is when I try to update my form the checkbox field errors out. The error says:<br />
<br />
<span style="font-weight:bold">Conversion failed when converting the varchar value 'on' to data type int.</span><br />
<br />
<br />
Below is my code which works fine asides from this problem:<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">Sub Page_Load()<br />
strSQL = &quot;SELECT * FROM tblCustomers WHERE Customer_ID=&quot; &amp; Request.QueryString(&quot;Customer_ID&quot;)<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; DataBase_Connect(strSQL)<br />
&nbsp; &nbsp; &nbsp; &nbsp; objDataReader.Read()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'This will be the value to be populated into the textboxes<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_ID.Text = objDataReader(&quot;Customer_ID&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Status.Checked = objDataReader(&quot;Customer_Status&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Code.Text = objDataReader(&quot;Customer_Code&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Name.Text = RTRIM(objDataReader(&quot;Customer_Name&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Address1.Text = RTRIM(objDataReader(&quot;Customer_Address1&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Address2.Text = RTRIM(objDataReader(&quot;Customer_Address2&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_City.Text = RTRIM(objDataReader(&quot;Customer_City&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_State.Text = RTRIM(objDataReader(&quot;Customer_State&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Zip.Text = RTRIM(objDataReader(&quot;Customer_Zip&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Phone1.Text = RTRIM(objDataReader(&quot;Customer_Phone1&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Phone2.Text = RTRIM(objDataReader(&quot;Customer_Phone2&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Fax.Text = RTRIM(objDataReader(&quot;Customer_Fax&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Email.Text = RTRIM(objDataReader(&quot;Customer_Email&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Tax.Text = RTRIM(objDataReader(&quot;Customer_Tax&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_SalesmanID.Text = objDataReader(&quot;Customer_SalesmanID&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Galvanized.Text = objDataReader(&quot;Customer_Galvanized&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_DoubleWall.Text = objDataReader(&quot;Customer_DoubleWall&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_Comments.Text = RTRIM(objDataReader(&quot;Customer_Comments&quot;).ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_CreatedDate.Text = objDataReader(&quot;Customer_CreatedDate&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_CreatedBy.Text = objDataReader(&quot;Customer_CreatedBy&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_ModifiedDate.Text = objDataReader(&quot;Customer_ModifiedDate&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Customer_ModifiedBy.Text = objDataReader(&quot;Customer_ModifiedBy&quot;).ToString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp;  Phone.Text = objDataReader(&quot;Phone&quot;).ToString()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; link.NavigateUrl = &quot;CustomerAddress_Add.aspx?Customer_ID=&quot; &amp; Customer_ID.Text<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; DataBase_Disconnect()<br />
End Sub</pre><br />
 <pre style="margin:20px; line-height:13px">Sub Change_Customer(ByVal sender As Object, ByVal e As System.EventArgs)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection = New OleDbConnection(strConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection.Open()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL = &quot;update tblCustomers set Customer_Name='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Name&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Status='&quot; &amp; Request(&quot;TabContainer1$TabPanel1$Customer_Status&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Address1='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Address1&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Address2='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Address2&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_City='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_City&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_State='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_State&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Zip='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Zip&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Phone1='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Phone1&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Phone2='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Phone2&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Fax='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Fax&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Email='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Email&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Tax='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Tax&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_SalesmanID='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_SalesmanID&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Galvanized='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Galvanized&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_DoubleWall='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_DoubleWall&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_Comments='&quot; &amp; Replace(Request(&quot;TabContainer1$TabPanel1$Customer_Comments&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_ModifiedDate='&quot; &amp; Now()<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;', Customer_ModifiedBy='&quot; &amp; Session(&quot;userid&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;' where Customer_ID = &quot; &amp; Request(&quot;Customer_ID&quot;)<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; objCommand = New OleDbCommand(strSQL, objConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; objCommand.ExecuteNonQuery()<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; objCommand = Nothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection = Nothing<br />
End Sub</pre><br />
<br />
The code below is a sample of my form code:<br />
 <pre style="margin:20px; line-height:13px">&lt;td width=&quot;125&quot;&gt;&lt;b class=&quot;sortcat&quot;&gt;&amp;nbsp;Inactive:&lt;/b&gt;&lt;/td&gt;&lt;td class=&quot;cred2&quot;&gt;&lt;asp:CheckBox ID=&quot;Customer_Status&quot; runat=&quot;server&quot; Checked='&lt;%#Bind(&quot;Customer_Status&quot;)%&gt;' /&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td width=&quot;125&quot;&gt;&lt;b class=&quot;sortcat&quot;&gt;&amp;nbsp;Customer Code:&lt;/b&gt;&lt;/td&gt;&lt;td class=&quot;cred2&quot;&gt;&lt;asp:Label ID=&quot;Customer_Code&quot; cssClass=&quot;content2&quot; runat=&quot;server&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;&lt;b class=&quot;sortcat&quot;&gt;&amp;nbsp;Company Name:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;asp:TextBox runat=&quot;server&quot; id=&quot;Customer_Name&quot; class=&quot;textbox&quot; size=&quot;60&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CssClass=&quot;input_text&quot; MaxLength=&quot;65&quot; /&gt;</pre><br />
Any help would be appreciated. I would like to use the code I have just with correcting the checkbox field updating problem.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Stretcher75</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234152.html</guid>
		</item>
		<item>
			<title><![CDATA[revised but still not inserting (error near keyword "where")]]></title>
			<link>http://www.daniweb.com/forums/thread234151.html</link>
			<pubDate>Wed, 28 Oct 2009 16:38:26 GMT</pubDate>
			<description><![CDATA[I just keep getting the same error.  can not insert record. Problem near keyword "where". 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with...]]></description>
			<content:encoded><![CDATA[<div>I just keep getting the same error.  can not insert record. Problem near keyword &quot;where&quot;.<br />
<br />
 <pre style="margin:20px; line-height:13px">Imports System.Security<br />
Imports System.Data.SqlClient<br />
Imports System.Web.Configuration<br />
Imports System.Data<br />
<br />
<br />
Partial Class admin<br />
&nbsp; &nbsp; Inherits System.Web.UI.Page<br />
&nbsp; &nbsp; Public connectPath As String = ConfigurationSettings.AppSettings(&quot;Maya&quot;)<br />
<br />
<br />
&nbsp; &nbsp; Protected Sub fillDropList(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
&nbsp; &nbsp; &nbsp; &nbsp; If Not Page.IsPostBack Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DropList1.DataSource = Membership.GetAllUsers()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DropList1.DataBind()<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub DropList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropList1.SelectedIndexChanged<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim theUser2 As Integer = names.SelectedDataKey.Value<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim con As New SqlConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; con.ConnectionString = connectPath<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'the customerID of the selected gridview row<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim setRep As New SqlCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; setRep.Connection = con<br />
&nbsp; &nbsp; &nbsp; &nbsp; setRep.CommandText = &quot;INSERT INTO dbo.customers(rep)VALUES(@dropList1)WHERE customerID = @ID&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; setRep.Parameters.AddWithValue(&quot;@dropList1&quot;, DropList1.SelectedItem.ToString())<br />
&nbsp; &nbsp; &nbsp; &nbsp; setRep.Parameters.AddWithValue(&quot;@ID&quot;, gridView1.SelectedDataKey.Value)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim added As Integer = 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; Try<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Open()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; added = setRep.ExecuteNonQuery()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; results.Text = added.ToString() &amp; &quot;record has been added!&quot;<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Catch Err As Exception<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; results.Text = &quot;Error inserting record. &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; results.Text &amp;= Err.Message<br />
&nbsp; &nbsp; &nbsp; &nbsp; Finally<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; End Try<br />
<br />
<br />
&nbsp; &nbsp; End Sub<br />
<br />
<br />
End Class</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ricksvoid</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234151.html</guid>
		</item>
		<item>
			<title>how to get the header name for the datatable in C#</title>
			<link>http://www.daniweb.com/forums/thread234047.html</link>
			<pubDate>Wed, 28 Oct 2009 05:21:44 GMT</pubDate>
			<description>In this task,the csv file has retreived and it viewed by using datagrid. but now how we can take a specified header name from the datatable??</description>
			<content:encoded><![CDATA[<div>In this task,the csv file has retreived and it viewed by using datagrid. but now how we can take a specified header name from the datatable??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>santhya123</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234047.html</guid>
		</item>
		<item>
			<title>DropDownList only returns the 1st value regardless of selection</title>
			<link>http://www.daniweb.com/forums/thread234025.html</link>
			<pubDate>Wed, 28 Oct 2009 02:59:29 GMT</pubDate>
			<description><![CDATA[Ive successfully managed to bind my DropDownList control to the membership.getAllUsers class.  The problem is, no matter who i select from the list, it always  returns the same value which is the first selection.  Is this some kind of postback issue? Yikes! 
 
  <div class="codeblock"> <div...]]></description>
			<content:encoded><![CDATA[<div>Ive successfully managed to bind my DropDownList control to the membership.getAllUsers class.  The problem is, no matter who i select from the list, it always  returns the same value which is the first selection.  Is this some kind of postback issue? Yikes!<br />
<br />
 <pre style="margin:20px; line-height:13px"> <br />
Protected Sub fillDropList(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
&nbsp; &nbsp; &nbsp; &nbsp; DropList1.DataSource = Membership.GetAllUsers()<br />
&nbsp; &nbsp; &nbsp; &nbsp; DropList1.DataBind()<br />
&nbsp; &nbsp; End Sub<br />
&nbsp; &nbsp; <br />
Protected Sub DropList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropList1.SelectedIndexChanged<br />
&nbsp; &nbsp; &nbsp; &nbsp; results.Text = DropList1.SelectedItem.ToString()<br />
<br />
&nbsp; &nbsp; End Sub</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ricksvoid</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234025.html</guid>
		</item>
		<item>
			<title>Embedding pictures</title>
			<link>http://www.daniweb.com/forums/thread234009.html</link>
			<pubDate>Wed, 28 Oct 2009 01:58:53 GMT</pubDate>
			<description><![CDATA[Good day, 
 I am trying to add photos on my website. I don't know what codes are used. I want to include many photos in one page. Please advise and give sample of codes. Thank you.]]></description>
			<content:encoded><![CDATA[<div>Good day,<br />
 I am trying to add photos on my website. I don't know what codes are used. I want to include many photos in one page. Please advise and give sample of codes. Thank you.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>chrispaul8676</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread234009.html</guid>
		</item>
		<item>
			<title>Opera most used version (besides latest)</title>
			<link>http://www.daniweb.com/forums/thread233912.html</link>
			<pubDate>Tue, 27 Oct 2009 16:19:13 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm developing an AJAX website, and I want to make it compatible with most browsers and its many versions in the market. 
 
I've been using IE, FF and Chrome, for many years, and I know his popular versions (not everyone updates, you know), but I never used Opera, and I want to make my site...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm developing an AJAX website, and I want to make it compatible with most browsers and its many versions in the market.<br />
<br />
I've been using IE, FF and Chrome, for many years, and I know his popular versions (not everyone updates, you know), but I never used Opera, and I want to make my site opera-friendly, so, I wan't to know (besides the latest version) wich version  of Opera browser is popular in the browser market?<br />
<br />
Thanks!<br />
<br />
Omar</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>culebrin</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233912.html</guid>
		</item>
		<item>
			<title>Web services in .Net</title>
			<link>http://www.daniweb.com/forums/thread233804.html</link>
			<pubDate>Tue, 27 Oct 2009 10:11:20 GMT</pubDate>
			<description>I want to know about the Web Services in C#.Net.Actually Why it is needed and how it is implemented.</description>
			<content:encoded><![CDATA[<div>I want to know about the Web Services in C#.Net.Actually Why it is needed and how it is implemented.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>abeldennis</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233804.html</guid>
		</item>
		<item>
			<title>chat room in asp.net</title>
			<link>http://www.daniweb.com/forums/thread233771.html</link>
			<pubDate>Tue, 27 Oct 2009 08:12:16 GMT</pubDate>
			<description>how can i crate a chat room in asp.net?</description>
			<content:encoded><![CDATA[<div>how can i crate a chat room in asp.net?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>anjclaire</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233771.html</guid>
		</item>
		<item>
			<title>chat room in asp.net</title>
			<link>http://www.daniweb.com/forums/thread233770.html</link>
			<pubDate>Tue, 27 Oct 2009 08:11:36 GMT</pubDate>
			<description>ho can i create a chat room in asp.net..</description>
			<content:encoded><![CDATA[<div>ho can i create a chat room in asp.net..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>anjclaire</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233770.html</guid>
		</item>
		<item>
			<title>does C# Window Service supports Browser_DocumentCompleted event of Web browser?</title>
			<link>http://www.daniweb.com/forums/thread233764.html</link>
			<pubDate>Tue, 27 Oct 2009 07:46:59 GMT</pubDate>
			<description>Hi, 
 
i have a window service in C#,in which i am fetching the html from diff URLs, 
now i need to click the button on html page for pagination. 
 
i tried with web browser, but window service is not firing the Browser_DocumentCompleted event, 
 
does C# Window Service supports...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
i have a window service in C#,in which i am fetching the html from diff URLs,<br />
now i need to click the button on html page for pagination.<br />
<br />
i tried with web browser, but window service is not firing the Browser_DocumentCompleted event,<br />
<br />
does C# Window Service supports Browser_DocumentCompleted event of Web browser? <br />
<br />
or what else other solution for that?<br />
<br />
Please try to help me out.<br />
<br />
thanks,<br />
Ashish</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ashu2409</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233764.html</guid>
		</item>
		<item>
			<title>Webservice error (System.IO.FileNotFoundException: The specified module could not be</title>
			<link>http://www.daniweb.com/forums/thread233759.html</link>
			<pubDate>Tue, 27 Oct 2009 07:03:04 GMT</pubDate>
			<description>Hi All, 
 
I got the following error on creating a new virtual directory for a working web service version. What could be the issue? Since the same Web service build works fine on another machine. 
 
Description: An unhandled exception occurred during the execution of the current web request....</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I got the following error on creating a new virtual directory for a working web service version. What could be the issue? Since the same Web service build works fine on another machine.<br />
<br />
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.<br />
<br />
Exception Details: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)<br />
<br />
Source Error:<br />
<br />
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.<br />
<br />
Stack Trace:<br />
<br />
[FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]<br />
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0<br />
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43<br />
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +127<br />
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +142<br />
   System.Reflection.Assembly.Load(String assemblyString) +28<br />
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46<br />
<br />
[ConfigurationErrorsException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]<br />
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613<br />
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203<br />
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105<br />
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178<br />
   System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +163<br />
   System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53<br />
   System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175<br />
   System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +83<br />
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261<br />
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101<br />
   System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +83<br />
   System.Web.UI.PageParser.GetCompiledPageInstance(VirtualPath virtualPath, String inputFile, HttpContext context) +224<br />
   System.Web.UI.PageParser.GetCompiledPageInstance(String virtualPath, String inputFile, HttpContext context) +121<br />
   System.Web.Services.Protocols.DocumentationServerProtocol.Initialize() +736<br />
   System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) +50<br />
   System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean&amp; abortProcessing) +77<br />
<br />
[InvalidOperationException: Unable to handle request.]<br />
   System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean&amp; abortProcessing) +285<br />
   System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +183<br />
<br />
[InvalidOperationException: Failed to handle request.]<br />
   System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +354<br />
   System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +212<br />
   System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +47<br />
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193<br />
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93<br />
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>anish.anick</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233759.html</guid>
		</item>
		<item>
			<title>Pop up window</title>
			<link>http://www.daniweb.com/forums/thread233746.html</link>
			<pubDate>Tue, 27 Oct 2009 06:23:08 GMT</pubDate>
			<description>In my application, When the user clciks a button,some coding wil run, after that a popup window should appear, with a image button and its saved to sql server. 
 
I am using asp.net 2.0 
 
Plz help me</description>
			<content:encoded><![CDATA[<div>In my application, When the user clciks a button,some coding wil run, after that a popup window should appear, with a image button and its saved to sql server.<br />
<br />
I am using asp.net 2.0<br />
<br />
Plz help me</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Anusha Rose</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233746.html</guid>
		</item>
		<item>
			<title>Pop up window on condition in asp.net 2.0</title>
			<link>http://www.daniweb.com/forums/thread233714.html</link>
			<pubDate>Tue, 27 Oct 2009 04:41:50 GMT</pubDate>
			<description>Hi, 
 
I m working on a project in which i need to pop up a window when a certain condition matches. for example i fix up an appointment at 2.30 pm for a caller.when the time becomes 2.20 i wil pop up the window to alert the user that he has a cal at 2.30 pm. 
 
pls tell how do i achieve that. 
...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I m working on a project in which i need to pop up a window when a certain condition matches. for example i fix up an appointment at 2.30 pm for a caller.when the time becomes 2.20 i wil pop up the window to alert the user that he has a cal at 2.30 pm.<br />
<br />
pls tell how do i achieve that.<br />
<br />
thx</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>imughal</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233714.html</guid>
		</item>
		<item>
			<title>Need to be able to move rows in GridView or something similar</title>
			<link>http://www.daniweb.com/forums/thread233568.html</link>
			<pubDate>Mon, 26 Oct 2009 19:51:51 GMT</pubDate>
			<description><![CDATA[I need some help.  I am trying to display some information that is about 7 columns and probably no more than 10 rows of data.  The user, however, needs to be able to re-order the rows.  I have looked at possible solutions but can't seem to find anything that works.  Does anyone have any...]]></description>
			<content:encoded><![CDATA[<div>I need some help.  I am trying to display some information that is about 7 columns and probably no more than 10 rows of data.  The user, however, needs to be able to re-order the rows.  I have looked at possible solutions but can't seem to find anything that works.  Does anyone have any suggestions, examples etc of something like this?  Is this even possible? Any help would be appreciated.  I am using .Net 2.0 and writing in C#.<br />
<br />
 Thanks in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>MarkyMark1961</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233568.html</guid>
		</item>
		<item>
			<title>How to use a css templete in asp.net</title>
			<link>http://www.daniweb.com/forums/thread233478.html</link>
			<pubDate>Mon, 26 Oct 2009 14:32:33 GMT</pubDate>
			<description>I download free css from  http://www.templateyes.com/ to my computer ,but I dont know where to past the code and image it in asp.net..any one help</description>
			<content:encoded><![CDATA[<div>I download free css from  <a rel="nofollow" class="t" href="http://www.templateyes.com/" target="_blank">http://www.templateyes.com/</a> to my computer ,but I dont know where to past the code and image it in asp.net..any one help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mailme.vibin</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233478.html</guid>
		</item>
		<item>
			<title>Partial Page Postback not working</title>
			<link>http://www.daniweb.com/forums/thread233475.html</link>
			<pubDate>Mon, 26 Oct 2009 14:14:01 GMT</pubDate>
			<description>Hi, having a problem implementing partial page postbacks using a scriptmanager and an update panel.  Here is a test page using a web form to call a user control.  I am hitting the else statement in the code behind that confirms I do not have a functioning partial post back. 
 
Web Form...</description>
			<content:encoded><![CDATA[<div>Hi, having a problem implementing partial page postbacks using a scriptmanager and an update panel.  Here is a test page using a web form to call a user control.  I am hitting the else statement in the code behind that confirms I do not have a functioning partial post back.<br />
<br />
Web Form [TestPartialPage.aspx]:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; MasterPageFile=&quot;~/Templates/main.Master&quot; CodeBehind=&quot;TestPartialPage.aspx.cs&quot; Inherits=&quot;BayCare.PreReg.Web.Pages.TestPartialPage&quot; %&gt;<br />
&lt;%@ Register src=&quot;../UserControls/TestPartPagePost.ascx&quot; tagname=&quot;TestPartPagePost&quot; tagprefix=&quot;uc2&quot; %&gt;<br />
&lt;asp:Content ID=&quot;Content1&quot; ContentPlaceHolderID=&quot;head&quot; runat=&quot;server&quot;&gt;<br />
&lt;/asp:Content&gt;<br />
&lt;asp:Content ID=&quot;Content2&quot; ContentPlaceHolderID=&quot;PlaceHolderMain&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;uc2:TestPartPagePost runat=&quot;server&quot; /&gt;<br />
&lt;/asp:Content&gt;</pre><br />
<br />
User Control [TestPartPagePost.ascx]:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Control Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;TestPartPagePost.ascx.cs&quot; Inherits=&quot;BayCare.PreReg.Web.UserControls.TestPartPagePost&quot; %&gt;<br />
&lt;%@ Register Assembly=&quot;AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Namespace=&quot;AjaxControlToolkit&quot; TagPrefix=&quot;cc1&quot; %&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ScriptManager ID=&quot;_preRegScriptManager&quot; EnablePartialRendering=&quot;true&quot;&nbsp; AsyncPostBackTimeout=&quot;200&quot; runat=&quot;server&quot; LoadScriptsBeforeUI=&quot;false&quot; ScriptMode=&quot;Debug&quot; /&gt;<br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Label&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:DropDownList ID=&quot;ddl&quot; runat=&quot;server&quot; OnSelectedIndexChanged=&quot;ddl_SelectedIndexChanged&quot; AutoPostBack=&quot;true&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;1&quot; Value=&quot;1&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;2&quot; Value=&quot;2&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;3&quot; Value=&quot;3&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;4&quot; Value=&quot;4&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;5&quot; Value=&quot;5&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;6&quot; Value=&quot;6&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;7&quot; Value=&quot;7&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem Text=&quot;8&quot; Value=&quot;8&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:DropDownList&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:UpdatePanel ID=&quot;updatePanel&quot; runat=&quot;server&quot; ChildrenAsTriggers=&quot;false&quot; UpdateMode=&quot;Conditional&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ContentTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Repeater ID=&quot;rptr&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div&gt;&lt;%# Container.DataItem %&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:Repeater&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ContentTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Triggers&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:AsyncPostBackTrigger ControlID=&quot;ddl&quot; EventName=&quot;SelectedIndexChanged&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Triggers&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:UpdatePanel&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;</pre><br />
<br />
Code Behind [TestPartialPage.aspx.cs]<br />
<br />
 <pre style="margin:20px; line-height:13px">using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Collections;<br />
using System.Configuration;<br />
using System.Data;<br />
using System.Web.Security;<br />
using System.Web.UI.HtmlControls;<br />
using System.Web.UI.WebControls.WebParts;<br />
using System.Xml.Linq;<br />
<br />
namespace BayCare.PreReg.Web.UserControls<br />
{<br />
&nbsp; &nbsp; public partial class TestPartPagePost : System.Web.UI.UserControl<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; List&lt;string&gt; data = new List&lt;string&gt;();<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (_preRegScriptManager.IsInAsyncPostBack)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label1.Text = &quot;AJAX postback at : &quot; + DateTime.Now.ToString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label1.Text = &quot;Not AJAX postback&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!IsPostBack)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; 1; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data.Add(string.Format(&quot;Item {0}&quot;, i));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.rptr.DataSource = data;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.rptr.DataBind();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.ddl.SelectedIndexChanged += new EventHandler(ddl_SelectedIndexChanged);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void ddl_SelectedIndexChanged(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // get the number selected<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int num = int.Parse(this.ddl.SelectedValue);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; num; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data.Add(string.Format(&quot;Item {0}&quot;, i));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.rptr.DataSource = data;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.rptr.DataBind();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>bylandsend</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233475.html</guid>
		</item>
		<item>
			<title>check offline/online mode</title>
			<link>http://www.daniweb.com/forums/thread233438.html</link>
			<pubDate>Mon, 26 Oct 2009 11:31:56 GMT</pubDate>
			<description>Hi, 
 
How can I get a notification when server goes offline/online in asp.net? 
 
Thanks and regards, 
Ganesh</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
How can I get a notification when server goes offline/online in asp.net?<br />
<br />
Thanks and regards,<br />
Ganesh</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ganeshhegde/ch</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233438.html</guid>
		</item>
		<item>
			<title>How to maintain scroll position.</title>
			<link>http://www.daniweb.com/forums/thread233403.html</link>
			<pubDate>Mon, 26 Oct 2009 08:51:23 GMT</pubDate>
			<description>My page contains datalist that renders small thumbnails of 90 x 70. When i click on thumbnail a large copy of thumbnail in an image control above the datalist is displayed.The problem is page goes to top of its scroll position.I have to scorll down to get to  thumbnail.How can i maintain scrolling...</description>
			<content:encoded><![CDATA[<div>My page contains datalist that renders small thumbnails of 90 x 70. When i click on thumbnail a large copy of thumbnail in an image control above the datalist is displayed.The problem is page goes to top of its scroll position.I have to scorll down to get to  thumbnail.How can i maintain scrolling position of my page?<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;asp:Image ID=&quot;imgCarPhoto&quot; runat=&quot;server&quot; Height=&quot;300px&quot; Width=&quot;385px&quot; /&gt;&amp;nbsp;&lt;asp:DataList ID=&quot;dlstCarPhotos&quot; runat=&quot;server&quot; RepeatDirection=&quot;Horizontal&quot; RepeatColumns=&quot;4&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;#&quot; runat=&quot;server&quot; id=&quot;lnkPreviewImage&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Image ID=&quot;imgCar&quot; runat=&quot;server&quot; ImageUrl='&lt;%#Eval(&quot;PictureID&quot;,&quot;UserControls/imageByPID.ashx?pid={0}&quot;)%&gt;'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Width=&quot;90&quot; Height=&quot;70&quot; AlternateText=&quot;&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:DataList&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>fawadkhalil</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233403.html</guid>
		</item>
		<item>
			<title>Shopping Cart Books</title>
			<link>http://www.daniweb.com/forums/thread233364.html</link>
			<pubDate>Mon, 26 Oct 2009 06:30:40 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I am making a website for Buying Online Books, I am using ASp.Net 2.0 & SQl. 
 
Because the Data needs to be updated Regularly, I want to use CMS. And I have No idea about the code part of CMS(means I don't know how to link CMS to my website). 
 
 
Please Guide Me. 
 
Thanx.....!!]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am making a website for Buying Online Books, I am using ASp.Net 2.0 &amp; SQl.<br />
<br />
Because the Data needs to be updated Regularly, I want to use CMS. And I have No idea about the code part of CMS(means I don't know how to link CMS to my website).<br />
<br />
<br />
Please Guide Me.<br />
<br />
Thanx.....!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>anup.maverick</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233364.html</guid>
		</item>
		<item>
			<title><![CDATA[FormView in asp.net with c# sam[le project]]></title>
			<link>http://www.daniweb.com/forums/thread233352.html</link>
			<pubDate>Mon, 26 Oct 2009 05:30:02 GMT</pubDate>
			<description><![CDATA[hi, 
i wanted to work on FormView control in asp.net with C#.So plz give me sample project with code details.Some basic infromation about FormView. 
 
Thankx & regards 
A.Santhosh Kumar]]></description>
			<content:encoded><![CDATA[<div>hi,<br />
i wanted to work on FormView control in asp.net with C#.So plz give me sample project with code details.Some basic infromation about FormView.<br />
<br />
Thankx &amp; regards<br />
A.Santhosh Kumar</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>santhoshvarma.a</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233352.html</guid>
		</item>
		<item>
			<title>AJAX Tab Control</title>
			<link>http://www.daniweb.com/forums/thread233280.html</link>
			<pubDate>Mon, 26 Oct 2009 00:37:41 GMT</pubDate>
			<description>I have a form the has some textbox controls. I have a script to request these control values to update a table in my database. The problem I am having is that I added the textbox controls to inside the TabContainer and now the request does not see any values. Below is my form and my script code: 
...</description>
			<content:encoded><![CDATA[<div>I have a form the has some textbox controls. I have a script to request these control values to update a table in my database. The problem I am having is that I added the textbox controls to inside the TabContainer and now the request does not see any values. Below is my form and my script code:<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;script runat=&quot;server&quot;&gt;<br />
<br />
Sub Change_Customer(ByVal sender As Object, ByVal e As System.EventArgs)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection = New OleDbConnection(strConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL = &quot;update tblCustomers set Customer_Name='&quot; &amp; Replace(Request(&quot;Customer_Name&quot;), &quot;'&quot;, &quot;''&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSQL += &quot;' where Customer_ID = &quot; &amp; Request(&quot;Customer_ID&quot;)<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; objCommand = New OleDbCommand(strSQL, objConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; objCommand.ExecuteNonQuery()<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; objCommand = Nothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; objConnection = Nothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; End Sub<br />
<br />
&lt;/script&gt;<br />
<br />
<br />
<br />
<br />
&lt;asp:ScriptManager id=&quot;ScriptManager1&quot; runat=&quot;server&quot; /&gt;&nbsp; &nbsp; <br />
&lt;cc1:TabContainer ID=&quot;TabContainer1&quot; runat=&quot;server&quot; ActiveTabIndex=&quot;0&quot; &gt;<br />
&lt;cc1:TabPanel ID=&quot;TabPanel1&quot; runat=&quot;server&quot; HeaderText=&quot;Customer Information&quot; &gt;&lt;ContentTemplate&gt;<br />
<br />
&lt;FORM runat=&quot;server&quot;&gt;<br />
&lt;asp:TextBox class=textbox id=Customer_Name runat=&quot;server&quot; MaxLength=&quot;65&quot; CssClass=&quot;input_text&quot; size=&quot;60&quot;&gt;&lt;/asp:TextBox&gt;<br />
&lt;asp:Button class=submit id=updatebutton onclick=Change_Customer runat=&quot;server&quot; tooltip=&quot;Click to update&quot; Text=&quot;Update&quot;&gt;&lt;/asp:Button&gt;<br />
&lt;/FORM&gt;<br />
<br />
&lt;/cc1:TabPanel&gt;&lt;BR&gt;&lt;cc1:TabPanel ID=&quot;TabPanel2&quot; runat=&quot;server&quot; HeaderText=&quot;Ship To Addresses&quot;&gt;&lt;BR&gt;&lt;/cc1:TabPanel&gt;&lt;BR&gt;&lt;/cc1:TabContainer&gt;</pre><br />
<br />
When the textbox is outside the TabContainer it works fine. In the container the request value is blank. How do I update my table with the value of the textbox in the TabContainer?<br />
<br />
I need to know how to find the textbox controls in the AJAX tab container so I can use the value to update the field in the table. Please show a sample code please.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Stretcher75</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233280.html</guid>
		</item>
		<item>
			<title>Execute MastePage event from a content webform</title>
			<link>http://www.daniweb.com/forums/thread233202.html</link>
			<pubDate>Sun, 25 Oct 2009 17:00:12 GMT</pubDate>
			<description>Hi, I would like to know how can I execute an event from a web content form, for example i would like to run a centralized event to assign rigths to component in every webform, but i would like to do that from the master page so i do not have to redo the same code in all web form load event. 
...</description>
			<content:encoded><![CDATA[<div>Hi, I would like to know how can I execute an event from a web content form, for example i would like to run a centralized event to assign rigths to component in every webform, but i would like to do that from the master page so i do not have to redo the same code in all web form load event.<br />
<br />
Thanks for any help you can provide me. VS2008</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>jbisono</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233202.html</guid>
		</item>
		<item>
			<title>CheckboxList ListItem Onclick not firing</title>
			<link>http://www.daniweb.com/forums/thread233166.html</link>
			<pubDate>Sun, 25 Oct 2009 14:15:01 GMT</pubDate>
			<description><![CDATA[I am using .Net 2 in Vs 2008 and I am trying to get the onclick event for  a checkox to fire when clicked. Unfortunately it is not firing. I can see the code is added to the checkboxs html. 
 
This is the checkboxlist: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right;...]]></description>
			<content:encoded><![CDATA[<div>I am using .Net 2 in Vs 2008 and I am trying to get the onclick event for  a checkox to fire when clicked. Unfortunately it is not firing. I can see the code is added to the checkboxs html.<br />
<br />
This is the checkboxlist:<br />
 <pre style="margin:20px; line-height:13px">&lt;asp:CheckBoxList runat=&quot;server&quot; ID=&quot;chkSides&quot; RepeatColumns=&quot;3&quot; RepeatDirection=&quot;Horizontal&quot; DataValueField=&quot;ItemNo&quot; DataTextField=&quot;ShortName&quot; BackColor=&quot;White&quot; OnDataBound=&quot;chkSides_OnItemDataBound&quot;&nbsp; &gt;&lt;/asp:CheckBoxList&gt;</pre><br />
this is the code that set the onclick attribute:<br />
 <pre style="margin:20px; line-height:13px"> protected void chkSides_OnItemDataBound(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; CheckBoxList chkSides = (CheckBoxList)sender;<br />
&nbsp; &nbsp; &nbsp; &nbsp; foreach (ListItem listitem in chkSides.Items)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; listitem.Attributes.Add(&quot;onclick&quot;, &quot;alert('hey');&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }</pre><br />
The checkboxlist is databound and within a databound repeater.<br />
<br />
Any ideas?<br />
<br />
Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>simmy7</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233166.html</guid>
		</item>
		<item>
			<title>MySql ODBC driver and ASP.Net membership</title>
			<link>http://www.daniweb.com/forums/thread233143.html</link>
			<pubDate>Sun, 25 Oct 2009 11:33:10 GMT</pubDate>
			<description><![CDATA[I want to use asp.net membership in my website for login/logout functionality. I am using MySql ODBC driver for database access and I didn't find any tutorial regarding my problem. 
 
I found the same topic but for MySQL Connector/NET not for MySql ODBC driver as per my requirement. 
 
if it is...]]></description>
			<content:encoded><![CDATA[<div>I want to use asp.net membership in my website for login/logout functionality. I am using MySql ODBC driver for database access and I didn't find any tutorial regarding my problem.<br />
<br />
I found the same topic but for MySQL Connector/NET not for MySql ODBC driver as per my requirement.<br />
<br />
if it is possible then please let me know how is it possible?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>san_crazy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233143.html</guid>
		</item>
		<item>
			<title>Problem in modifying a cookie</title>
			<link>http://www.daniweb.com/forums/thread233113.html</link>
			<pubDate>Sun, 25 Oct 2009 07:57:37 GMT</pubDate>
			<description>Please anyone tell me how can i modify a cookie. I have tried to overwrite it. But it shows the old cookie. How can i modify it.</description>
			<content:encoded><![CDATA[<div>Please anyone tell me how can i modify a cookie. I have tried to overwrite it. But it shows the old cookie. How can i modify it.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Rageela</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233113.html</guid>
		</item>
		<item>
			<title>What should i charge for developing the followin project</title>
			<link>http://www.daniweb.com/forums/thread233024.html</link>
			<pubDate>Sat, 24 Oct 2009 22:53:04 GMT</pubDate>
			<description>Im a recent grad working on my first paid project as an aspiring freelance .net developer. I have no idea what to charge for the project description below: 
 
Client needs a web app to manage sales leads. Sales reps, managers, and call center will all be able to insert a sales lead (name, address,...</description>
			<content:encoded><![CDATA[<div>Im a recent grad working on my first paid project as an aspiring freelance .net developer. I have no idea what to charge for the project description below:<br />
<br />
Client needs a web app to manage sales leads. Sales reps, managers, and call center will all be able to insert a sales lead (name, address, phone number ect ect) into sql database table.<br />
Only the manager will be able to access these records via a GridView of last names arranged alphabeticaly. Once the manager clicks on a name, the details are then presented in a<br />
FormView control. Manager can then assign a rep to each perticular lead.<br />
When a rep logs in he will only see his leads arranged in the same way &quot;Master/details&quot;. He will also be able to update comments unto the nature and state of the lead eg..sold,killed,next month.<br />
Manager will also have the abillity to delete and create new reps and assign them passwords..<br />
<br />
Ive got it all figured out, I just need to know what i could/should charge for this project. Please no hour/rate equations. This wont work for me as i am a recent grad and this will take me twice as long to develop as would a seasoned professional. I am interested in knowing what the final damage should be. I apreciate any feedback.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ricksvoid</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233024.html</guid>
		</item>
		<item>
			<title>What is the difference between PostBack and Callback ( !IsPostBack and if(!IsCallback</title>
			<link>http://www.daniweb.com/forums/thread232965.html</link>
			<pubDate>Sat, 24 Oct 2009 17:16:12 GMT</pubDate>
			<description><![CDATA[Folks! 
 
What is the difference between PostBack and IsCallback ( !IsPostBack and if(!IsCallback))  
 
Like in the following Code Snippet: 
 
  
 
   <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Folks!<br />
<br />
What is the difference between PostBack and IsCallback ( !IsPostBack and if(!IsCallback)) <br />
<br />
Like in the following Code Snippet:<br />
<br />
 <br />
<br />
  <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; public partial class _Default : System.Web.UI.Page<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!IsPostBack)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!IsCallback)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }</pre> <br />
<br />
As far as I know, when I 1) refresh the page or 2) revert back to the page after round trip, the behavior is such that IsPostBack = !IsCallback. I don't find any difference.<br />
<br />
Can you please explain with example code?<br />
<br />
 I just want a sample code (for Page_Load event) that will demonstrate the difference in the Page_Load event so that I can toggle breakpoint and understand it for myself.<br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>qwedster</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232965.html</guid>
		</item>
		<item>
			<title>How to retain ViewState while Page Refresh when using UpdatePanel?</title>
			<link>http://www.daniweb.com/forums/thread232963.html</link>
			<pubDate>Sat, 24 Oct 2009 17:12:27 GMT</pubDate>
			<description><![CDATA[Folks! 
 
The following is a "Hello World" kind of code for ViewState. I just want to know how to retain the ViewState 1) while Page Refresh when using UpdatePanel and also 2) While I reverting back to the page after round trip when using UpdatePanel? 
 
  
 
Code Snippet:]]></description>
			<content:encoded><![CDATA[<div>Folks!<br />
<br />
The following is a &quot;Hello World&quot; kind of code for ViewState. I just want to know how to retain the ViewState 1) while Page Refresh when using UpdatePanel and also 2) While I reverting back to the page after round trip when using UpdatePanel?<br />
<br />
 <br />
<br />
Code Snippet:<br />
<br />
 <br />
<br />
// Default.aspx <br />
<br />
 <br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;Default.aspx.cs&quot; Inherits=&quot;ASPCS2008ViewState._Default&quot; <br />
EnableViewState=&quot;true&quot; ViewStateEncryptionMode=&quot;Always&quot; %&gt;<br />
<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt; xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;<br />
&lt;head runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;title&gt;&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot; &gt;<br />
&nbsp; &nbsp; &lt;asp:ScriptManager ID=&quot;ScriptManager1&quot; runat=&quot;server&quot;&gt;&lt;/asp:ScriptManager&gt;<br />
&nbsp; &nbsp; &lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot; &gt;<br />
&nbsp; &nbsp; &lt;ContentTemplate&gt;<br />
&nbsp;  <br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; Text=&quot;Click&quot; onclick=&quot;Button1_Click&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Button_Click&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;span lang=&quot;en-us&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/span&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;Label2&quot; runat=&quot;server&quot; Text=&quot;IsPostBack&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;span lang=&quot;en-us&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;TextBox2&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/span&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;Label3&quot; runat=&quot;server&quot; Text=&quot;NotIsPostBack&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;span lang=&quot;en-us&quot;&gt;&amp;nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;TextBox3&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/span&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;Label4&quot; runat=&quot;server&quot; Text=&quot;NotIsCallback&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;span lang=&quot;en-us&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;TextBox4&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Button ID=&quot;Button2&quot; runat=&quot;server&quot; Text=&quot;Go Some Page&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onclick=&quot;Button2_Click&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;  &lt;/ContentTemplate&gt;<br />
&nbsp; &nbsp;  &lt;/asp:UpdatePanel&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
<br />
&lt;html<br />
<br />
&nbsp;<br />
<br />
// Default.aspx.cs<br />
<br />
&nbsp;<br />
<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
<br />
namespace ASPCS2008ViewState<br />
{<br />
&nbsp; &nbsp; public partial class _Default : System.Web.UI.Page<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; private int Counter<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; object Instance = ViewState&#91;&quot;Counter&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (Instance == null) ? 0 : (int)Instance;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ViewState&#91;&quot;Counter&quot;&#93; = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private int IsPostBackCounter<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; object Instance = ViewState&#91;&quot;IsPostBackCounter&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (Instance == null) ? 0 : (int)Instance;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ViewState&#91;&quot;IsPostBackCounter&quot;&#93; = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private int NotIsPostBackCounter<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; object Instance = ViewState&#91;&quot;NotIsPostBackCounter&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (Instance == null) ? 0 : (int)Instance;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ViewState&#91;&quot;NotIsPostBackCounter&quot;&#93; = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private int NotIsCallbackCounter<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; object Instance = ViewState&#91;&quot;NotIsCallbackCounter&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (Instance == null) ? 0 : (int)Instance;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ViewState&#91;&quot;NotIsCallbackCounter&quot;&#93; = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IsPostBackCounter++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox2.Text = IsPostBackCounter.ToString();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!IsPostBack)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NotIsPostBackCounter++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox3.Text = NotIsPostBackCounter.ToString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!IsCallback)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NotIsCallbackCounter++;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox4.Text = NotIsCallbackCounter.ToString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Button1_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Counter++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = Counter.ToString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Button2_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(&quot;SomePage.aspx&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected override void OnInit(EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base.OnInit(e);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (Page != null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Page.RegisterRequiresViewStateEncryption();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected override object SaveViewState()<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; object obj = base.SaveViewState();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (Page != null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (Page.ViewStateEncryptionMode == ViewStateEncryptionMode.Never)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throw new Exception(&quot;ViewStateEncryptionMode.Never not allowed when using the SensitiveDataList control.&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return obj;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; <br />
&nbsp; &nbsp; }<br />
}<br />
<br />
&nbsp;<br />
<br />
// SomePage.aspx<br />
<br />
&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;SomePage.aspx.cs&quot; Inherits=&quot;ASPCS2008ViewState.SomePage&quot; <br />
EnableViewState=&quot;true&quot; ViewStateEncryptionMode=&quot;Always&quot; %&gt;<br />
<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt; xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;<br />
&lt;head runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;title&gt;&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;asp:ScriptManager ID=&quot;ScriptManager1&quot; runat=&quot;server&quot;&gt;&lt;/asp:ScriptManager&gt;<br />
&nbsp; &nbsp; &lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot; &gt;<br />
&nbsp; &nbsp; &lt;ContentTemplate&gt;<br />
&nbsp; &nbsp; &lt;p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;span lang=&quot;en-us&quot;&gt;Wellcome to Some Page! &lt;/span&gt;<br />
&nbsp; &nbsp; &lt;/p&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; Text=&quot;Click&quot; onclick=&quot;Button1_Click&quot; /&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Button_Click&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;span lang=&quot;en-us&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &lt;/span&gt;<br />
&nbsp;  <br />
&nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;p&gt;<br />
&nbsp; &nbsp; &lt;asp:Button ID=&quot;Button2&quot; runat=&quot;server&quot; Text=&quot;Go back&quot; onclick=&quot;Button2_Click&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/p&gt;<br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;/ContentTemplate&gt;<br />
&nbsp; &nbsp; &lt;/asp:UpdatePanel&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
<br />
&lt;html<br />
<br />
&nbsp;<br />
<br />
// SomePage.aspx.cs<br />
<br />
&nbsp;<br />
<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
<br />
namespace ASPCS2008ViewState<br />
{<br />
&nbsp; &nbsp; public partial class SomePage : System.Web.UI.Page<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; private int Counter<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; object Instance = ViewState&#91;&quot;Counter&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (Instance == null) ? 0 : (int)Instance;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ViewState&#91;&quot;Counter&quot;&#93; = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Button1_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Counter++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = Counter.ToString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void Button2_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(&quot;Default.aspx&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected override void OnInit(EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base.OnInit(e);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (Page != null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Page.RegisterRequiresViewStateEncryption();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; }<br />
}</pre><br />
 <br />
<br />
Please help!<br />
<br />
 <br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>qwedster</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232963.html</guid>
		</item>
	</channel>
</rss>
