<?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, 21 Nov 2009 01:45:49 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>Causes Validation on only some fields</title>
			<link>http://www.daniweb.com/forums/thread240051.html</link>
			<pubDate>Fri, 20 Nov 2009 17:44:29 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I have 6 fields (3 on the top) and (3 on the bottom). The 3 on the top are: 
 
Current email: 
New email: 
Confirm email: 
<Submit> <Cancel> 
 
Current password:]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I have 6 fields (3 on the top) and (3 on the bottom). The 3 on the top are:<br />
<br />
Current email:<br />
New email:<br />
Confirm email:<br />
&lt;Submit&gt; &lt;Cancel&gt;<br />
<br />
Current password:<br />
New password:<br />
Confirm password:<br />
&lt;Submit&gt; &lt;Cancel&gt;<br />
<br />
Also each one has a required field validations.<br />
<br />
Now if someone fills the email section and presses submit, I get missing fields error in the password section. My question is how to separate the two section so that the submit button causes validation <span style="font-weight:bold">only</span> to the fields its associated with?<br />
<br />
thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>all4peace</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread240051.html</guid>
		</item>
		<item>
			<title>Selecting a record from a datagrid and passing it as a variable</title>
			<link>http://www.daniweb.com/forums/thread240043.html</link>
			<pubDate>Fri, 20 Nov 2009 16:23:42 GMT</pubDate>
			<description>I am creating a page to search for a user in a database and display the results in a gata grid (Which i have done) Then i would like to select one of the results and use this record by holding it as a variable and pass it back into the database (which i cant do!) Help! 
 
this is the aspx.VB code 
...</description>
			<content:encoded><![CDATA[<div>I am creating a page to search for a user in a database and display the results in a gata grid (Which i have done) Then i would like to select one of the results and use this record by holding it as a variable and pass it back into the database (which i cant do!) Help!<br />
<br />
this is the aspx.VB code<br />
<br />
 <pre style="margin:20px; line-height:13px">Imports System.Data.OleDb<br />
Imports System.Data<br />
Partial Class Search3<br />
&nbsp; &nbsp; Inherits System.Web.UI.Page<br />
<br />
&nbsp; &nbsp; Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub Button2_OnClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objCommand As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objAdapter As OleDbDataAdapter<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objDataSet As DataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSearch As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objConnection As String = (&quot;Provider=Microsoft.ACE.OLEDB.12.0;&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;Data Source=&quot; &amp; Server.MapPath(&quot;DB\ScrumManagementSystem.accdb&quot;) &amp; &quot;;&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cn As New OleDbConnection(objConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSQLQuery As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSearch = TextBox1.Text<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If Len(Trim(strSearch)) &gt; 0 Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strSQLQuery = &quot;SELECT FName &amp; SName &amp; ProductOwnerRole FROM tblUser WHERE ProductOwnerRole &lt;&gt; 'false' AND FName LIKE '%&quot; &amp; Replace(strSearch, &quot;'&quot;, &quot;''&quot;) &amp; &quot;%' ORDER BY FName;&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objCommand = New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter = New OleDbDataAdapter(objCommand)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objDataSet = New DataSet()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter.Fill(objDataSet)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging1.DataSource = objDataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging1.DataBind()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = &quot;Enter search criteria!&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub Button3_OnClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objCommand As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objAdapter As OleDbDataAdapter<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objDataSet As DataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSearch As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objConnection As String = (&quot;Provider=Microsoft.ACE.OLEDB.12.0;&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;Data Source=&quot; &amp; Server.MapPath(&quot;DB\ScrumManagementSystem.accdb&quot;) &amp; &quot;;&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cn As New OleDbConnection(objConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSQLQuery As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSearch = TextBox2.Text<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If Len(Trim(strSearch)) &gt; 0 Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strSQLQuery = &quot;SELECT ProjectName &amp; Description FROM tblProject WHERE ProjectName LIKE '%&quot; &amp; Replace(strSearch, &quot;'&quot;, &quot;''&quot;) &amp; &quot;%' ORDER BY ProjectName;&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objCommand = New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter = New OleDbDataAdapter(objCommand)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objDataSet = New DataSet()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter.Fill(objDataSet)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging2.DataSource = objDataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging2.DataBind()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox2.Text = &quot;Enter search criteria!&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<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 />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Declaration of variables<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim myConnection2 As OleDbConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim myCommand2 As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim sql As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim dlstDataListItem As DataListItem<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim intItemIndex As Int32<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'SQL query to access the table tblProject<br />
&nbsp; &nbsp; &nbsp; &nbsp; sql = &quot;insert into tblProject &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; sql = sql &amp; &quot;(ProjectName)&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; sql = sql &amp; &quot;values('&quot;&nbsp; &quot;')&quot;<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Creates a connection to the database<br />
&nbsp; &nbsp; &nbsp; &nbsp; myConnection2 = New OleDbConnection(&quot;Provider=Microsoft.ACE.OLEDB.12.0;&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;Data Source=&quot; &amp; Server.MapPath(&quot;DB\ScrumManagementSystem.accdb&quot;) &amp; &quot;;&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Opens a connection<br />
&nbsp; &nbsp; &nbsp; &nbsp; myConnection2.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; myCommand2 = New OleDbCommand(sql, myConnection2)<br />
&nbsp; &nbsp; &nbsp; &nbsp; myCommand2.ExecuteNonQuery()<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Closes the connection<br />
&nbsp; &nbsp; &nbsp; &nbsp; myConnection2.Close()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Declaration of variables<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim myConnection As OleDbConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim myCommand As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim sql1 As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'SQL query to access the table tblProject<br />
&nbsp; &nbsp; &nbsp; &nbsp; sql1 = &quot;insert into tblProject &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; sql1 = sql1 &amp; &quot;(FName)&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; sql1 = sql1 &amp; &quot;values(LinkButton2)&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Creates a connection to the database<br />
&nbsp; &nbsp; &nbsp; &nbsp; myConnection = New OleDbConnection(&quot;Provider=Microsoft.ACE.OLEDB.12.0;&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &amp; &quot;Data Source=&quot; &amp; Server.MapPath(&quot;DB\ScrumManagementSystem.accdb&quot;) &amp; &quot;;&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Opens a connection<br />
&nbsp; &nbsp; &nbsp; &nbsp; myConnection.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; myCommand = New OleDbCommand(sql1, myConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; myCommand.ExecuteNonQuery()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Closes the connection<br />
&nbsp; &nbsp; &nbsp; &nbsp; myConnection.Close()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(&quot;ProductBacklog.aspx&quot;)<br />
&nbsp; &nbsp; End Sub<br />
End Class</pre><br />
this is the aspx code<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; CodeFile=&quot;Search3.aspx.vb&quot; Inherits=&quot;Search3&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 />
<br />
&nbsp; &nbsp; &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &lt;title&gt;Untitled Page&lt;/title&gt;<br />
&nbsp; &nbsp; &lt;style type=&quot;text/css&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; #Select1<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; height: 54px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width: 138px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&lt;div id=&quot;site&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=&quot;header&quot;&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp;  &lt;img src = &quot;images/header.gif&quot; alt=&quot;.NETMARE LOGO&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;div id=&quot;menu&quot;&gt;&lt;!--#include file=&quot;menutest.html&quot;--&gt;&lt;/div&gt;<br />
<br />
&lt;h1&gt;Adding product owners to projects&lt;/h1&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp;  &lt;div class=&quot;box-content&quot;&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Enter a registered product owner&quot;&gt;&lt;/asp:Label&gt;<br />
&amp;nbsp;&lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &amp;nbsp;&amp;nbsp;&lt;asp:Button ID=&quot;Button2&quot; runat=&quot;server&quot; Height=&quot;22px&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  style=&quot;font-weight: 700&quot; Text=&quot;Search&quot; Width=&quot;57px&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &amp;nbsp;&amp;nbsp;&amp;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;Results:&quot;&gt;&lt;/asp:Label&gt;<br />
&amp;nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;asp:GridView ID=&quot;dgPaging1&quot; runat=&quot;server&quot;&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Columns&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:CommandField ShowSelectButton=&quot;True&quot; /&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TemplateField ShowHeader=&quot;false&quot;&gt;&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; &lt;ItemTemplate&gt;&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;LinkButton1&quot; runat=&quot;server&quot; CommandName=&quot;Select&quot; Text=&quot;Select B&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TemplateField&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;/Columns&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;/asp:GridView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&amp;nbsp;&lt;asp:Label ID=&quot;Label2&quot; runat=&quot;server&quot; Text=&quot;Enter a project to add them to:&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;asp:TextBox ID=&quot;TextBox2&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;asp:Button ID=&quot;Button3&quot; runat=&quot;server&quot; Height=&quot;20px&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  style=&quot;font-weight: 700&quot; Text=&quot;Search&quot; Width=&quot;62px&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;asp:Label ID=&quot;Label4&quot; runat=&quot;server&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Text=&quot;Results:&quot;&gt;&lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;asp:GridView ID=&quot;dgPaging2&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;Columns&gt;&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TemplateField ShowHeader=&quot;false&quot;&gt;&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt;&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;LinkButton2&quot; runat=&quot;server&quot; CommandName=&quot;Select&quot; Text=&quot;Select&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:LinkButton&gt;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:TemplateField&gt;&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Columns&gt;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;/asp:GridView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &amp;nbsp;&lt;br /&gt;<br />
&nbsp; &nbsp;  &lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; style=&quot;font-weight: 700&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Text=&quot;Update&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp;  &lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  &lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &lt;div id=&quot;footer&quot;&gt;&lt;!--#include file=&quot;footer.html&quot;--&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &lt;/div&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>15389049</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread240043.html</guid>
		</item>
		<item>
			<title>Convert doc file to gif file</title>
			<link>http://www.daniweb.com/forums/thread239979.html</link>
			<pubDate>Fri, 20 Nov 2009 09:57:26 GMT</pubDate>
			<description>Hi, 
 
I wanted to develop an application which can  generate images (GIFs) of microsoft documents(like doc,docx,xls). 
 
Thanks, 
Raymond</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I wanted to develop an application which can  generate images (GIFs) of microsoft documents(like doc,docx,xls).<br />
<br />
Thanks,<br />
Raymond</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>raymondhsu09</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239979.html</guid>
		</item>
		<item>
			<title>Image capturing in ASP.NEt 3.5 using Webcam</title>
			<link>http://www.daniweb.com/forums/thread239928.html</link>
			<pubDate>Fri, 20 Nov 2009 05:47:34 GMT</pubDate>
			<description>Hi, 
 
I would like to capture the image using WebCam and store it in database. I am using ASP.NET 3.5, C#, Visual Studio 2008, SQL Server 2008, Windows Vista Business (O.S), IIS 7.0 and IE 7.0. I want to integrate WebCam functionality in my Web Application. My requirement is, the end user can view...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I would like to capture the image using WebCam and store it in database. I am using ASP.NET 3.5, C#, Visual Studio 2008, SQL Server 2008, Windows Vista Business (O.S), IIS 7.0 and IE 7.0. I want to integrate WebCam functionality in my Web Application. My requirement is, the end user can view the image (i.e., preview from the WebCam)  in the Web page using ActiveX Control (in my case videocapx.ocx is the ActiveX Control). And on clik of &quot;Capture&quot; button, the image has to be capture and stored in database. For this I have installed &quot;VideoCapX&quot; software. I am using &quot;ZEBRONICS&quot; WebCam to capture images. Its model number is &quot;Eagle's eye ZEB-480WC&quot;. How can I integrate &quot;videocapx.ocx ActiveX Control&quot; in my web page, so that end user can preview the image. <br />
<br />
Please help me out. It is very urgent. Thanks inadvnce.<br />
<br />
OR<br />
<br />
Is there any way to capture image using webcam @ client side.<br />
In my case both Client &amp; Server are same.<br />
How can I acheive this.<br />
If it is possible using some other way, please give your suggestions.<br />
<br />
Thanks &amp; Regards,<br />
VKK Reddy.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>vkkreddy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239928.html</guid>
		</item>
		<item>
			<title>Find control inside AJAX.Net UpdatePanel</title>
			<link>http://www.daniweb.com/forums/thread239913.html</link>
			<pubDate>Fri, 20 Nov 2009 04:18:35 GMT</pubDate>
			<description><![CDATA[Dear all, 
before using AJAX.Net, when I wanted to find control in form, 
I used this code 
 
  <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>Dear all,<br />
before using AJAX.Net, when I wanted to find control in form,<br />
I used this code<br />
<br />
 <pre style="margin:20px; line-height:13px"> Dim SQL As String = &quot;SELECT CurrencyID, CurrencyID FROM MasterCurrency ORDER BY CurrencyID&quot;<br />
&nbsp;Dim ctl As Object<br />
<br />
&nbsp;For Each ctl In Me.FindControl(&quot;form1&quot;).Controls<br />
&nbsp; &nbsp;  If LCase(Left(ctl.id, 6)) = &quot;cmbccy&quot; Then FillControl(ctl, SQL)<br />
&nbsp;Next</pre>now, after I'm implementing AJAX.Net, ASP.Net couldn't find all controls inside UpdatePanel.<br />
ASP.Net only finds UpdatePanel control<br />
<br />
Does any one know how to find controls inside UpdatePanel?<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Kusno</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239913.html</guid>
		</item>
		<item>
			<title>Resizable GridView</title>
			<link>http://www.daniweb.com/forums/thread239855.html</link>
			<pubDate>Thu, 19 Nov 2009 22:22:08 GMT</pubDate>
			<description>Dear friends, 
 
Could somebody please help me make a gridview that can be resized with a mouse? 
 
Thank you in advance, 
Dmitriy</description>
			<content:encoded><![CDATA[<div>Dear friends,<br />
<br />
Could somebody please help me make a gridview that can be resized with a mouse?<br />
<br />
Thank you in advance,<br />
Dmitriy</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dpreznik</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239855.html</guid>
		</item>
		<item>
			<title>Multiview and Buttons</title>
			<link>http://www.daniweb.com/forums/thread239789.html</link>
			<pubDate>Thu, 19 Nov 2009 15:54:39 GMT</pubDate>
			<description><![CDATA[Hi Guys. I have a problem with my code, It should work as an membership creator, and has 4 steps, 3 steps are in multiview1, and the 4th steep is to show the message, "Your Account has been successfully created" which is on multiview2. The buttons are "back", "next" and "confirm". The problem is...]]></description>
			<content:encoded><![CDATA[<div>Hi Guys. I have a problem with my code, It should work as an membership creator, and has 4 steps, 3 steps are in multiview1, and the 4th steep is to show the message, &quot;Your Account has been successfully created&quot; which is on multiview2. The buttons are &quot;back&quot;, &quot;next&quot; and &quot;confirm&quot;. The problem is that when 4th step appears the buttons should not appear. This needs to be used only as an simulation, doesn't need to send the forms data to anywhere.<br />
<br />
Will appreciate your help<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;asp:MultiView ID=&quot;MultiView1&quot; runat=&quot;server&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onactiveviewchanged=&quot;MultiView1_ActiveViewChanged&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:View ID=&quot;View1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Step 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:View&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:View ID=&quot;View2&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Step 2<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:View&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:View ID=&quot;View3&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Step 3<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:View&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:MultiView&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Button ID=&quot;btnBack&quot; runat=&quot;server&quot; Text=&quot;&amp;lt; Back &quot; OnClick=&quot;btnBack_Click&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Button ID=&quot;btnNext&quot; runat=&quot;server&quot; Text=&quot;Next &amp;gt;&quot; OnClick=&quot;btnNext_Click&quot; /&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Button ID=&quot;btnSend&quot; runat=&quot;server&quot; Text=&quot;Confirm&quot; OnClick=&quot;btnSend_Click&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:MultiView ID=&quot;MultiView2&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:View ID=&quot;View4&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Step 4&nbsp; - Your Account has been successfully created<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:View&gt;<br />
&nbsp; &nbsp; &lt;/asp:MultiView&gt;</pre><br />
and the code behind is as follow<br />
<br />
 <pre style="margin:20px; line-height:13px">using System;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Web.UI.HtmlControls;<br />
<br />
public partial class _Default : System.Web.UI.Page<br />
{<br />
&nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; { }<br />
<br />
&nbsp; &nbsp; protected void btnBack_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; MultiView1.ActiveViewIndex--;<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; protected void btnNext_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; MultiView1.ActiveViewIndex++;<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; protected void btnSend_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; MultiView2.ActiveViewIndex++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; MultiView2.Visible = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; MultiView1.Visible = false;<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; protected override void OnPreRender(EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; btnBack.Visible = MultiView1.ActiveViewIndex &gt; 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; btnNext.Visible = MultiView1.ActiveViewIndex &lt; MultiView1.Views.Count - 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; btnSend.Visible = MultiView1.ActiveViewIndex == MultiView1.Views.Count - 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; base.OnPreRender(e);<br />
&nbsp; &nbsp; &nbsp; &nbsp; MultiView2.Visible = true;<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; protected void MultiView1_ActiveViewChanged(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; }<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>andyherebi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239789.html</guid>
		</item>
		<item>
			<title>Xsl Transformation, XML - saving data</title>
			<link>http://www.daniweb.com/forums/thread239734.html</link>
			<pubDate>Thu, 19 Nov 2009 12:22:15 GMT</pubDate>
			<description>Hi. 
 
I am trying to build simple web application in ASP.NET.  
I have xml file with data and xsl file to transform xml file into html doc which will be presented in the browser window and everything is working fine.  
What funcionallity do I want? 
I want user to enter some text into textboxes...</description>
			<content:encoded><![CDATA[<div>Hi.<br />
<br />
I am trying to build simple web application in ASP.NET. <br />
I have xml file with data and xsl file to transform xml file into html doc which will be presented in the browser window and everything is working fine. <br />
What funcionallity do I want?<br />
I want user to enter some text into textboxes and I want this data to be saved into source xml file by clicking for example Save button - I think that it is reversion of transformation process (from html into xml). Can I do something like that? Is it hard to achieve? <br />
<br />
regards</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>krokodajl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239734.html</guid>
		</item>
		<item>
			<title>Populating a dataList using OleDb</title>
			<link>http://www.daniweb.com/forums/thread239719.html</link>
			<pubDate>Thu, 19 Nov 2009 11:39:35 GMT</pubDate>
			<description>I am trying to populate a DataLost using a OleDb connection to a database. I can access the database easily and read in the data i want to display. However binding and displaying the data is diffcuit. I can display in gridview but i cant select the results to be used again. Help please! 
 
 
  
 ...</description>
			<content:encoded><![CDATA[<div>I am trying to populate a DataLost using a OleDb connection to a database. I can access the database easily and read in the data i want to display. However binding and displaying the data is diffcuit. I can display in gridview but i cant select the results to be used again. Help please!<br />
<br />
<br />
 <br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; Protected Sub Button2_OnClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objCommand As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objAdapter As OleDbDataAdapter<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objDataSet As DataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSearch As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objConnection As String = (&quot;Provider=Microsoft.ACE.OLEDB.12.0;&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;Data Source=&quot; &amp; Server.MapPath(&quot;DB\ScrumManagementSystem.accdb&quot;) &amp; &quot;;&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cn As New OleDbConnection(objConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSQLQuery As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSearch = TextBox1.Text<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If Len(Trim(strSearch)) &gt; 0 Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strSQLQuery = &quot;SELECT FName &amp; SName FROM tblUser WHERE FName LIKE '%&quot; &amp; Replace(strSearch, &quot;'&quot;, &quot;''&quot;) &amp; &quot;%' ORDER BY FName;&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objCommand = New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter = New OleDbDataAdapter(objCommand)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objDataSet = New DataSet()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter.Fill(objDataSet)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'DataList1.DataSource = objDataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'DataList1.DataBind()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = &quot;Enter search criteria!&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; End Sub</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>15389049</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239719.html</guid>
		</item>
		<item>
			<title>Passing textbox1 form values to sql database</title>
			<link>http://www.daniweb.com/forums/thread239694.html</link>
			<pubDate>Thu, 19 Nov 2009 10:07:40 GMT</pubDate>
			<description>I am new to aspx and sql.  I have written some code with vb.net 2005 (visual studio) to do some calculations and poplate some textboxes on my web form. 
 
I dont understand how to pass those values to a paramerter then use that value to write to my sql database.  I found this code but the...</description>
			<content:encoded><![CDATA[<div>I am new to aspx and sql.  I have written some code with vb.net 2005 (visual studio) to do some calculations and poplate some textboxes on my web form.<br />
<br />
I dont understand how to pass those values to a paramerter then use that value to write to my sql database.  I found this code but the VALUES(.....................) in the single quotes are placed in the database and not the values themselves.  So I tried without quotes and got strange error sayng the the value was some kind of column header.  PLEASE HELP.  <br />
<br />
I am a novice programmer so please dont use to much technical jargon...thanks! :)<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; Dim oDR As System.Data.SqlClient.SqlDataReader<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim oCom As System.Data.SqlClient.SqlCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim oConn As System.Data.SqlClient.SqlConnection<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Try<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oConn = New System.Data.SqlClient.SqlConnection(&quot;server=xxxxx.com; initial catalog=db303095; uid=dbo303095; pwd=XXXXXXXX&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oConn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCom = New System.Data.SqlClient.SqlCommand()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCom.Connection = oConn<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'oCom.CommandText = &quot;WRITE * To Children&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim surnX As String = TextBox1.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim middleX As String = TextBox2.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim firstX As String = TextBox3.Text<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim ofstX As String = TextBox4.Text<br />
<br />
*** so how to i pass the about variables to the values below ***<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'The first set are the column names.&nbsp; Confirmed 18/11/09.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCom.CommandText = &quot;INSERT INTO Children(First,Middle,Last,Ofsted) VALUES(@abc,'textbox1.text','textbox4.text','textbox2.text') &quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCom.ExecuteNonQuery()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Catch<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Write(&quot;Error:&quot; &amp; Err.Description)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Finally<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oDR = Nothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCom = Nothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oConn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oConn = Nothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; End Try</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>raphipps</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239694.html</guid>
		</item>
		<item>
			<title>Forms Authentication and AD and SQL</title>
			<link>http://www.daniweb.com/forums/thread239668.html</link>
			<pubDate>Thu, 19 Nov 2009 07:31:02 GMT</pubDate>
			<description><![CDATA[Guys please help me. 
 
I am kinda new to ASP.net 
 
Luckily I've manage log-in using forms authentication so that i could have a customize log-in page based on my Active Directory. 
Now a Problem arise. I have to connect to my SQL EXPRESS database using the log-in I use. My SQL Express is using...]]></description>
			<content:encoded><![CDATA[<div>Guys please help me.<br />
<br />
I am kinda new to ASP.net<br />
<br />
Luckily I've manage log-in using forms authentication so that i could have a customize log-in page based on my Active Directory.<br />
Now a Problem arise. I have to connect to my SQL EXPRESS database using the log-in I use. My SQL Express is using only windows authentication, and when I try to connect to SQL i get the error..<br />
 <pre style="margin:20px; line-height:13px">Cannot open database &quot;DatabaseName&quot; requested by the login. The login failed.</pre><br />
here is my web.config code<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;configuration&gt;<br />
<br />
&lt;connectionStrings&gt;<br />
&nbsp; &lt;add connectionString=&quot;LDAP://domain.com/DC=domain,DC=com&quot; name=&quot;ADConnectionString&quot; /&gt;<br />
&nbsp;&lt;/connectionStrings&gt;<br />
&nbsp; &lt;system.web&gt;<br />
&lt;roleManager defaultProvider=&quot;AspNetWindowsTokenRoleProvider&quot; /&gt;<br />
&lt;membership defaultProvider=&quot;MyADMembershipProvider&quot;&gt;<br />
&nbsp; &lt;providers&gt;<br />
&nbsp; &nbsp; &lt;add name=&quot;MyADMembershipProvider&quot; type=&quot;System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; connectionStringName=&quot;ADConnectionString&quot; enableSearchMethods=&quot;True&quot; attributeMapUsername=&quot;sAMAccountName&quot; /&gt;<br />
&nbsp; &lt;/providers&gt;<br />
&nbsp;&lt;/membership&gt;<br />
<br />
<br />
<br />
&nbsp; &nbsp; &lt;!--membership provider entry goes here--&gt;<br />
&nbsp; &nbsp; &lt;authentication mode=&quot;Forms&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;forms name=&quot;.ADAuthCookie&quot; timeout=&quot;10&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/authentication&gt;<br />
<br />
&nbsp; &nbsp; &lt;authorization&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;deny users=&quot;?&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;allow users=&quot;*&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/authorization&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;identity impersonate=&quot;true&quot; /&gt;<br />
&nbsp; &lt;/system.web&gt;<br />
&lt;/configuration&gt;</pre><br />
hope you guys can help me<br />
<br />
Regards</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Cruize_Invades</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239668.html</guid>
		</item>
		<item>
			<title>Help me to encrypt class object: Is it possible?</title>
			<link>http://www.daniweb.com/forums/thread239645.html</link>
			<pubDate>Thu, 19 Nov 2009 04:59:24 GMT</pubDate>
			<description>Hi, 
I would like to encrypt the class object and session state which contains dataset data. Plz help me if those are possible. 
 
 
Thanks and Regards 
krishna v</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I would like to encrypt the class object and session state which contains dataset data. Plz help me if those are possible.<br />
<br />
<br />
Thanks and Regards<br />
krishna v</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>kittu_sra</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239645.html</guid>
		</item>
		<item>
			<title>Creating Connection to Access</title>
			<link>http://www.daniweb.com/forums/thread239606.html</link>
			<pubDate>Thu, 19 Nov 2009 01:21:30 GMT</pubDate>
			<description>Hi there. Any idea on how to create a connection to microsoft access with C# to asp.net so that we can retrieve data from data base and compare. Using web application.</description>
			<content:encoded><![CDATA[<div>Hi there. Any idea on how to create a connection to microsoft access with C# to asp.net so that we can retrieve data from data base and compare. Using web application.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>facadie</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239606.html</guid>
		</item>
		<item>
			<title>How to pass array of data from html form to C#.net</title>
			<link>http://www.daniweb.com/forums/thread239509.html</link>
			<pubDate>Wed, 18 Nov 2009 17:10:43 GMT</pubDate>
			<description><![CDATA[<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 Tags" target="_blank">Help with Code Tags</a> </div> <div> <strong>ASP.NET Syntax</strong>...]]></description>
			<content:encoded><![CDATA[<div> <pre style="margin:20px; line-height:13px">itemlist[loc] = new product(codes,size,descrip,color,olditem + 1,url)}<br />
&nbsp; &nbsp; else // new item<br />
&nbsp; &nbsp; {olditem =&nbsp; itemlist[item_num].quan<br />
&nbsp; &nbsp; itemlist[item_num] = new product(codes,size,descrip,color,olditem + 1,url);<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; items_ordered = item_num<br />
&nbsp; &nbsp; item_num = item_num + 1<br />
&nbsp; &nbsp;  }</pre><br />
The above code is in javascript.<br />
the value of 'itemlist' is set whenever i click on additem in different html pages. I want to pass this itemlist values to default.aspx.cs so that it can display a confirmation page with all these values. Can you tell me what code i have to use in default.aspx.cs<br />
I tried using hidden variable in the html page which had the above java script n pass the hidden value to default.aspx.cs. But this did not work out for me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>roraa</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239509.html</guid>
		</item>
		<item>
			<title>Deleting duplicate fields</title>
			<link>http://www.daniweb.com/forums/thread239443.html</link>
			<pubDate>Wed, 18 Nov 2009 12:43:59 GMT</pubDate>
			<description>Does anyone knows about how we can delete duplicate fields in the database? 
Thank u in advance.......</description>
			<content:encoded><![CDATA[<div>Does anyone knows about how we can delete duplicate fields in the database?<br />
Thank u in advance.......</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/thread239443.html</guid>
		</item>
		<item>
			<title>Displaying search results in a Data List</title>
			<link>http://www.daniweb.com/forums/thread239436.html</link>
			<pubDate>Wed, 18 Nov 2009 11:53:18 GMT</pubDate>
			<description><![CDATA[I am working on a project, its purpose is to search a database and display the results in a data list so they can be used. I have the search working correctly but it only outputs to a data grid. Help please! 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right;...]]></description>
			<content:encoded><![CDATA[<div>I am working on a project, its purpose is to search a database and display the results in a data list so they can be used. I have the search working correctly but it only outputs to a data grid. Help please!<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; Protected Sub Button2_OnClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objCommand As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objAdapter As OleDbDataAdapter<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objDataSet As DataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSearch As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objConnection As String = (&quot;Provider=Microsoft.ACE.OLEDB.12.0;&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;Data Source=&quot; &amp; Server.MapPath(&quot;DB\ScrumManagementSystem.accdb&quot;) &amp; &quot;;&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim cn As New OleDbConnection(objConnection)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSQLQuery As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; strSearch = TextBox1.Text<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If Len(Trim(strSearch)) &gt; 0 Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strSQLQuery = &quot;SELECT FName &amp; SName FROM tblUser WHERE FName LIKE '%&quot; &amp; Replace(strSearch, &quot;'&quot;, &quot;''&quot;) &amp; &quot;%' ORDER BY FName;&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Open()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cmd As New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objCommand = New OleDbCommand(strSQLQuery, cn)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter = New OleDbDataAdapter(objCommand)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objDataSet = New DataSet()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter.Fill(objDataSet)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging1.DataSource = objDataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging1.DataBind()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cn.Close()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = &quot;Enter search criteria!&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; End Sub</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>15389049</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239436.html</guid>
		</item>
		<item>
			<title>how to get value for RadioButtonList control ..!!</title>
			<link>http://www.daniweb.com/forums/thread239387.html</link>
			<pubDate>Wed, 18 Nov 2009 07:54:41 GMT</pubDate>
			<description>hello.. 
 
m developing web application ..in it m going to use RadioButtonList control... 
 
well.. problem is want to get value for RadioButtonList control from databse.. 
 
here is ma code.. 
 
this is aspx code file..</description>
			<content:encoded><![CDATA[<div>hello..<br />
<br />
m developing web application ..in it m going to use RadioButtonList control...<br />
<br />
well.. problem is want to get value for RadioButtonList control from databse..<br />
<br />
here is ma code..<br />
<br />
this is aspx code file..<br />
<br />
  <pre style="margin:20px; line-height:13px"> &lt; asp:RadioButtonList ID=&quot;RadioButtonList1&quot; runat=&quot;server&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RepeatDirection=&quot;Horizontal&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem&gt;Web&lt;/asp:ListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem&gt;DeskTop&lt;/asp:ListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:RadioButtonList&gt;</pre><br />
this is aspx.cs code file<br />
<br />
 <pre style="margin:20px; line-height:13px"><br />
&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 />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strcon.Open();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OleDbCommand cmd = new OleDbCommand(&quot;select webapp from TestData&quot;, strcon);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd.CommandType = CommandType.Text;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OleDbDataReader reader = cmd.ExecuteReader();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (reader.Read())<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  RadioButtonList1 .SelectedValue = reader [&quot;webapp&quot;].ToString ();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  strcon.Close();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
<br />
here i had used access databse as primary ...<br />
<br />
in tht thr is table named TestData with webapp field...<br />
<br />
while reading data from databse it does not give any result..<br />
<br />
<br />
i had also tried to bind RadioButtonList control with databse bt the list items doesn't thr...only giving true  &amp; false..<br />
<br />
tell me whr m going wrong?<br />
<br />
thanks ...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>krazyk</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239387.html</guid>
		</item>
		<item>
			<title>need of a word editor</title>
			<link>http://www.daniweb.com/forums/thread239375.html</link>
			<pubDate>Wed, 18 Nov 2009 06:50:20 GMT</pubDate>
			<description>hi.. 
im in need of a free word editor which can be used in my website.. 
 
if any1 knows where i can find it, please let me know.and also tell me how to use it too... 
 
Thanks..</description>
			<content:encoded><![CDATA[<div>hi..<br />
im in need of a free word editor which can be used in my website..<br />
<br />
if any1 knows where i can find it, please let me know.and also tell me how to use it too...<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/thread239375.html</guid>
		</item>
		<item>
			<title>Drop Down in Asp.net</title>
			<link>http://www.daniweb.com/forums/thread239285.html</link>
			<pubDate>Tue, 17 Nov 2009 21:18:16 GMT</pubDate>
			<description><![CDATA[ok this is my scenario. I've never coded in asp.net. I can manipulate it a  
little bit because I have some coding knowledge but I don't know what I  
am doing so I need help figuring out how to do this. 
 
This is what I'm trying to do...I have this drop down menu that has US jobs in it. I want...]]></description>
			<content:encoded><![CDATA[<div>ok this is my scenario. I've never coded in asp.net. I can manipulate it a <br />
little bit because I have some coding knowledge but I don't know what I <br />
am doing so I need help figuring out how to do this.<br />
<br />
This is what I'm trying to do...I have this drop down menu that has US jobs in it. I want when a person clicks a state the jobs available in that state appear. The jobs also have to be links. I just want the job title to appear. I have the descriptions and such on individual pages and I don't want to utilize a DB.<br />
<br />
Is there a way, when the user selects the state the results are posted back to the user?<br />
<br />
For instance I saw the code attached online. Is there a way I can manipulate this and say if the state is Florida print out florida jobs? <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;C#&quot; %&gt;<br />
&lt;script runat=&quot;server&quot;&gt;<br />
<br />
&nbsp; &nbsp; void page_Load()<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp;  if(Page.IsPostBack)<br />
&nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if(chkIsMember.Checked==true){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lblOut.Text = &quot;Members get a free ticket&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lblOut.BackColor=System.Drawing.Color.LightPink;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  else if(Convert.ToInt32(txtAge.Text)&lt;=18) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lblOut.Text = &quot;Students get a free ticket&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lblOut.BackColor=System.Drawing.Color.LightPink;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lblOut.Text = &quot;Price is 500&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lblOut.BackColor=System.Drawing.Color.LightSeaGreen;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }<br />
&nbsp; &nbsp; &nbsp; &nbsp;  }<br />
&nbsp; &nbsp; }<br />
<br />
&lt;/script&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &lt;form runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Please enter your age <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:TextBox id=&quot;txtAge&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Are you a member? <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:CheckBox id=&quot;chkIsMember&quot; runat=&quot;server&quot;&gt;&lt;/asp:CheckBox&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Button id=&quot;Button1&quot; runat=&quot;server&quot; Text=&quot;Submit&quot;&gt;&lt;/asp:Button&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label id=&quot;lblOut&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&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>misslilbit02</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239285.html</guid>
		</item>
		<item>
			<title>Executing SQL Stored Procedures</title>
			<link>http://www.daniweb.com/forums/thread239210.html</link>
			<pubDate>Tue, 17 Nov 2009 14:21:50 GMT</pubDate>
			<description><![CDATA[[I m still a newbie in ASP.Net] I want to create an interface with asp.net for an SQL backend. On the interface i want the buttons to be able to execute some stored procedures. Any Ideas? Or code]]></description>
			<content:encoded><![CDATA[<div>[I m still a newbie in ASP.Net] I want to create an interface with asp.net for an SQL backend. On the interface i want the buttons to be able to execute some stored procedures. Any Ideas? Or code</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Blake98</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239210.html</guid>
		</item>
		<item>
			<title>Crystal report in asp.net c#</title>
			<link>http://www.daniweb.com/forums/thread239169.html</link>
			<pubDate>Tue, 17 Nov 2009 09:58:13 GMT</pubDate>
			<description>I am trying to do grouping the rows according to one field but its getting two rows in detail section of grouped rows instead of one ie same row details is getting duplicated one more time.I try ed the linking of the tables selected for the report all into inner join(using selection expert) then...</description>
			<content:encoded><![CDATA[<div>I am trying to do grouping the rows according to one field but its getting two rows in detail section of grouped rows instead of one ie same row details is getting duplicated one more time.I try ed the linking of the tables selected for the report all into inner join(using selection expert) then also this duplication is there would you 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/thread239169.html</guid>
		</item>
		<item>
			<title>coding for cam</title>
			<link>http://www.daniweb.com/forums/thread239158.html</link>
			<pubDate>Tue, 17 Nov 2009 08:25:38 GMT</pubDate>
			<description>i need the coding for running a cam, taking the picture from it save it in asp.net using vb coding 
plz help me with this  
thanks</description>
			<content:encoded><![CDATA[<div>i need the coding for running a cam, taking the picture from it save it in asp.net using vb coding<br />
plz help me with this <br />
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/thread239158.html</guid>
		</item>
		<item>
			<title>How Disable The F5 Key In Mozilla</title>
			<link>http://www.daniweb.com/forums/thread239149.html</link>
			<pubDate>Tue, 17 Nov 2009 08:01:42 GMT</pubDate>
			<description><![CDATA[I am trying to disable the F5 key in Mozilla. I have the next code in 
javascript that it is working in Internet Explorer but it is not 
working in Mozilla. how can I disable the F5 key in Mozilla? 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>I am trying to disable the F5 key in Mozilla. I have the next code in<br />
javascript that it is working in Internet Explorer but it is not<br />
working in Mozilla. how can I disable the F5 key in Mozilla?<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp;  function checkKeyCode(evt)<br />
{<br />
<br />
var evt = (evt) ? evt : ((event) ? event : null);<br />
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);<br />
if(event.keyCode==116)<br />
{<br />
<br />
evt.keyCode=0;<br />
return false<br />
}<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>psathish2</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239149.html</guid>
		</item>
		<item>
			<title>printing the form in asp.net using vb</title>
			<link>http://www.daniweb.com/forums/thread239119.html</link>
			<pubDate>Tue, 17 Nov 2009 05:41:16 GMT</pubDate>
			<description>i need to print the form in asp.net using vb coding. 
anyone can help by providing me the code for printing the form, using vb code 
thanks a lot</description>
			<content:encoded><![CDATA[<div>i need to print the form in asp.net using vb coding.<br />
anyone can help by providing me the code for printing the form, using vb code<br />
thanks a lot</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/thread239119.html</guid>
		</item>
		<item>
			<title>Creating menu for a ASP.Net application</title>
			<link>http://www.daniweb.com/forums/thread238964.html</link>
			<pubDate>Mon, 16 Nov 2009 16:08:35 GMT</pubDate>
			<description>Hi,  
 
I am creating an ASP.Net application in VS2008. I would like to create a horizontal menu bar at the top. The values of this menu bar should be dynamic. By dynamic i mean that we should be able to add new values or remove the existing values from the menu bar. 
 
Any suggestions as to how...</description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I am creating an ASP.Net application in VS2008. I would like to create a horizontal menu bar at the top. The values of this menu bar should be dynamic. By dynamic i mean that we should be able to add new values or remove the existing values from the menu bar.<br />
<br />
Any suggestions as to how can we implement this? Any small code snippet is welcome.<br />
<br />
Thanks in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mystic2230</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238964.html</guid>
		</item>
		<item>
			<title>using .resx file to dynamically change page content based on user</title>
			<link>http://www.daniweb.com/forums/thread238958.html</link>
			<pubDate>Mon, 16 Nov 2009 15:36:11 GMT</pubDate>
			<description><![CDATA[I have a site that changes content on the page, based on which user is logged in.  Some users have images(wrapped in an a tag)that are use for site navigation buttons. The users that don't have images use text(wrapped in an a tag) for these same buttons.  I was wondering if I can just use a literal...]]></description>
			<content:encoded><![CDATA[<div>I have a site that changes content on the page, based on which user is logged in.  Some users have images(wrapped in an a tag)that are use for site navigation buttons. The users that don't have images use text(wrapped in an a tag) for these same buttons.  I was wondering if I can just use a literal in these spots on the page and for the text attribute of the literal have something like:<br />
Text=&quot;&lt;%$ Resources:nextpageimage %&gt;&quot;<br />
<br />
Then I could have a .resx file for each user. A user that has images would have something like this for a .resx file entry:<br />
<br />
nextpageimage     &lt;img title=&quot;&quot; src=&quot;~@/images/next.gif&quot; /&gt; <br />
<br />
.resx entry for user without image:<br />
<br />
nextpageimage     Next Page<br />
<br />
Does this make sense and if so, the problem I am having, is finding syntax to choose which resource file I want to use.  Basically right now I am using a switch statement: <br />
 <pre style="margin:20px; line-height:13px">switch(user)<br />
case user1: <br />
resourcefile = user1.resx;<br />
break;<br />
case user2:<br />
resourcefile = user2.resx</pre><br />
Any suggestions are appreciated. Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>kcwebsites</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238958.html</guid>
		</item>
		<item>
			<title>XmlSchema as a web service parameter</title>
			<link>http://www.daniweb.com/forums/thread238951.html</link>
			<pubDate>Mon, 16 Nov 2009 15:09:50 GMT</pubDate>
			<description><![CDATA[I have a web method in a web service (in .Net 2.0) which takes in an XmlSchema object as a parameter. 
 
When I add a reference to this web service in my application, it shows the parameter type as "WebServiceNamespace.XmlSchema" instead of "System.Xml.Schema.XmlSchema". and I cannot make a...]]></description>
			<content:encoded><![CDATA[<div>I have a web method in a web service (in .Net 2.0) which takes in an XmlSchema object as a parameter.<br />
<br />
When I add a reference to this web service in my application, it shows the parameter type as &quot;WebServiceNamespace.XmlSchema&quot; instead of &quot;System.Xml.Schema.XmlSchema&quot;. and I cannot make a successful call to the method.<br />
<br />
It is a web service for internal use of the company.  so, security concerns aside, am I doing something wrong?<br />
<br />
here is the webmethod declaration:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;WebMethod(), System.Xml.Serialization.XmlInclude(GetType(System.Xml.Schema.XmlSchema))&gt; _<br />
&nbsp; &nbsp; Public Function MyWebMethod(ByVal OriginalXMLSchema As System.Xml.Schema.XmlSchema, ByVal XMLSelectedRoot As System.Xml.Schema.XmlSchemaElement) As XmlDocument()</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Apeksha82</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238951.html</guid>
		</item>
		<item>
			<title>Help with a asp.NET search query</title>
			<link>http://www.daniweb.com/forums/thread238926.html</link>
			<pubDate>Mon, 16 Nov 2009 13:36:27 GMT</pubDate>
			<description><![CDATA[I am trying to search a database using a user defined string from a text box. I am getting an error message with the "objectadaptor.Fill" 
 
Here is the code: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>I am trying to search a database using a user defined string from a text box. I am getting an error message with the &quot;objectadaptor.Fill&quot;<br />
<br />
Here is the code:<br />
<br />
 <pre style="margin:20px; line-height:13px">Imports System.Data.OleDb<br />
Imports System.Data<br />
Imports System.Data.SqlClient<br />
Imports System.Data.SqlTypes<br />
<br />
Partial Class Search<br />
&nbsp; &nbsp; Inherits System.Web.UI.Page<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 objConnection As OleDbConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objCommand As OleDbCommand<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objAdapter As OleDbDataAdapter<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim objDataSet As DataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSearch As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strSQLQuery As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'some code taken from www.asp101.com<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' Get Search <br />
&nbsp; &nbsp; &nbsp; &nbsp; strSearch = TextBox1.Text<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' If there's nothing to search for then don't search<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' o/w build our SQL Query and execute it.<br />
&nbsp; &nbsp; &nbsp; &nbsp; If Len(Trim(strSearch)) &gt; 0 Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Set up our connection.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objConnection = New OleDbConnection(&quot;Provider=Microsoft.ACE.OLEDB.12.0;&quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;Data Source=&quot; &amp; Server.MapPath(&quot;DB\ScrumManagementSystem.accdb&quot;) &amp; &quot;;&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Set up our SQL query text.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strSQLQuery = &quot;SELECT FName AS Name, FROM tblUser &quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;OR FName LIKE '%&quot; &amp; Replace(strSearch, &quot;'&quot;, &quot;''&quot;) &amp; &quot;%' &quot; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp; &quot;ORDER BY FName;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Create new command object passing it our SQL query<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' and telling it which connection to use.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objCommand = New OleDbCommand(strSQLQuery, objConnection)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Get a DataSet to bind the DataGrid to<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter = New OleDbDataAdapter(objCommand)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objDataSet = New DataSet()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objAdapter.Fill(objDataSet)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'problem line!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' DataBind DG to DS<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging.DataSource = objDataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dgPaging.DataBind()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objConnection.Close()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = &quot;Enter Search Here&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgPaging.SelectedIndexChanged<br />
<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(&quot;myProjectsPage.aspx&quot;)<br />
&nbsp; &nbsp; End Sub<br />
<br />
&nbsp; &nbsp; Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
<br />
&nbsp; &nbsp; End Sub<br />
End Class</pre><br />
<br />
Please help!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>15389049</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238926.html</guid>
		</item>
		<item>
			<title>help on Sharepoint server</title>
			<link>http://www.daniweb.com/forums/thread238918.html</link>
			<pubDate>Mon, 16 Nov 2009 12:55:09 GMT</pubDate>
			<description>hi.. 
 
i just wanted to know what exactly sharepoint server does??..and how we can use it when building web sites? 
 
Please let me know if any1 is having a good Ebook or tutorials on Sharepoint server. i dont know anything about sharepoint server so i need info. from scratch.. 
 
thanks..</description>
			<content:encoded><![CDATA[<div>hi..<br />
<br />
i just wanted to know what exactly sharepoint server does??..and how we can use it when building web sites?<br />
<br />
Please let me know if any1 is having a good Ebook or tutorials on Sharepoint server. i dont know anything about sharepoint server so i need info. from scratch..<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/thread238918.html</guid>
		</item>
		<item>
			<title>display data in last to first format</title>
			<link>http://www.daniweb.com/forums/thread238904.html</link>
			<pubDate>Mon, 16 Nov 2009 12:02:32 GMT</pubDate>
			<description><![CDATA[hi.. 
 
im retriving some data from a database to a dataset...i want to show the data in a gridview..but my problem is, i want data to be shown in last to first format. i mean, if the dataset contains, A as first record & z as last record, then the gridview should show the list with Z as the first...]]></description>
			<content:encoded><![CDATA[<div>hi..<br />
<br />
im retriving some data from a database to a dataset...i want to show the data in a gridview..but my problem is, i want data to be shown in last to first format. i mean, if the dataset contains, A as first record &amp; z as last record, then the gridview should show the list with Z as the first record and A as the last record.<br />
<br />
i don want to sort the data in ascending or descending format. is there any way to show the data in tht fashion? do i need to put some keywords in the query or is ther any other method?<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/thread238904.html</guid>
		</item>
		<item>
			<title>how to send sms</title>
			<link>http://www.daniweb.com/forums/thread238884.html</link>
			<pubDate>Mon, 16 Nov 2009 10:11:07 GMT</pubDate>
			<description><![CDATA[Hai  
 
   i want to send sms from website any one explaine about that , ya i download some model projects but all the project send sms by using web services , i am working with asp.net C#, so help me out friend's]]></description>
			<content:encoded><![CDATA[<div>Hai <br />
<br />
   i want to send sms from website any one explaine about that , ya i download some model projects but all the project send sms by using web services , i am working with asp.net C#, so help me out friend's</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dskumar_85</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238884.html</guid>
		</item>
		<item>
			<title>Preventing XSS issue while using DataGrid</title>
			<link>http://www.daniweb.com/forums/thread238863.html</link>
			<pubDate>Mon, 16 Nov 2009 08:13:58 GMT</pubDate>
			<description>Hi, 
 I am using DataGrid to display the data from the database. I have used the event ItemDataBound to encode the data coming from the database before being displayed in the grid. Is there any other efficient/recommended method to avoid XSS issue while using DataGrid for displaying data from the...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
 I am using DataGrid to display the data from the database. I have used the event ItemDataBound to encode the data coming from the database before being displayed in the grid. Is there any other efficient/recommended method to avoid XSS issue while using DataGrid for displaying data from the database?<br />
<br />
Thanks,<br />
Umesh D K</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>UmeshDK</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238863.html</guid>
		</item>
		<item>
			<title>Login as different user in asp.net as in sharepoint</title>
			<link>http://www.daniweb.com/forums/thread238858.html</link>
			<pubDate>Mon, 16 Nov 2009 07:21:10 GMT</pubDate>
			<description>Hi everybody, 
 
 My request out here is Urgent, though i have passed through what I could access in this forum and others also, but cannot finding a working solution. 
 
I have designed an ASP.NET application, at our organizational intranet, I have used Windows Authentication and it worked very...</description>
			<content:encoded><![CDATA[<div>Hi everybody,<br />
<br />
 My request out here is Urgent, though i have passed through what I could access in this forum and others also, but cannot finding a working solution.<br />
<br />
I have designed an ASP.NET application, at our organizational intranet, I have used Windows Authentication and it worked very efficiently. My problem is, I want my application to ask for re-entering of employee's credential when he clicked on a log out control ( it could be anything - i didn't decided what will trigger log out yet ). I want it to be like Sharepoint page where you can log as another user in the same machine.<br />
<br />
I m using following code but not working properly.<br />
 <pre style="margin:20px; line-height:13px"><br />
protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!this.IsPostBack)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _User = User.Identity.Name.Replace(&quot;Domain\\&quot;, &quot;&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label1.Text = _User;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; protected void LinkButton1_Click(object sender, EventArgs e)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.StatusCode = 401;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.StatusDescription = &quot;Unauthorized&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.End();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(&quot;Default.aspx&quot;);&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; }</pre><br />
and my HTML or aspx CODE IS<br />
 <pre style="margin:20px; line-height:13px">&lt;head runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;title&gt;Untitled Page&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;p&gt;Hello &lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;Label&quot;&gt;&lt;/asp:Label&gt;&lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:LinkButton ID=&quot;LinkButton1&quot; runat=&quot;server&quot; onclick=&quot;LinkButton1_Click&quot;&gt;Sign in as Different user&lt;/asp:LinkButton&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre><br />
I am waiting ...<br />
<br />
Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dharam_hbtik</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238858.html</guid>
		</item>
		<item>
			<title>How to Heperlink an image from data grid cell text.</title>
			<link>http://www.daniweb.com/forums/thread238854.html</link>
			<pubDate>Mon, 16 Nov 2009 07:19:23 GMT</pubDate>
			<description>Hi All, 
 
I am storing my automation results to  sql server and the displaying the results in asp page. 
 
one of result coulmn is for error images(is test case fails it capture the image , for refrence of what went wron during playback) stored in local machine or QA server.  
 
 
Thanks,</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I am storing my automation results to  sql server and the displaying the results in asp page.<br />
<br />
one of result coulmn is for error images(is test case fails it capture the image , for refrence of what went wron during playback) stored in local machine or QA server. <br />
<br />
<br />
Thanks,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>theAviator</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238854.html</guid>
		</item>
		<item>
			<title>Radiobutton List rating</title>
			<link>http://www.daniweb.com/forums/thread238851.html</link>
			<pubDate>Mon, 16 Nov 2009 07:07:45 GMT</pubDate>
			<description>HI there. 
 
We are currently creating a page which contains 
(a) 10 Check Boxes 
(b) for each check box there is a radio button list with 10 values. 
 
 
What we want to achieve is the following 
When e.g. The first checkbox is checked, the forst radio button list should be made enabled with...</description>
			<content:encoded><![CDATA[<div>HI there.<br />
<br />
We are currently creating a page which contains<br />
(a) 10 Check Boxes<br />
(b) for each check box there is a radio button list with 10 values.<br />
<br />
<br />
What we want to achieve is the following<br />
When e.g. The first checkbox is checked, the forst radio button list should be made enabled with script - this has been achieved.<br />
<br />
However, lets say they check the first 3 check boxes, the first 3 radio buttton lists should then be made enabled, which works fine, but now i want to limit the users raning to 3 instead of 10, and also not to allow the user to rate a rating of say 1 twice, meaning that the user must rate in numerical order say 1 , 3 , 2 - not 1, 1 , 2 or 3, 3 ,2 ...<br />
<br />
How could i do this in JavaScript ?<br />
<br />
regards,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>cVz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238851.html</guid>
		</item>
		<item>
			<title>SMTP Error 505 - The server response was 550 rejected because of blocked list</title>
			<link>http://www.daniweb.com/forums/thread238846.html</link>
			<pubDate>Mon, 16 Nov 2009 06:27:50 GMT</pubDate>
			<description>Hi frendz, 
 
Recently I copied a .NET application from a server to new server, the application has a feature of sending the emails to users, but this feature is not working now in the new server and the same is working without any problem in the old code. 
 
The error message am getting is :...</description>
			<content:encoded><![CDATA[<div>Hi frendz,<br />
<br />
Recently I copied a .NET application from a server to new server, the application has a feature of sending the emails to users, but this feature is not working now in the new server and the same is working without any problem in the old code.<br />
<br />
The error message am getting is :<br />
&quot;Email error: The message could not be sent to the SMTP server. The transport error code was 0x800ccc69. The server response was 550 rejected because of blocked list&quot;<br />
<br />
Please help me out to solve this issue. <br />
Thanks in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>sandani1225</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238846.html</guid>
		</item>
		<item>
			<title>new to asp.net</title>
			<link>http://www.daniweb.com/forums/thread238752.html</link>
			<pubDate>Sun, 15 Nov 2009 20:24:06 GMT</pubDate>
			<description>pls help me, i am new to  asp.net.pls what is the easiest way of starting?i need to design a website using asp.net</description>
			<content:encoded><![CDATA[<div>pls help me, i am new to  asp.net.pls what is the easiest way of starting?i need to design a website using asp.net</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>get2tk</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238752.html</guid>
		</item>
		<item>
			<title>Web cam integration</title>
			<link>http://www.daniweb.com/forums/thread238623.html</link>
			<pubDate>Sun, 15 Nov 2009 10:02:51 GMT</pubDate>
			<description>I successfully integrated webcam application into my web application..i am able to capture the image into my web form...but not able to see the video stream before the image is getting captured.  
Help is appreciated. 
Thanx in advance</description>
			<content:encoded><![CDATA[<div>I successfully integrated webcam application into my web application..i am able to capture the image into my web form...but not able to see the video stream before the image is getting captured. <br />
Help is appreciated.<br />
Thanx in advance</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/thread238623.html</guid>
		</item>
		<item>
			<title>developing web app using asp.net(c# 2005)</title>
			<link>http://www.daniweb.com/forums/thread238605.html</link>
			<pubDate>Sun, 15 Nov 2009 08:16:50 GMT</pubDate>
			<description><![CDATA[i'm looking for the demo projects for developing web app using c#.net 2005 as i'm new with web developments... i've begin connecting with database(sql 2005) now i need for validation & other things for my projects.. anyone like to share their simple project(demo) plz.....]]></description>
			<content:encoded><![CDATA[<div>i'm looking for the demo projects for developing web app using c#.net 2005 as i'm new with web developments... i've begin connecting with database(sql 2005) now i need for validation &amp; other things for my projects.. anyone like to share their simple project(demo) plz.....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>deepas</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238605.html</guid>
		</item>
		<item>
			<title>Install Linux C</title>
			<link>http://www.daniweb.com/forums/thread238598.html</link>
			<pubDate>Sun, 15 Nov 2009 06:46:28 GMT</pubDate>
			<description>I have just downloaded the Linux C gcc-4.4.2.tar.gz file. 
 
May I know how do I install the C programming language in my system? 
 
Can anyone tell me the steps in detail? I am a novice in this. Thank you. 
 
Steve</description>
			<content:encoded><![CDATA[<div>I have just downloaded the Linux C gcc-4.4.2.tar.gz file.<br />
<br />
May I know how do I install the C programming language in my system?<br />
<br />
Can anyone tell me the steps in detail? I am a novice in this. Thank you.<br />
<br />
Steve</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>oceanrising</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238598.html</guid>
		</item>
		<item>
			<title>copy treeview node to another treeview node using javascript dynamically</title>
			<link>http://www.daniweb.com/forums/thread238584.html</link>
			<pubDate>Sun, 15 Nov 2009 03:50:04 GMT</pubDate>
			<description>hello , 
 
my problem is that.. i have 2 treeview 
 
treeview1 and treeview2 
 
my problem is that when i add the node on treeview1 then i want to just copy the same treeview1 node to another treeview2 node 
 
please tell me how to do that i just want to ask that please help me its urgent because i...</description>
			<content:encoded><![CDATA[<div>hello ,<br />
<br />
my problem is that.. i have 2 treeview<br />
<br />
treeview1 and treeview2<br />
<br />
my problem is that when i add the node on treeview1 then i want to just copy the same treeview1 node to another treeview2 node<br />
<br />
please tell me how to do that i just want to ask that please help me its urgent because i am stuck with the code more then 2 days a little problem make it too big ...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mkfastian</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238584.html</guid>
		</item>
		<item>
			<title>Asp .net secure site</title>
			<link>http://www.daniweb.com/forums/thread238566.html</link>
			<pubDate>Sat, 14 Nov 2009 23:48:14 GMT</pubDate>
			<description><![CDATA[Asp . Net 
 
I have been asked to make a basic secure website with only one username and password.  No one can add an account via subscription form.  I don't want to know how to create accounts, only securely login with one username and password.   
(Keep it simple and basic please).]]></description>
			<content:encoded><![CDATA[<div>Asp . Net<br />
<br />
I have been asked to make a basic secure website with only one username and password.  No one can add an account via subscription form.  I don't want to know how to create accounts, only securely login with one username and password.  <br />
(Keep it simple and basic please).</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Romil797</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238566.html</guid>
		</item>
		<item>
			<title>Make gridView cell bold during databind</title>
			<link>http://www.daniweb.com/forums/thread238517.html</link>
			<pubDate>Sat, 14 Nov 2009 18:11:31 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm using a dataTable to bind my gridView and during the data binding I need to make some cells bold. The structure I'm looking for is this: 
 
*Person*contact 
*Person 2*contact 
To include the spaces when binding the table I'm using Server.HtmlDecode("&nbsp;&nbsp;&nbsp;"). I tried...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm using a dataTable to bind my gridView and during the data binding I need to make some cells bold. The structure I'm looking for is this:<br />
<br />
<span style="font-weight:bold">Person</span><blockquote>contact</blockquote><span style="font-weight:bold">Person 2</span><blockquote>contact</blockquote>To include the spaces when binding the table I'm using Server.HtmlDecode(&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;). I tried Server.HtmlDecode(&quot;&lt;b&gt;&quot;) ... Server.HtmlDecode(&quot;&lt;/b&gt;&quot;) to make the text bold, but it didn't work.<br />
<br />
Any suggestions?<br />
<br />
Thanks,<br />
<br />
Ana</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Ana D.</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238517.html</guid>
		</item>
		<item>
			<title>Pass data from asp.net to php</title>
			<link>http://www.daniweb.com/forums/thread238513.html</link>
			<pubDate>Sat, 14 Nov 2009 18:05:53 GMT</pubDate>
			<description>Hi, i need to pass a value from an asp.net application to a php page stored online. Having searched around I can not find a easy solution to this can anyone point me in the right direction please. 
 
Many Thanks</description>
			<content:encoded><![CDATA[<div>Hi, i need to pass a value from an asp.net application to a php page stored online. Having searched around I can not find a easy solution to this can anyone point me in the right direction please.<br />
<br />
Many Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>buffalo0</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238513.html</guid>
		</item>
		<item>
			<title>Checkboxlist</title>
			<link>http://www.daniweb.com/forums/thread238487.html</link>
			<pubDate>Sat, 14 Nov 2009 12:30:31 GMT</pubDate>
			<description>How to store list item in order of the listitems selected? 
Ex: Hindi,English,Telugu,Social............ these are items in checkboxlist, now when i select telugu that value should be stored as 1 and then if i select english that value should be stored as 2,so that we can know the order of...</description>
			<content:encoded><![CDATA[<div>How to store list item in order of the listitems selected?<br />
Ex: Hindi,English,Telugu,Social............ these are items in checkboxlist, now when i select telugu that value should be stored as 1 and then if i select english that value should be stored as 2,so that we can know the order of selection.If we know that then we can store those values in database.Please help..............</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/thread238487.html</guid>
		</item>
		<item>
			<title>Tooltip</title>
			<link>http://www.daniweb.com/forums/thread238486.html</link>
			<pubDate>Sat, 14 Nov 2009 12:21:44 GMT</pubDate>
			<description>How to add a tooltip over a textbox in asp.net or javascript? 
If given in javascript then please explain perfectly because i dont know javascript. 
Please help..................</description>
			<content:encoded><![CDATA[<div>How to add a tooltip over a textbox in asp.net or javascript?<br />
If given in javascript then please explain perfectly because i dont know javascript.<br />
Please help..................</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/thread238486.html</guid>
		</item>
		<item>
			<title>Movin listitems</title>
			<link>http://www.daniweb.com/forums/thread238482.html</link>
			<pubDate>Sat, 14 Nov 2009 11:28:18 GMT</pubDate>
			<description>How to move listitems(which are marked)  in checkboxlist at run time? 
Help is appreciated.....</description>
			<content:encoded><![CDATA[<div>How to move listitems(which are marked)  in checkboxlist at run time?<br />
Help is appreciated.....</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/thread238482.html</guid>
		</item>
		<item>
			<title>Sending Email using my Gmail account from my asp.net website</title>
			<link>http://www.daniweb.com/forums/thread238427.html</link>
			<pubDate>Sat, 14 Nov 2009 04:30:45 GMT</pubDate>
			<description><![CDATA[HI  
Could anybody please give me a reference or a description about how to send an Email, using my gmail account, from my asp.net web site. I've tried code in this reference.  
http://www.aspdotnetfaq.com/Faq/How-to-send-HTML-Email-from-ASP-NET-using-your-Gmail-account.aspx 
 
But its not working....]]></description>
			<content:encoded><![CDATA[<div>HI <br />
Could anybody please give me a reference or a description about how to send an Email, using my gmail account, from my asp.net web site. I've tried code in this reference. <br />
<a rel="nofollow" class="t" href="http://www.aspdotnetfaq.com/Faq/How-to-send-HTML-Email-from-ASP-NET-using-your-Gmail-account.aspx" target="_blank">http://www.aspdotnetfaq.com/Faq/How-...l-account.aspx</a><br />
<br />
But its not working. <br />
It gives an exception &quot;failure sending mail&quot;<br />
<br />
Please help me <br />
Thank you.</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/thread238427.html</guid>
		</item>
		<item>
			<title>textbox contents into SelectCommand</title>
			<link>http://www.daniweb.com/forums/thread238396.html</link>
			<pubDate>Fri, 13 Nov 2009 22:41:36 GMT</pubDate>
			<description><![CDATA[Hello, 
 
I'm trying to run a query to populate a gridview control such that the contents of a textbox are used as a selectcommand. My code is as follows: 
SelectCommand="SELECT  [Organization],[Search Word 1] FROM [Main]  WHERE [Search Word 1] =  <%$ txtSearchWord01.Text %>  ORDER BY...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I'm trying to run a query to populate a gridview control such that the contents of a textbox are used as a selectcommand. My code is as follows:<br />
SelectCommand=&quot;SELECT  [Organization],[Search Word 1] FROM [Main]  WHERE [Search Word 1] =  &lt;%$ txtSearchWord01.Text %&gt;  ORDER BY [Organization]&quot;&gt;<br />
<br />
I get the following error:<br />
ERROR [42000] [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression '[Search Word 1] =  &lt;%$ txtSearchWord01.Text %&gt;'. <br />
<br />
I'm simply trying to get the contents of a textbox (txtSearchWord01) into the &quot;Select&quot; command of the query.  <br />
ANY help would be greatly appreciated.<br />
Thank you in advance for your time.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>CODEADDICT7423</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238396.html</guid>
		</item>
		<item>
			<title>radiobuttonlist seletedindex</title>
			<link>http://www.daniweb.com/forums/thread238311.html</link>
			<pubDate>Fri, 13 Nov 2009 16:09:48 GMT</pubDate>
			<description><![CDATA[So I have a radiobuttonlist that returns a list based on a sql query. The app displays the results from the column named "printer".  I am also selecting the column_name "default_printer"  Basically what I want is for the selected index of the radiobuttonlist to be where "Default_Printer" = "1". ...]]></description>
			<content:encoded><![CDATA[<div>So I have a radiobuttonlist that returns a list based on a sql query. The app displays the results from the column named &quot;printer&quot;.  I am also selecting the column_name &quot;default_printer&quot;  Basically what I want is for the selected index of the radiobuttonlist to be where &quot;Default_Printer&quot; = &quot;1&quot;.  I'm not exactly sure how to do this any help would be appreciated. my code looks like this  <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; Private Sub BuildPrinterList(ByVal Warehouse As String)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Try<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim strConnString As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strConnString = ConfigurationManager.ConnectionStrings(&quot;SDWConnectionString&quot;).ToString<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 strSQLText As String<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strSQLText = &quot;SELECT Distinct Printer, Default_Printer from sdw.sdw_user.sar_dtd_840_Printer_Label where Warehouse = '&quot; &amp; Warehouse &amp; &quot;'&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim sqlCmd As New SqlCommand(strSQLText, SqlCOnnection)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim adapter As New SqlClient.SqlDataAdapter(strSQLText, strConnString)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim ds As New DataSet<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; adapter.Fill(ds, &quot;printers&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim dataTable = ds.Tables(&quot;printers&quot;)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.rblprinter.DataSource = dataTable<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.rblprinter.DataValueField = &quot;Printer&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.rblprinter.DataTextField = &quot;Printer&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.rblprinter.DataBind()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Me.rblprinter.SelectedIndex = 'statement saying where default_printer = 1<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SqlCOnnection.Close()</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/thread238311.html</guid>
		</item>
		<item>
			<title>Menu item problem</title>
			<link>http://www.daniweb.com/forums/thread238274.html</link>
			<pubDate>Fri, 13 Nov 2009 13:26:45 GMT</pubDate>
			<description>Image is obstructing the menu items 
help is appreciated.</description>
			<content:encoded><![CDATA[<div>Image is obstructing the menu items<br />
help is appreciated.</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/thread238274.html</guid>
		</item>
		<item>
			<title>Help me with this nested gridview</title>
			<link>http://www.daniweb.com/forums/thread238253.html</link>
			<pubDate>Fri, 13 Nov 2009 10:28:18 GMT</pubDate>
			<description>hi, 
   i am not able to display heirarchical data in my gridview when it is coming from a single table,,,,,,it works fine when i use more than one table....plzzzz its urgent 
 
 
 
 
 
 
using System; 
using System.Data;</description>
			<content:encoded><![CDATA[<div>hi,<br />
   i am not able to display heirarchical data in my gridview when it is coming from a single table,,,,,,it works fine when i use more than one table....plzzzz its urgent<br />
<br />
<br />
<br />
<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">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 />
<br />
<br />
<br />
<br />
public partial class _Default : System.Web.UI.Page<br />
{<br />
&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; if (!Page.IsPostBack)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BindData();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; AppFunctions sFunctions = new AppFunctions();<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataSet ds;<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataSet ds1;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; private void BindData()<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataTable dt1 = new DataTable();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ds = sFunctions.setDataSet(&quot;Select ProjectID,ProjectName,ProjectStreet,ProjectCity,ClientID,EmployeeID from Project where ParentProjectID='Main' &quot;, &quot;Project&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outGV.DataSource = ds.Tables&#91;&quot;Project&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outGV.DataBind();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void outGV_RowDataBound(object sender, GridViewRowEventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //DataView dv = new DataView(ds.Tables&#91;&quot;Project&quot;&#93;);<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //DataRelation parentchild = new DataRelation(&quot;parentchild&quot;, ds.Tables&#91;&quot;Project&quot;&#93;.Columns&#91;&quot;ProjectID&quot;&#93;, ds.Tables&#91;&quot;Project&quot;&#93;.Columns&#91;&quot;ParentProjectID&quot;&#93;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //ds1.Relations.Add(parentchild);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //foreach (DataRow rowist in ds.Tables&#91;&quot;Project&quot;&#93;.Rows)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //{<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; //lbllist.Text += &quot; &quot; + rowist&#91;&quot;ParentProjectID&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; //lbllist.Text += &quot;&lt;br/&gt;&lt;/b&gt;&quot; + rowist&#91;&quot;ProjectID&quot;&#93;;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; DataRow&#91;&#93; drow = rowist.GetChildRows(parentchild);<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; foreach (DataRow row2nd in drow)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; {<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; &nbsp; &nbsp; //lbllist.Text += &quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; &nbsp; &nbsp; //Session&#91;&quot;projectid&quot;&#93; = row2nd&#91;&quot;ProjectID&quot;&#93; + &quot;&lt;br/&gt;&quot;;<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; }<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //}<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GridViewRow row = e.Row;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (row.DataItem == null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; //Find&nbsp; Child GridView control<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (e.Row.RowType == DataControlRowType.DataRow)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GridView gv = new GridView();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gv = (GridView)row.FindControl(&quot;inGV&quot;);<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; //Expand the ist Child grid<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ClientScript.RegisterStartupScript(GetType(), &quot;Expand&quot;, &quot;&lt;SCRIPT LANGUAGE='javascript'&gt;expandcollapse('div&quot; + ((DataRowView)e.Row.DataItem)&#91;&quot;ProjectID&quot;&#93;.ToString() + &quot;','one');&lt;/script&gt;&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////&nbsp; &nbsp; //Prepare the query for Child GridView by passing the ID of the parent row<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ds1 = sFunctions.setDataSet(&quot;select ProjectID,ParentProjectID,ProjectPhase from Project&quot; , &quot;Project&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gv.DataSource = ds1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gv.DataBind();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void inGV_RowDataBound(object sender, GridViewRowEventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Check if this is our Blank Row being databound, if so make the row invisible<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (e.Row.RowType == DataControlRowType.DataRow)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (((DataRowView)e.Row.DataItem)&#91;&quot;ProjectID&quot;&#93;.ToString() == String.Empty) e.Row.Visible = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //GridViewRow row = e.Row;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //if (row.DataItem == null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; return;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //}<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////Find Child GridView control<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //GridView gv1 = new GridView();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //gv1 = (GridView)row.FindControl(&quot;ininGV&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////Expand the 2nd Child grid<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //ClientScript.RegisterStartupScript(GetType(), &quot;Expand&quot;, &quot;&lt;SCRIPT LANGUAGE='javascript'&gt;expandcollapse('divp&quot; + ((DataRowView)e.Row.DataItem)&#91;&quot;ID&quot;&#93;.ToString() + &quot;','one');&lt;/script&gt;&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////Prepare the query for Child GridView by passing the ID of the parent row<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //gv1.DataSource = sFunctions.setDataTable(&quot;Select * from info where ID='&quot; + ((DataRowView)e.Row.DataItem)&#91;&quot;ID&quot;&#93;.ToString() + &quot;'&quot;, &quot;info&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //gv1.DataBind();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void ininGV_RowDataBound(object sender, GridViewRowEventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //GridViewRow row = e.Row;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //if (row.DataItem == null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; return;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //}<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////Find Child GridView control<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //GridView gv1 = new GridView();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //gv1 = (GridView)row.FindControl(&quot;inininGV&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////Expand 3rd the Child grid<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //ClientScript.RegisterStartupScript(GetType(), &quot;Expand&quot;, &quot;&lt;SCRIPT LANGUAGE='javascript'&gt;expandcollapse('divx&quot; + ((DataRowView)e.Row.DataItem)&#91;&quot;ID&quot;&#93;.ToString() + &quot;','one');&lt;/script&gt;&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////Prepare the query for Child GridView by passing the ID of the parent row<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //gv1.DataSource = sFunctions.setDataTable(&quot;Select * from tax where ID='&quot; + ((DataRowView)e.Row.DataItem)&#91;&quot;ID&quot;&#93;.ToString() + &quot;'&quot;, &quot;tax&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //gv1.DataBind();<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void inininGV_RowDataBound(object sender, GridViewRowEventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ////Check if this is our Blank Row being databound, if so make the row invisible<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //if (e.Row.RowType == DataControlRowType.DataRow)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; if (((DataRowView)e.Row.DataItem)&#91;&quot;ID&quot;&#93;.ToString() == String.Empty) e.Row.Visible = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //}<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<br />
<br />
&nbsp; &nbsp; <br />
<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>adil.hafiz652</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238253.html</guid>
		</item>
		<item>
			<title>Calculation Event in C#?</title>
			<link>http://www.daniweb.com/forums/thread238156.html</link>
			<pubDate>Thu, 12 Nov 2009 23:28:10 GMT</pubDate>
			<description><![CDATA[How can I write an event that does a specified calculation when an option is selected that the submit button is selected? Say I have the following code: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>How can I write an event that does a specified calculation when an option is selected that the submit button is selected? Say I have the following code:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:DropDownList ID=&quot;DropDownList1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem&gt;Go swimming&lt;/asp:ListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem&gt;Play sudoku&lt;/asp:ListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem&gt;Practice piano&lt;/asp:ListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ListItem&gt;Play solitaire&lt;/asp:ListItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:DropDownList&gt;<br />
&nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp;  &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Button ID=&quot;Train&quot; runat=&quot;server&quot; Text=&quot;Train&quot; onclick=&quot;Train_Click&quot; /&gt;&lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:Label<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ID=&quot;testLabel&quot; runat=&quot;server&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;</pre><br />
I have four options: go swimming, play sudoku, practice piano, and play solitaire. I have a button, and a label to display the value of the calculation performed for testing purposes. Say I want to set an event that says:<br />
<br />
If go swimming is selected, multiply 500 by .001, and display this value in the label, when the button is pressed. <br />
<br />
If play sudoku is selected, multiply 500 by .002, and display this value in the label, when the button is pressed.<br />
<br />
etc...<br />
<br />
How would I go about starting this event out?</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/thread238156.html</guid>
		</item>
		<item>
			<title>Problem with website in iis 7</title>
			<link>http://www.daniweb.com/forums/thread238076.html</link>
			<pubDate>Thu, 12 Nov 2009 17:39:12 GMT</pubDate>
			<description><![CDATA[Hi: 
I needed to format and install my PC and I switch from Win XP to Win 7. The problems comes when I try to configure a website (asp.net) in IIS 7. I use Visual Studio 2008 SP1 and I was recommended to install IIS 7 with the compatibility features with IIS 6. 
But it' s not working. When I access...]]></description>
			<content:encoded><![CDATA[<div>Hi:<br />
I needed to format and install my PC and I switch from Win XP to Win 7. The problems comes when I try to configure a website (asp.net) in IIS 7. I use Visual Studio 2008 SP1 and I was recommended to install IIS 7 with the compatibility features with IIS 6.<br />
But it' s not working. When I access the website and authenticate against it, the website throws to the browser a lot of strange characters, instead of the proper response page<br />
any help... please!<br />
<br />
thnx in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>blackcorner</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238076.html</guid>
		</item>
		<item>
			<title>Anybody Aware of Adobe Flex</title>
			<link>http://www.daniweb.com/forums/thread238072.html</link>
			<pubDate>Thu, 12 Nov 2009 16:56:57 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I am a working in Dot Net technology currently but bcoz of some requirements in Adobe flex, I've to learn that.Is there anybody who knows both Dot net & Adobe Flex , Please guide me how beneficial it is to go into Adobe flex from Dot Net technology. 
 
Thanks]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am a working in Dot Net technology currently but bcoz of some requirements in Adobe flex, I've to learn that.Is there anybody who knows both Dot net &amp; Adobe Flex , Please guide me how beneficial it is to go into Adobe flex from Dot Net technology.<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ritu1509</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238072.html</guid>
		</item>
		<item>
			<title>How to reduce image weight using asp.net</title>
			<link>http://www.daniweb.com/forums/thread238008.html</link>
			<pubDate>Thu, 12 Nov 2009 11:34:34 GMT</pubDate>
			<description>How to reduce the image weight using asp.net, without lose of image quality and image pixels. For example i have an image with the size of 4 MB (3024*2045), so how to reduce the image weight ie 4 MB to 1 MB without lose quality in the same pixels ie(3024 * 2045) using asp.net. Please help 
 
Thank...</description>
			<content:encoded><![CDATA[<div>How to reduce the image weight using asp.net, without lose of image quality and image pixels. For example i have an image with the size of 4 MB (3024*2045), so how to reduce the image weight ie 4 MB to 1 MB without lose quality in the same pixels ie(3024 * 2045) using asp.net. Please help<br />
<br />
Thank You</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>thirumca</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238008.html</guid>
		</item>
		<item>
			<title>Strange Issues on ASP.NET App</title>
			<link>http://www.daniweb.com/forums/thread237948.html</link>
			<pubDate>Thu, 12 Nov 2009 07:42:32 GMT</pubDate>
			<description><![CDATA[Good Day All  
 
I have a ASP.NET app. There is a button one of the pages. I have placed a Break point in the Click event and when i click the Button it does not even go to the Break Point it shows this  
 
[IMG]http://www.tiyaneproperties.co.za/SSIS/Strange.jpg[/IMG] 
 
Thanks]]></description>
			<content:encoded><![CDATA[<div>Good Day All <br />
<br />
I have a ASP.NET app. There is a button one of the pages. I have placed a Break point in the Click event and when i click the Button it does not even go to the Break Point it shows this <br />
<br />
<a href="http://www.tiyaneproperties.co.za/SSIS/Strange.jpg" target="_blank">http://www.tiyaneproperties.co.za/SSIS/Strange.jpg</a><br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>vuyiswamb</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237948.html</guid>
		</item>
		<item>
			<title>Help me pls....... soon</title>
			<link>http://www.daniweb.com/forums/thread237942.html</link>
			<pubDate>Thu, 12 Nov 2009 07:17:01 GMT</pubDate>
			<description><![CDATA[Hay Can some one do me favour:'( 
I need complete code for Check/Uncheck all items in checkboxlist using asp.net in serverside. 
I kept one checkboxlist and bound data source to it in runtime and using two linkbutton to check or uncheck items in checkboxlist.i need to reterive data from selected...]]></description>
			<content:encoded><![CDATA[<div>Hay Can some one do me favour:'(<br />
I need complete code for Check/Uncheck all items in checkboxlist using asp.net in serverside.<br />
I kept one checkboxlist and bound data source to it in runtime and using two linkbutton to check or uncheck items in checkboxlist.i need to reterive data from selected checkboxlist. <br />
i want this in server side code not by javascript.<br />
I tried this code in linkbutton click event but no hope.<br />
<br />
 <pre style="margin:20px; line-height:13px">foreach(ListItem item in checkboxlist1.Items)<br />
{<br />
item.selected=true;<br />
}</pre><br />
but no hope:icon_cry: pls some one help me......</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>alexymasilamani</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237942.html</guid>
		</item>
		<item>
			<title>Pageable and sortable datagridview</title>
			<link>http://www.daniweb.com/forums/thread237936.html</link>
			<pubDate>Thu, 12 Nov 2009 06:24:56 GMT</pubDate>
			<description>hi 
i have hundreds of records in my gridview and im showing 10 records per page.... 
i have upto 5 columns and i want to sort records records 
how will i do it?</description>
			<content:encoded><![CDATA[<div>hi<br />
i have hundreds of records in my gridview and im showing 10 records per page....<br />
i have upto 5 columns and i want to sort records records<br />
how will 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/thread237936.html</guid>
		</item>
		<item>
			<title>File Upload Control</title>
			<link>http://www.daniweb.com/forums/thread237927.html</link>
			<pubDate>Thu, 12 Nov 2009 05:06:53 GMT</pubDate>
			<description><![CDATA[hi.. 
 
im using file upload control to upload some files on my server. but the problem with the same is it uploads the files of specific size only. for ex, if i upload a file in KB's, it works perfectly...but when i try to upload files of more than 1 or 2 mb's, it directly goes on a internet page...]]></description>
			<content:encoded><![CDATA[<div>hi..<br />
<br />
im using file upload control to upload some files on my server. but the problem with the same is it uploads the files of specific size only. for ex, if i upload a file in KB's, it works perfectly...but when i try to upload files of more than 1 or 2 mb's, it directly goes on a internet page with error, which is because of the size if the file..<br />
<br />
is there any way by which i can upload an file with max size?<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/thread237927.html</guid>
		</item>
		<item>
			<title>Google Map in C#</title>
			<link>http://www.daniweb.com/forums/thread237838.html</link>
			<pubDate>Wed, 11 Nov 2009 20:21:31 GMT</pubDate>
			<description>I am trying to develp a webpage that takes in TO and FROM Addres and displays the Google Map as well the directions.  
I understand JScript helps out with the Google Map display and I played around with the URL google.maps.com to get the directions. Now my issue is I have to pass on the data from...</description>
			<content:encoded><![CDATA[<div>I am trying to develp a webpage that takes in TO and FROM Addres and displays the Google Map as well the directions. <br />
I understand JScript helps out with the Google Map display and I played around with the URL google.maps.com to get the directions. Now my issue is I have to pass on the data from the C# to JScript and i m struck here.. <br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot;&nbsp; CodeFile=&quot;Default.aspx.cs&quot; Inherits=&quot;_Default&quot; %&gt;<br />
<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; <br />
<br />
&nbsp; &nbsp; &nbsp; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;<br />
<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
<br />
&nbsp; &lt;head&gt;<br />
<br />
&nbsp; &nbsp; &lt;script src=&quot;http://maps.google.com/maps?file=api&amp;v=1<br />
&nbsp;&amp;key=KEYS&quot; type=&quot;text/javascript&quot;&gt; &lt;/script&gt;&nbsp; &lt;/head&gt;&nbsp; &lt;body&gt;<br />
&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&lt;div id=&quot;map&quot; style=&quot;width: 400px; height: 300px; margin-top: 48px;&quot;&gt;&lt;/div&gt;&nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; //&lt;![CDATA[<br />
&nbsp; &nbsp; &nbsp; &nbsp; var x = -83.022206;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var y = 39.998264;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var map = new GMap(document.getElementById(&quot;map&quot;));<br />
&nbsp; &nbsp; &nbsp; &nbsp; var point1 = new GPoint(x,y);<br />
&nbsp; &nbsp; &nbsp; &nbsp; var marker1 = new GMarker(point1);<br />
&nbsp; &nbsp; &nbsp; &nbsp; map.centerAndZoom(point1, 3);<br />
&nbsp; &nbsp; &nbsp; &nbsp; map.addOverlay(marker1);<br />
&nbsp; &nbsp; &nbsp; &nbsp; //Add Zoom in Zoom out<br />
&nbsp; &nbsp; &nbsp; &nbsp; map.addControl(new GLargeMapControl());<br />
&nbsp; &nbsp; &nbsp; &nbsp; map.addControl(new GMapTypeControl());<br />
&nbsp; &nbsp; &nbsp; &nbsp; //Add Marker<br />
&nbsp; &nbsp; &nbsp; &nbsp; var point = new GPoint(-83.015522, 40.002068);<br />
&nbsp; &nbsp; &nbsp; &nbsp; var marker = new GMarker(point);<br />
&nbsp; &nbsp; &nbsp; &nbsp; map.addOverlay(marker);<br />
&nbsp; &nbsp; &nbsp; &nbsp;  //]]&gt;<br />
&nbsp; &nbsp; &lt;/script&gt;<br />
&nbsp; &nbsp; &lt;div id=&quot;Div1&quot; style=&quot;width: 400px; height: 97px; margin-top: 48px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;<br />
&nbsp;&lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot; style=&quot;width: 128px; margin-right: 49px&quot;&gt;&lt;/asp:TextBox&gt;&nbsp; &lt;br /&gt;<br />
&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&amp;nbsp;&lt;asp:TextBox ID=&quot;TextBox2&quot; runat=&quot;server&quot;&gt;&lt;/asp:TextBox&gt;<br />
&nbsp; &lt;br /&gt; &lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; Height=&quot;34px&quot; style=&quot;margin-left: 39px&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Text=&quot;Button&quot; Width=&quot;167px&quot; onclick=&quot;Button1_Click&quot; /&gt;<br />
&nbsp; &lt;br /&gt; &lt;asp:GridView runat = server ID = &quot;gridview&quot; <br />
&nbsp; &nbsp; onselectedindexchanged=&quot;gridview_SelectedIndexChanged&quot; AutoGenerateColumns = &quot;false&quot;&gt;<br />
&lt;Columns&gt; &lt;asp:TemplateField&gt;&nbsp; &nbsp; &lt;ItemTemplate&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;asp:Label ID=&quot;Label1&quot; runat =&quot;server&quot; Text ='&lt;% #Eval(&quot;value&quot;) %&gt;' &gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/asp:Label&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt;&nbsp; &lt;/asp:TemplateField&gt;&nbsp; &lt;/Columns&gt;&nbsp; &nbsp;  &lt;/asp:GridView&gt;&nbsp; &lt;/div&gt; &lt;/form&gt;&nbsp; &lt;/body&gt; &lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>GradStudent</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237838.html</guid>
		</item>
		<item>
			<title>Redirect a page in a frame target</title>
			<link>http://www.daniweb.com/forums/thread237760.html</link>
			<pubDate>Wed, 11 Nov 2009 14:08:42 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I am using below code in asp.net to redirect one page to another page. 
 
Response.Redirect("new.aspx"); 
 
but i want to redirect in a Htmp page in a  particular frame which target name is 'bottom'. If there is any solution so please help me. 
 
Thanks !]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am using below code in asp.net to redirect one page to another page.<br />
<br />
Response.Redirect(&quot;new.aspx&quot;);<br />
<br />
but i want to redirect in a Htmp page in a  particular frame which target name is 'bottom'. If there is any solution so please help me.<br />
<br />
Thanks !<br />
<br />
Pankaj Singh</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/thread237760.html</guid>
		</item>
		<item>
			<title>Export Lable text into Excel</title>
			<link>http://www.daniweb.com/forums/thread237718.html</link>
			<pubDate>Wed, 11 Nov 2009 10:02:47 GMT</pubDate>
			<description>Hi, I  export label text inot excel. It works fine but I have some checkbox and textboxs on the lebel. When I export the label text inot excel all the checkbox and textbox also export as it is in the excel. Please help me to export only textboxs value in excel not the textbox 
 
Given below is code...</description>
			<content:encoded><![CDATA[<div>Hi, I  export label text inot excel. It works fine but I have some checkbox and textboxs on the lebel. When I export the label text inot excel all the checkbox and textbox also export as it is in the excel. Please help me to export only textboxs value in excel not the textbox<br />
<br />
Given below is code to export to excel....<br />
<br />
<br />
        Response.Clear();<br />
        Response.AddHeader(&quot;content- disposition&quot;, &quot;attachment;filename=DlDetails.xls&quot;);<br />
        Response.Charset = &quot;&quot;;<br />
        Response.Cache.SetCacheability(HttpCacheability.NoCache);<br />
        Response.ContentType = &quot;application/vnd.xls&quot;;<br />
        StringWriter stw = new StringWriter();<br />
        HtmlTextWriter htextw = new HtmlTextWriter(stw);<br />
        lblDLDetails.RenderControl(htextw);<br />
        Response.Write(stw.ToString());<br />
        Response.End();</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>MrExcel</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237718.html</guid>
		</item>
		<item>
			<title>Classes .. Page .. CONFUSE !!</title>
			<link>http://www.daniweb.com/forums/thread237648.html</link>
			<pubDate>Wed, 11 Nov 2009 04:53:03 GMT</pubDate>
			<description>Hello all. 
 
first .. would like to thank those who help me figuring out 
how to write the right code for Classes in aspx.cs file !!  
 
 
In C# code 
i wrote a class that has ((*_infromation about product_*)). 
its name, model, desc, image, quan, price ... etc !!  
all these information are...</description>
			<content:encoded><![CDATA[<div>Hello all.<br />
<br />
first .. would like to thank those who help me figuring out<br />
how to write the right code for Classes in aspx.cs file !! <br />
<br />
<br />
In C# code<br />
i wrote a class that has ((<span style="font-weight:bold"><span style="text-decoration:underline">infromation about product</span></span>)).<br />
its name, model, desc, image, quan, price ... etc !! <br />
all these information are <span style="font-weight:bold"><span style="text-decoration:underline">listed in ArrayList </span></span>!! <br />
<br />
<br />
then &gt;&gt; <br />
i need to specify <span style="font-weight:bold"><span style="text-decoration:underline">2 D array </span></span><br />
that will maintain the<span style="font-weight:bold"><span style="text-decoration:underline">(( Order Infromation))</span></span><br />
product name<br />
Customer name<br />
Order Date and time.<br />
<br />
<span style="color:Red"><br />
a record of data will be listed in the array just when the user order a product .!!</span><br />
<br />
<br />
<br />
in ASP.net<br />
i want to display a table of Product Information<br />
that will be locate <span style="color:Red"><span style="font-weight:bold"><span style="text-decoration:underline">dynamically</span></span></span> !!!! <br />
<br />
in other words, when the Quantity of such product is ZERO !! <br />
then it will not be located in the Displayed table &gt;&lt; !<br />
<br />
Moreover<br />
i want to display the ORDER TABLE !! <br />
that will be listed in the display windows too !! <br />
<br />
<br />
How can i do all of that ?? <br />
<br />
any hint?</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/thread237648.html</guid>
		</item>
		<item>
			<title>News Story Got Mono? Visual Studio Does</title>
			<link>http://www.daniweb.com/news/story237495.html</link>
			<pubDate>Tue, 10 Nov 2009 15:10:51 GMT</pubDate>
			<description>Today, Tuesday November 10, 2009, Novell (http://www.novell.com) announces a Visual Studio plugin that allows support for non-Microsoft operating systems that use .NET code development on a platform known as Mono (http://go-mono.com) via a new product called Mono Tools for Visual Studio 1.0...</description>
			<content:encoded><![CDATA[<div>Today, Tuesday November 10, 2009, <a rel="nofollow" class="t" href="http://www.novell.com" target="_blank">Novell</a> announces a Visual Studio plugin that allows support for non-Microsoft operating systems that use .NET code development on a platform known as <a rel="nofollow" class="t" href="http://go-mono.com" target="_blank">Mono</a> via a new product called <a rel="nofollow" class="t" href="http://go-mono.com/monovs/" target="_blank">Mono Tools for Visual Studio 1.0</a>. This is not a cost free toolset. In fact, it's really quite <a rel="nofollow" class="t" href="http://www.go-mono.com/store/" target="_blank">pricey</a>--starting at $99 for the Professional (Individual) version. Of course, compared to the exorbitant price of Visual Studio, that's a mere pittance. <br />
<br />
If you can afford Mono Tools, it's a powerful addition to your Visual Studio environment. Using Mono Tools, you can create and test your .NET applications directly on Linux--just as you would when using a Windows host. You can also build installable .NET packages for Linux and even bundle them with Linux appliances* for easy distribution.<br />
<br />
The downside is that, it seems, you must be sold on the SUSE Linux distribution. From Visual Studio, you create your applications as SUSE rpm packages. I think that the tools should be distribution agnostic to appeal to a wider audience but perhaps that is a hangup that only I have. You should be able to select which type of package you want to use for your application and not live with the SUSE-only limitation.<br />
<br />
Limitations (and pricing) aside, I think that Mono Tools for Visual Studio is an excellent set of tools for your Visual Studio development efforts.<br />
<br />
What do you think? Do you think the SUSE-only limitation is too great for widespread adoption or do you think it's OK?<br />
<br />
* Appliances are small, single task virtual machines.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>khess</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237495.html</guid>
		</item>
		<item>
			<title>Silverlight with Visual Studio 2005</title>
			<link>http://www.daniweb.com/forums/thread237476.html</link>
			<pubDate>Tue, 10 Nov 2009 12:38:43 GMT</pubDate>
			<description>Is there any possibility to use Silverlight with ASP.Net 2.0? If so, can anyone help me which version of Silverlight can be used with ASP.Net 2.0 and the how to use it?</description>
			<content:encoded><![CDATA[<div>Is there any possibility to use Silverlight with ASP.Net 2.0? If so, can anyone help me which version of Silverlight can be used with ASP.Net 2.0 and the how to use it?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>a_arunsankar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237476.html</guid>
		</item>
		<item>
			<title>how to enlarge the image</title>
			<link>http://www.daniweb.com/forums/thread237452.html</link>
			<pubDate>Tue, 10 Nov 2009 10:11:41 GMT</pubDate>
			<description><![CDATA[hai friend's , i am developing one website , in that i placed an image , my question is how to enlarge that image like pop up ??]]></description>
			<content:encoded><![CDATA[<div>hai friend's , i am developing one website , in that i placed an image , my question is how to enlarge that image like pop up ??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>dskumar_85</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237452.html</guid>
		</item>
		<item>
			<title>Change File name while uploading</title>
			<link>http://www.daniweb.com/forums/thread237450.html</link>
			<pubDate>Tue, 10 Nov 2009 10:03:52 GMT</pubDate>
			<description><![CDATA[Hi.. 
 
I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page. 
for ex, if textbox contains "ABC" then the files should be uploaded with abc.jpg name. 
 
how can i restrict user to select...]]></description>
			<content:encoded><![CDATA[<div>Hi..<br />
<br />
I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page.<br />
for ex, if textbox contains &quot;ABC&quot; then the files should be uploaded with abc.jpg name.<br />
<br />
how can i restrict user to select only specific types of file in a fileupload control?<br />
<br />
also, how can i save an image in 3 different sizes at time of uploading?<br />
<br />
when user selects an image, it should be saved in some specific size in a specified folder with the name as in textbox,,,<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/thread237450.html</guid>
		</item>
		<item>
			<title>Checkbox list</title>
			<link>http://www.daniweb.com/forums/thread237445.html</link>
			<pubDate>Tue, 10 Nov 2009 09:36:39 GMT</pubDate>
			<description>How to display checkbox list in a panel??</description>
			<content:encoded><![CDATA[<div>How to display checkbox list in a panel??</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/thread237445.html</guid>
		</item>
		<item>
			<title>problem with the gridview</title>
			<link>http://www.daniweb.com/forums/thread237406.html</link>
			<pubDate>Tue, 10 Nov 2009 07:05:20 GMT</pubDate>
			<description>i am working on the gridview, the problem, it that when i am executing the form containing the gridview, the problem is that it is not showing the gridview in the webpage. 
even though i have set the visible property true in the properties, it is not working.plz help me 
thanks a lot</description>
			<content:encoded><![CDATA[<div>i am working on the gridview, the problem, it that when i am executing the form containing the gridview, the problem is that it is not showing the gridview in the webpage.<br />
even though i have set the visible property true in the properties, it is not working.plz help me<br />
thanks a lot</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/thread237406.html</guid>
		</item>
		<item>
			<title>Editing Registry Keys</title>
			<link>http://www.daniweb.com/forums/thread237330.html</link>
			<pubDate>Mon, 09 Nov 2009 23:28:22 GMT</pubDate>
			<description><![CDATA[I'm not sure if this is the right forum, but i always seem to get redirected here with questions regarding .NET  
 
Im using Managed C++ and im trying to edit a registry key. 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>I'm not sure if this is the right forum, but i always seem to get redirected here with questions regarding .NET <br />
<br />
Im using Managed C++ and im trying to edit a registry key.<br />
<br />
 <pre style="margin:20px; line-height:13px">using namespace System;<br />
using namespace Microsoft::Win32;<br />
<br />
int main()<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; RegistryKey^ rk = Registry::CurrentUser;<br />
&nbsp; &nbsp; &nbsp; &nbsp; rk-&gt;OpenSubKey(L&quot;Software\\Microsoft\\Command Processor&quot;, true);<br />
&nbsp; &nbsp; &nbsp; &nbsp; rk-&gt;SetValue(L&quot;Autorun&quot;, L&quot;VALUE&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; rk-&gt;Close();<br />
}</pre><br />
This compiles, but it doesn't change the registry key. Whats wrong?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>brando|away</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237330.html</guid>
		</item>
		<item>
			<title>save .aspx page as .html file</title>
			<link>http://www.daniweb.com/forums/thread237269.html</link>
			<pubDate>Mon, 09 Nov 2009 17:35:09 GMT</pubDate>
			<description><![CDATA[i have looked and looked for this and so far all the code i've downloaded simply doesnt work. 
this code (below) works fine - however it opens up the "save file Dialog" and  requires that the user select the path to save the .html file. 
how can i by-pass that and save the file myself to say - a...]]></description>
			<content:encoded><![CDATA[<div>i have looked and looked for this and so far all the code i've downloaded simply doesnt work.<br />
this code (below) works fine - however it opens up the &quot;save file Dialog&quot; and  requires that the user select the path to save the .html file.<br />
how can i by-pass that and save the file myself to say - a virtual directory?<br />
any help is greatly appreciated<br />
thanks<br />
rik<br />
<br />
Response.Clear()<br />
            Response.Buffer = True<br />
            Response.ContentType = &quot;application/html&quot;<br />
            Response.ContentEncoding = System.Text.Encoding.UTF8<br />
            Response.AddHeader(&quot;Content-Disposition&quot;, &quot;attachment;filename=Test.html&quot;)<br />
            Response.Charset = &quot;&quot;<br />
            EnableViewState = False<br />
            Dim oStringWriter As System.IO.StringWriter = New System.IO.StringWriter<br />
            Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New System.Web.UI.HtmlTextWriter(oStringWriter)<br />
            pnMyPanel.RenderControl(oHtmlTextWriter)<br />
            Response.Write(oHtmlTextWriter.ToString())<br />
            Response.Close()</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>rikb53</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237269.html</guid>
		</item>
		<item>
			<title>ASP.NET Using C++</title>
			<link>http://www.daniweb.com/forums/thread237215.html</link>
			<pubDate>Mon, 09 Nov 2009 12:19:02 GMT</pubDate>
			<description><![CDATA[Hi all, 
This is me again ,I want to learn programming in ASP.NET using C++ 
 
I've installed the IIS ,and made an .aspx file with the following code: 
 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
This is me again ,I want to learn programming in ASP.NET using C++<br />
<br />
I've installed the IIS ,and made an .aspx file with the following code:<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Page Language=&quot;C++&quot;%&gt;<br />
<br />
&lt;html&gt;<br />
&lt;head&gt;&lt;title&gt;Welcome!&lt;/title&gt;&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;p align=&quot;center&quot;&gt;&lt;font color=&quot;RED&quot; face=&quot;Snap ITC&quot; size=&quot;12pt&quot;&gt;Welcome to your New ASP.NET Page &lt;br&gt; &quot;Using C++&quot;&lt;/font&gt;&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre><br />
But it gives me the following Error:<br />
<span style="color:Red"><a rel="nofollow" class="t" href="http://www.mediafire.com/file/gydntyauzmq/Error.htm" target="_blank">http://www.mediafire.com/file/gydntyauzmq/Error.htm</a></span><br />
<br />
Tell me if there's a tutorial or a book that teaches Programming in ASP.NET using C++ ,Because i searched alot without any positive results.<br />
<br />
Thx,,<br />
       Kimo</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>kim00000</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237215.html</guid>
		</item>
		<item>
			<title>Web form like window classic form</title>
			<link>http://www.daniweb.com/forums/thread237205.html</link>
			<pubDate>Mon, 09 Nov 2009 11:29:15 GMT</pubDate>
			<description>Hi 
 
 I want stylize web form (form, gridview, button, menu) like windows classic form. 
 
Please help me.</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
 I want stylize web form (form, gridview, button, menu) like windows classic form.<br />
<br />
Please help me.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>irdeveloper</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237205.html</guid>
		</item>
		<item>
			<title>how to deploy matlab on asp.net</title>
			<link>http://www.daniweb.com/forums/thread237155.html</link>
			<pubDate>Mon, 09 Nov 2009 07:13:36 GMT</pubDate>
			<description>Hi guys 
 
I am looking for ways on how to deploy matlab on asp.net. I found a good reference at http://www.mathworks.com/support/tech-notes/1600/1608.html#Section_2.  
 
However, the example shown is too simple and short for newbie like me. Is there any example, step by step guide (with pictures)...</description>
			<content:encoded><![CDATA[<div>Hi guys<br />
<br />
I am looking for ways on how to deploy matlab on asp.net. I found a good reference at <a rel="nofollow" class="t" href="http://www.mathworks.com/support/tech-notes/1600/1608.html#Section_2" target="_blank">http://www.mathworks.com/support/tec...html#Section_2</a>. <br />
<br />
However, the example shown is too simple and short for newbie like me. Is there any example, step by step guide (with pictures) or videos out there?<br />
<br />
Appreciate all the support. Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>amirulkhairi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237155.html</guid>
		</item>
		<item>
			<title>how i can paging my result</title>
			<link>http://www.daniweb.com/forums/thread237043.html</link>
			<pubDate>Sun, 08 Nov 2009 20:16:03 GMT</pubDate>
			<description>hi  
 
i use asp.net with vb.net 
 
i do search form  
 
i put result in placeholder  
 
how i can create dynamic page</description>
			<content:encoded><![CDATA[<div>hi <br />
<br />
i use asp.net with vb.net<br />
<br />
i do search form <br />
<br />
i put result in placeholder <br />
<br />
how i can create dynamic page <br />
<br />
such that : each page include 4 results only</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>yara.008</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237043.html</guid>
		</item>
		<item>
			<title>ASP.NET Using VC++ - Unhandled Exception</title>
			<link>http://www.daniweb.com/forums/thread237009.html</link>
			<pubDate>Sun, 08 Nov 2009 16:29:09 GMT</pubDate>
			<description><![CDATA[Hello ! 
 
I'm New to ASP.NET, I want to use it with C++. 
I installed Microsoft Visual C++ 2008 Express Edition, 
 
And installed IIS ,When i've Written my First code to Test, I got this message: 
 
 
---Quote--- 
An unhandled exception was generated during the execution of the current web...]]></description>
			<content:encoded><![CDATA[<div>Hello !<br />
<br />
I'm New to ASP.NET, I want to use it with C++.<br />
I installed Microsoft Visual C++ 2008 Express Edition,<br />
<br />
And installed IIS ,When i've Written my First code to Test, I got this message:<br />
<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  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.    <hr /> </td> </tr> </table> </div>Stack Trace:<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  [NotImplementedException: The method or operation is not implemented.]<br />
   Microsoft.VisualC.CppCodeProvider.CreateCompiler() +28<br />
   System.CodeDom.Compiler.CodeDomProvider.CreateCompilerHelper() +8<br />
   System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames) +14<br />
   System.Web.Compilation.AssemblyBuilder.Compile() +775<br />
   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +71<br />
   System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +8729531<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.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126<br />
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62<br />
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33<br />
   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40<br />
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160<br />
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93<br />
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155  <hr /> </td> </tr> </table> </div>Given that my code is:<br />
 <pre style="margin:20px; line-height:13px">&lt;%@Page Language = &quot;C++&quot;%&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;&lt;title&gt;Welcome!&lt;/title&gt;&lt;/head&gt;<br />
&lt;p align=&quot;center&quot;&gt;&lt;font color=&quot;RED&quot; face=&quot;Snap ITC&quot; size=&quot;12pt&quot;&gt;Welcome to your New ASP.NET Page &lt;br&gt; &quot;Using C++&quot;&lt;/font&gt;&lt;/p&gt;<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>kim00000</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread237009.html</guid>
		</item>
		<item>
			<title>help regarding session</title>
			<link>http://www.daniweb.com/forums/thread236983.html</link>
			<pubDate>Sun, 08 Nov 2009 13:09:35 GMT</pubDate>
			<description>i have made 2 pages....1 for login n next to show after successful login.... 
on login page i have created a button....in its handler i have created session.... on the load event of next page i m checking for the availibity of the session variable n its value.... its workin well..... but the...</description>
			<content:encoded><![CDATA[<div>i have made 2 pages....1 for login n next to show after successful login....<br />
on login page i have created a button....in its handler i have created session.... on the load event of next page i m checking for the availibity of the session variable n its value.... its workin well..... but the problem comes when i press back button of the browser.....after signing out when i press back button the page is being displayed.....(this should not happend).... can anyone help me regarding this...?? plz reply soon....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>eimmu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236983.html</guid>
		</item>
		<item>
			<title>Generic Handler</title>
			<link>http://www.daniweb.com/forums/thread236970.html</link>
			<pubDate>Sun, 08 Nov 2009 12:02:52 GMT</pubDate>
			<description><![CDATA[Hi to all, 
 
I want to show image in gridview, So generic handler is needed, but when I am adding it using add New Item dialog, 
It doesn't show generic handler . 
If I create my own using simple page it gives me error. 
I am using Visual Web Developer Express edition 2005. may I add this...]]></description>
			<content:encoded><![CDATA[<div>Hi to all,<br />
<br />
I want to show image in gridview, So generic handler is needed, but when I am adding it using add New Item dialog,<br />
It doesn't show generic handler .<br />
If I create my own using simple page it gives me error.<br />
I am using Visual Web Developer Express edition 2005. may I add this component ??? how to do that?<br />
plz reply!!! It's urgent!</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/thread236970.html</guid>
		</item>
		<item>
			<title>radiobuttonlist.selected value</title>
			<link>http://www.daniweb.com/forums/thread236968.html</link>
			<pubDate>Sun, 08 Nov 2009 11:50:38 GMT</pubDate>
			<description><![CDATA[we are creating an aptitude test software. here is the problem we are encountering.. help wud be appreciated 
  
if (RadioButtonList1.SelectedValue == obj[2].ToString() || RadioButtonList11.SelectedValue != "") 
{ 
int corr_ans = Convert.ToInt32(Session["corr_ans_count"]); 
corr_ans += 1;...]]></description>
			<content:encoded><![CDATA[<div>we are creating an aptitude test software. here is the problem we are encountering.. help wud be appreciated<br />
 <br />
if (RadioButtonList1.SelectedValue == obj[2].ToString() || RadioButtonList11.SelectedValue != &quot;&quot;)<br />
{<br />
int corr_ans = Convert.ToInt32(Session[&quot;corr_ans_count&quot;]);<br />
corr_ans += 1;<br />
Session[&quot;corr_ans_count&quot;] = corr_ans;<br />
}<br />
else<br />
{<br />
int wrong_ans = Convert.ToInt32(Session[&quot;wrong_ans_count&quot;]);<br />
wrong_ans += 1;<br />
Session[&quot;wrong_ans_count&quot;] = wrong_ans;<br />
}<br />
 <br />
problem area : as v hav used  &quot;RadioButtonList1.SelectedValue&quot; to check whether student has enterd the correct ans or not but &quot;RadioButtonList1.SelectedValue&quot; is holding &quot;null&quot; rather than d selected option from radio button list.even if v enter correct ans then also its taking all answers as wrong answers not giving the correct result. is there any other way to do this... ????<br />
 <br />
another problem: we are getting error at CONNECT.OPEN even if the connection string is correctly enterd.. ??<br />
<br />
Many Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ariez88</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236968.html</guid>
		</item>
		<item>
			<title>columns in GridView</title>
			<link>http://www.daniweb.com/forums/thread236918.html</link>
			<pubDate>Sun, 08 Nov 2009 03:43:35 GMT</pubDate>
			<description><![CDATA[Hi to all, 
 
I have table student in which I inserting first name,middle name, last name in 3 different columns. but when i want to show it in gridview I want to join three columns into only one heading "Name". 
Is it possible...? 
or any other way to show it..?]]></description>
			<content:encoded><![CDATA[<div>Hi to all,<br />
<br />
I have table student in which I inserting first name,middle name, last name in 3 different columns. but when i want to show it in gridview I want to join three columns into only one heading &quot;Name&quot;.<br />
Is it possible...?<br />
or any other way to show it..?</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/thread236918.html</guid>
		</item>
		<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>
	</channel>
</rss>
