<?xml version="1.0" encoding="ISO-8859-1"?>

<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>Bytes - answers</title>
		<link>http://bytes.com</link>
		<description>ASP.NET - Get answers to questions about ASP.NET Websites, ASP.NET Web Applications, ASMX Web Services.</description>
		<language>en</language>
		<lastBuildDate>Fri, 20 Nov 2009 22:38:47 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://bytes.com/images/misc/rss.jpg</url>
			<title>Bytes - answers</title>
			<link>http://bytes.com</link>
		</image>
		<item>
			<title>PageDirty</title>
			<link>http://bytes.com/topic/asp-net/answers/877358-pagedirty</link>
			<pubDate>Fri, 20 Nov 2009 11:47:53 GMT</pubDate>
			<description>Dear All 
 
I have a page which has different editable usercontrols on it. All of these controls let user proivide data. My page has several...</description>
			<content:encoded><![CDATA[<div>Dear All<br />
<br />
I have a page which has different editable usercontrols on it. All of these controls let user proivide data. My page has several usercontrols that are editable. In the edit mode, when the user changes state on the control, that page is set to dirty.The user try to navigate with out save,i need the the message the page is dirty.I am having the infragistics controls in my page.<br />
how to do this.<br />
<br />
<br />
Thanks<br />
Anitha</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>anithaapr05</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877358-pagedirty</guid>
		</item>
		<item>
			<title>Iam not  getting values I entered in the gridview for  updation</title>
			<link>http://bytes.com/topic/asp-net/answers/877349-iam-not-getting-values-i-entered-gridview-updation</link>
			<pubDate>Fri, 20 Nov 2009 09:09:25 GMT</pubDate>
			<description>Here is my code: 
 
 
Code: 
--------- 
using System.Data; 
using System.Linq; 
using System.Web; 
using System.Web.Security; 
using System.Web.UI;</description>
			<content:encoded><![CDATA[<div>Here is my code:<br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">
using&nbsp;System.Data;</li>
<li class="codeLI">
using&nbsp;System.Linq;</li>
<li class="codeLI">
using&nbsp;System.Web;</li>
<li class="codeLI">
using&nbsp;System.Web.Security;</li>
<li class="codeLI">
using&nbsp;System.Web.UI;</li>
<li class="codeLI">
using&nbsp;System.Web.UI.HtmlControls;</li>
<li class="codeLI">
using&nbsp;System.Web.UI.WebControls;</li>
<li class="codeLI">
using&nbsp;System.Web.UI.WebControls.WebParts;</li>
<li class="codeLI">
using&nbsp;System.Xml.Linq;</li>
<li class="codeLI">
using&nbsp;HomeDataLayer;</li>
<li class="codeLI">
using&nbsp;System.Windows.Forms;</li>
<li class="codeLI">
public&nbsp;partial&nbsp;class&nbsp;Reminders&nbsp;:&nbsp;System.Web.UI.Page</li>
<li class="codeLI">
{</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;void&nbsp;Page_Load(object&nbsp;sender,&nbsp;EventArgs&nbsp;e)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!IsPostBack)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txtRemindDate&nbsp;.Text&nbsp;&nbsp;=&nbsp;System.DateTime.Now.Date.ToShortDateString();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FillGrid();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;void&nbsp;FillGrid()</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DataTable&nbsp;dt&nbsp;=&nbsp;HomeManagement.SelectReminders();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(dt&nbsp;!=&nbsp;null)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(dt.Rows.Count&nbsp;&gt;&nbsp;0)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.DataSource&nbsp;=&nbsp;dt;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.DataBind();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(int&nbsp;i&nbsp;=&nbsp;0;&nbsp;i&nbsp;&lt;&nbsp;RemindersGrid.Rows.Count;&nbsp;i++)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(RemindersGrid.Rows[i].Cells[4].Text&nbsp;==&nbsp;Convert.ToString(System.DateTime.Now.Date))</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.Rows[i].BackColor&nbsp;=&nbsp;System.Drawing.Color.LightYellow;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//string&nbsp;msg&nbsp;=&nbsp;RemindersGrid.Rows[i].Cells[1].Text;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//msg&nbsp;+=&nbsp;&quot;&lt;br&gt;&quot;&nbsp;+&nbsp;RemindersGrid.Rows[i].Cells[4].Text;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//System.Windows.Forms.MessageBox.Show(msg);</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.DataSource&nbsp;=&nbsp;null;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.DataBind();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;void&nbsp;submit_Click(object&nbsp;sender,&nbsp;ImageClickEventArgs&nbsp;e)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;i&nbsp;=&nbsp;HomeManagement.InsertReminder(txtIssue.Text,&nbsp;txtName.Text,&nbsp;Convert.ToDateTime(txtRemindDate.Text),&nbsp;System.DateTime.Now.Date&nbsp;);</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(i&nbsp;&gt;&nbsp;0)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Windows.Forms.MessageBox.Show(&quot;Succcessfully&nbsp;Inserted&quot;);</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txtRemindDate&nbsp;.Text&nbsp;&nbsp;=&nbsp;System.DateTime.Now.Date.ToShortDateString();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txtIssue.Text&nbsp;=&nbsp;txtName.Text&nbsp;=&nbsp;&quot;&quot;;</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;catch&nbsp;(Exception&nbsp;err)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Windows.Forms.MessageBox.Show(err.ToString&nbsp;());</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;void&nbsp;RemindersGrid_RowEditing(object&nbsp;sender,&nbsp;GridViewEditEventArgs&nbsp;e)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.EditIndex&nbsp;=&nbsp;e.NewEditIndex;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FillGrid();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;void&nbsp;RemindersGrid_RowUpdating(object&nbsp;sender,&nbsp;GridViewUpdateEventArgs&nbsp;e)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bool&nbsp;flag;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(RemindersGrid.DataSource&nbsp;==&nbsp;null)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flag&nbsp;=&nbsp;false;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.EditIndex&nbsp;=&nbsp;e.RowIndex;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;ID&nbsp;=&nbsp;e.RowIndex;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string&nbsp;name&nbsp;=&nbsp;RemindersGrid.Rows[e.RowIndex&nbsp;].Cells[2].Text&nbsp;;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;i&nbsp;=&nbsp;HomeManagement.UpdateReminder(RemindersGrid.Rows[e.RowIndex].Cells[5].Text,&nbsp;RemindersGrid.Rows[ID].Cells[2].Text,&nbsp;Convert.ToDateTime(RemindersGrid.Rows[ID].Cells[4].Text),&nbsp;Convert.ToDateTime(RemindersGrid.Rows[ID].Cells[3].Text),&nbsp;int.Parse(RemindersGrid.Rows[ID&nbsp;].Cells[1].Text));</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(i&nbsp;&gt;&nbsp;0)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show(&quot;Update&nbsp;Successfully&quot;);</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;catch&nbsp;(Exception&nbsp;err)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show(err.ToString());</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;void&nbsp;RemindersGrid_RowDeleting(object&nbsp;sender,&nbsp;GridViewDeleteEventArgs&nbsp;e)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;index&nbsp;=&nbsp;e.RowIndex;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FillGrid();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.EditIndex&nbsp;=&nbsp;e.RowIndex;</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;i&nbsp;=&nbsp;HomeManagement.DeleteReminders(int.Parse(RemindersGrid.Rows[index].Cells[1].Text));</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(i&nbsp;&gt;&nbsp;0)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show(&quot;Deleted&nbsp;Successfully&quot;);</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;void&nbsp;RemindersGrid_RowCancelingEdit(object&nbsp;sender,&nbsp;GridViewCancelEditEventArgs&nbsp;e)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;FillGrid();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemindersGrid.EditIndex&nbsp;=&nbsp;-1;</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
}</li>

	</ol>
</div>
</div>
<!-- /CODE -->


Can any one solve my problem?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>sailaja71185</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877349-iam-not-getting-values-i-entered-gridview-updation</guid>
		</item>
		<item>
			<title>DetailsView</title>
			<link>http://bytes.com/topic/asp-net/answers/877320-detailsview</link>
			<pubDate>Thu, 19 Nov 2009 17:50:11 GMT</pubDate>
			<description><![CDATA[Hi all, I've been trying to teach myself about ASP, and I can't find a lot of information on certain things. One being the DetailsView. What I'm...]]></description>
			<content:encoded><![CDATA[<div>Hi all, I've been trying to teach myself about ASP, and I can't find a lot of information on certain things. One being the DetailsView. What I'm trying to do is put it into Edit mode, but be able to have more than just text boxes. Some of the fields need to be dropdown, etc. Is there a way to change this around? Or would I have to completely change the way I'm doing it.<br />
<br />
Also, I'm linking to the page that my DetailsView is on from a master GridView table. When the user clicks on an ID number, that's the record I want to pull up the details on. Is there a way to get only that record without having to put it in the SELECT statement? I'm afraid if I do, then that'll be the ONLY record they'll be able to see, and I'd rather have it so they're able to page through each individual record.<br />
<br />
Any help would be great! thanks.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>jmprescott</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877320-detailsview</guid>
		</item>
		<item>
			<title>How to add crystal report in Visual studio 2005 with inbuilt SQL express edition DB?</title>
			<link>http://bytes.com/topic/asp-net/answers/877317-how-add-crystal-report-visual-studio-2005-inbuilt-sql-express-edition-db</link>
			<pubDate>Thu, 19 Nov 2009 17:02:11 GMT</pubDate>
			<description>I am not able to add crystal report to my project. Help me . I am using VS 2005 and inbuilt SQL server and database is created in it only..</description>
			<content:encoded><![CDATA[<div>I am not able to add crystal report to my project. Help me . I am using VS 2005 and inbuilt SQL server and database is created in it only..</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>davidvikrant</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877317-how-add-crystal-report-visual-studio-2005-inbuilt-sql-express-edition-db</guid>
		</item>
		<item>
			<title>Blank page views on IE8; full page views on Firefox</title>
			<link>http://bytes.com/topic/asp-net/answers/877266-blank-page-views-ie8-full-page-views-firefox</link>
			<pubDate>Wed, 18 Nov 2009 20:13:25 GMT</pubDate>
			<description><![CDATA[So first of all, I'm a designer first and a *light* coder second. This is my first-ever attempt and setting up an e-commerce site from scratch, and...]]></description>
			<content:encoded><![CDATA[<div>So first of all, I'm a designer first and a <b>light</b> coder second. This is my first-ever attempt and setting up an e-commerce site from scratch, and I've been on a real learning curve.<br />
<br />
This is a <i>one item</i> shopping cart -- the only thing that can change is the number of items ordered.<br />
<br />
So, I've set up the site structure and design -- CSS and HTML -- and proofed it in all major browsers (IE, Firefox, Safari, Opera). Then I went back and created the working version of the shopping cart in ASP. Now I'm going through and proofing/testing the document, and I'm running in to errors left, right, and center. I've officially got the SSL installed (after three weeks of fighting with my host), and now I've got a new issue.<br />
<br />
I have a lovely view of the web site, as it should be, in Firefox. However, when I go to preview it in Internet Explorer 8, I just get a blank window.<br />
<br />
Now, here's my potential logic... I am running a 500 Internal Error when I process the cart on Firefox. Is it possible that this 500 Internal Error that's from the form post location is blocking out IE or is there something else?<br />
<br />
Here's the URL for reference:<br />
<a href="https://www.we-vibecanada.com/cart.asp" target="_blank">https://www.we-vibecanada.com/cart.asp</a><br />
<br />
<b>Edit</b> Whoops! I found an extra &lt;!--- in the page that was causing all the problems. SORRY!</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>graphicssl</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877266-blank-page-views-ie8-full-page-views-firefox</guid>
		</item>
		<item>
			<title>Internet Explorer cannot display the web page</title>
			<link>http://bytes.com/topic/asp-net/answers/877261-internet-explorer-cannot-display-web-page</link>
			<pubDate>Wed, 18 Nov 2009 18:20:17 GMT</pubDate>
			<description>Hi, 
I have three dropdownlists on a webpage which I am loading on the pageload under !Ispostback. 
After the page is loaded, when I am selecting a...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I have three dropdownlists on a webpage which I am loading on the pageload under !Ispostback.<br />
After the page is loaded, when I am selecting a value from the first dropdown I am getting an error saying that Internet Explorer cannot display the web page.<br />
When I am debugging through the code, I found out that it is not hitting the page load event at all after selecting the value from the dropdown.<br />
Can someone tell what is the problem.<br />
It is very urgent for me.<br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>radhip</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877261-internet-explorer-cannot-display-web-page</guid>
		</item>
		<item>
			<title>An unhandled exception has occurred. /   Exception message: Object reference not set</title>
			<link>http://bytes.com/topic/asp-net/answers/877236-unhandled-exception-has-occurred-exception-message-object-reference-not-set</link>
			<pubDate>Wed, 18 Nov 2009 11:21:58 GMT</pubDate>
			<description>Event code: 3005  
Event message: An unhandled exception has occurred.  
Event time: 11/18/2009 3:03:53 PM  
Event time (UTC): 11/18/2009 9:33:53 AM ...</description>
			<content:encoded><![CDATA[<div>Event code: 3005 <br />
Event message: An unhandled exception has occurred. <br />
Event time: 11/18/2009 3:03:53 PM <br />
Event time (UTC): 11/18/2009 9:33:53 AM <br />
Event ID: ef3014ea80424b00b1bc2e7095fffe4c <br />
Event sequence: 34707 <br />
Event occurrence: 17 <br />
Event detail code: 0 <br />
 <br />
Process information: <br />
    Process ID: 3008 <br />
    Process name: w3wp.exe <br />
    Account name: NT AUTHORITY\NETWORK SERVICE <br />
 <br />
Exception information: <br />
    Exception type: NullReferenceException <br />
    Exception message: Object reference not set to an instance of an object. <br />
 <br />
Request information: <br />
    Request URL: http://indoserv.com/pages/indcoe/export/indjobcosting/indcoejobcostingdetailsfrpg.aspx?q=cGFnZWlkfEFnSW5  kQ29lSm9iQ29zdGluZ0RldGFpbHNGclBnJmFjdGlvbmlkfE9wZ  W5BZ0luZENvZUpvYkNvc3RpbmdEZXRhaWxzJmFjdGlvbmNyaXR  lcmlhfCU1YkFnSW5kQ29lSm9iQ29zdGluZ0RldGFpbHMlNWQuJ  TViRm9ybUlkJTVkJTNkJzE1NzQ0OCcmbmV4dGFjdGlvbmNyaXR  lcmlhfCZJc1BvcHVwUGFnZXxmYWxzZSZwZ2NoaWR8MWMyYWMzM  jkzNDM5NGQ5Mjg4OTYxYjMxMzllNDU5MWRfZDJreGl6NDV5MXd  nc2E0NWhpdTRsejQ1Jg==-fqW1O0SE9IQ=&amp;w=;;;;; <br />
    Request path: /pages/agindcoe/oceanexport/agindjobcosting/agindcoejobcostingdetailsfrpg.aspx <br />
    Is authenticated: True <br />
    Authentication Type: Forms <br />
    Thread account name: NT AUTHORITY\NETWORK SERVICE <br />
 <br />
Thread information: <br />
    Thread ID: 12 <br />
    Thread account name: NT AUTHORITY\NETWORK SERVICE <br />
    Is impersonating: False <br />
    Stack trace:    at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Page.UnloadRecursive(Boolean dispose)<br />
   at System.Web.UI.Page.ProcessRequestCleanup()<br />
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<br />
   at System.Web.UI.Page.ProcessRequest()<br />
   at System.Web.UI.Page.ProcessRequestWithNoAssert(Http  Context context)<br />
   at System.Web.UI.Page.ProcessRequest(HttpContext context)<br />
   at ASP.pages_agindcoe_oceanexport_agindjobcosting_agi  ndcoejobcostingdetailsfrpg_aspx.ProcessRequest(Htt  pContext context)<br />
   at System.Web.HttpApplication.CallHandlerExecutionSte  p.System.Web.HttpApplication.IExecutionStep.Execut  e()<br />
   at System.Web.HttpApplication.ExecuteStep(IExecutionS  tep step, Boolean&amp; completedSynchronously)<br />
 <br />
 <br />
Custom event details: <br />
<br />
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>chandhrakv</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877236-unhandled-exception-has-occurred-exception-message-object-reference-not-set</guid>
		</item>
		<item>
			<title>Event code: 3005 / Event message: An unhandled exception has occurred.</title>
			<link>http://bytes.com/topic/asp-net/answers/877235-event-code-3005-event-message-unhandled-exception-has-occurred</link>
			<pubDate>Wed, 18 Nov 2009 11:11:28 GMT</pubDate>
			<description>Hi experts,  
Can any one please respond with the resolution. Machine: WIN2K3, ASP.NET application, .NET 2.0 with June 2007 hotfix installed...</description>
			<content:encoded><![CDATA[<div>Hi experts, <br />
Can any one please respond with the resolution. Machine: WIN2K3, ASP.NET application, .NET 2.0 with June 2007 hotfix installed recently. <br />
<br />
Facing daily 1000 errors with the same type hopefully. Please assist. <br />
----- <br />
Event code: 3005 <br />
Event message: An unhandled exception has occurred. <br />
Event time: 11/18/2009 10:48:23 AM <br />
Event time (UTC): 11/18/2009 5:18:23 AM <br />
Event ID: 6418c83513d4492bb14bc36994b95996 <br />
Event sequence: 6691 <br />
Event occurrence: 2 <br />
Event detail code: 0 <br />
Exception information: <br />
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) <br />
at System.Web.UI.Control.RenderChildrenInternal(HtmlT  extWriter writer, ICollection children) <br />
at System.Web.UI.Control.RenderChildren(HtmlTextWrite  r writer) <br />
at System.Web.UI.Control.Render(HtmlTextWriter writer) <br />
at System.Web.UI.WebControls.WebControl.RenderContent  s(HtmlTextWriter writer) <br />
at System.Web.UI.WebControls.WebParts.GenericWebPart.  Render(HtmlTextWriter writer) <br />
at System.Web.UI.Control.RenderControlInternal(HtmlTe  xtWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) <br />
at System.Web.UI.WebControls.WebParts.WebPartChrome.R  enderPartContents(HtmlTextWriter writer, WebPart webPart) <br />
at System.Web.UI.Control.Render(HtmlTextWriter writer) <br />
at System.Web.UI.Control.RenderControlInternal(HtmlTe  xtWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderChildrenInternal(HtmlT  extWriter writer, ICollection children) <br />
at System.Web.UI.Control.RenderChildren(HtmlTextWrite  r writer) <br />
at System.Web.UI.HtmlControls.HtmlContainerControl.Re  nder(HtmlTextWriter writer) <br />
at System.Web.UI.Control.RenderControlInternal(HtmlTe  xtWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderChildrenInternal(HtmlT  extWriter writer, ICollection children) <br />
at System.Web.UI.Control.RenderChildren(HtmlTextWrite  r writer) <br />
at System.Web.UI.Page.Render(HtmlTextWriter writer) <br />
at System.Web.UI.Control.RenderControlInternal(HtmlTe  xtWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) <br />
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) <br />
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) <br />
Custom event details: <br />
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. <br />
----- <br />
apart from these am facing below errors as well: <br />
Exception of type 'System.OutOfMemoryException' was thrown. Object reference not set to an instance of an object. The remote server returned an error: (414) REQUEST URI TOO LONG. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. <br />
Fast help is appreciated, as am facing the issues from long ago.... and need to fix them ASAP. <br />
<br />
Thanks, <br />
KVC.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>chandhrakv</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877235-event-code-3005-event-message-unhandled-exception-has-occurred</guid>
		</item>
		<item>
			<title>Default Login</title>
			<link>http://bytes.com/topic/asp-net/answers/877226-default-login</link>
			<pubDate>Wed, 18 Nov 2009 09:04:46 GMT</pubDate>
			<description><![CDATA[I'm developing a site where I need the user to view the site and then decide whether or not to log in.  For some reason when I run my site in Visual...]]></description>
			<content:encoded><![CDATA[<div>I'm developing a site where I need the user to view the site and then decide whether or not to log in.  For some reason when I run my site in Visual Studio it automatically pulls up login.aspx (instead of default.aspx)  I've attached the two files below.<br />
<br />
Thanks in advance!!</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://bytes.com/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://bytes.com/attachments/attachment/2436d1258535065/default.aspx.txt">default.aspx.txt</a> (385 Bytes)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://bytes.com/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://bytes.com/attachments/attachment/2437d1258535070/login.aspx.txt">login.aspx.txt</a> (2.4 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://bytes.com/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://bytes.com/attachments/attachment/2438d1258535075/web.config.txt">web.config.txt</a> (1.4 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>Jollywg</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877226-default-login</guid>
		</item>
		<item>
			<title>How to use SandCastle for ASP.NET website?</title>
			<link>http://bytes.com/topic/asp-net/answers/877219-how-use-sandcastle-asp-net-website</link>
			<pubDate>Wed, 18 Nov 2009 07:05:35 GMT</pubDate>
			<description>Hello, 
 
I have a ASP.NET website (not web application) source code. 
I want to generate its code documentation through any tool. 
I checked...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I have a ASP.NET website (not web application) source code.<br />
I want to generate its code documentation through any tool.<br />
I checked <a href="http://shfb.codeplex.com/" target="_blank">SandCastle</a>, but, it generates documentation for only ASP.NET web application, I guess. Because, it needs namespaces and in ASP.NET website, we dont have.<br />
<br />
I checked <a href="http://submain.com/products/ghostdoc.aspx" target="_blank">GhostDoc </a> also. but, I could not install it, since, I'm using VS 2008 Express edition.<br />
<br />
Please let me know, how to proceed.<br />
<br />
Thanks in Adv.<br />
Swapnil</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>ssnaik84</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877219-how-use-sandcastle-asp-net-website</guid>
		</item>
		<item>
			<title>How to suppress CrystalReport group section base on summary value</title>
			<link>http://bytes.com/topic/asp-net/answers/877165-how-suppress-crystalreport-group-section-base-summary-value</link>
			<pubDate>Tue, 17 Nov 2009 12:16:33 GMT</pubDate>
			<description><![CDATA[Hi there, 
 
I have records in the form of scorecards. Each scorecard has fields "type" and "score". 
 
eg 
typeA    2.3 
typeB    3.3 
typeA    2.0...]]></description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I have records in the form of scorecards. Each scorecard has fields &quot;type&quot; and &quot;score&quot;.<br />
<br />
eg<br />
typeA    2.3<br />
typeB    3.3<br />
typeA    2.0<br />
typeC    1.9<br />
typeB    1.1<br />
etc<br />
<br />
In the CrystalReport I have a group section where I show the average score of each type. I suppress the detail section and put the &quot;average (running total)&quot; ( <i>Average ({ScoreCardTbl.Score}, {@card})</i> )in the group footer section.<br />
<br />
Using the above example the report would show<br />
<br />
typeA    2.15<br />
typeB    2.2<br />
typeC    1.9<br />
<br />
This much is working already.<br />
<br />
How can I suppress an instance of a group if the average score falls outside a range value?? So if I want averages greater than 2 then I don't want &quot;typeC 1.9&quot; to appear.<br />
<br />
In the report section suppress fomula I have tried putting eg <br />
<br />
<i>Average ({ScoreCardTbl.Score}, {@cardtype}) &gt; 2.0</i><br />
<br />
but it does not work<br />
<br />
Can anyone help? Thanks<br />
<br />
PS, when posting a question in this forum how can I highlight a block of text, say in a different colour?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>dragon52</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877165-how-suppress-crystalreport-group-section-base-summary-value</guid>
		</item>
		<item>
			<title>getting logged in user name</title>
			<link>http://bytes.com/topic/asp-net/answers/877160-getting-logged-user-name</link>
			<pubDate>Tue, 17 Nov 2009 11:18:14 GMT</pubDate>
			<description>Hi, 
I need to get the user name of the current logged in person (remote user), who is accessing the site. Is there any way to get the logged in...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I need to get the user name of the current logged in person (remote user), who is accessing the site. Is there any way to get the logged in username.<br />
<br />
Thanks &amp; Regards<br />
Karthi</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>karthi84</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877160-getting-logged-user-name</guid>
		</item>
		<item>
			<title>getting data from multiple tables</title>
			<link>http://bytes.com/topic/asp-net/answers/877153-getting-data-multiple-tables</link>
			<pubDate>Tue, 17 Nov 2009 07:52:15 GMT</pubDate>
			<description>hi, 
i wanted to retrieve three fields from two tables according to the two dates .. 
between the two dates how i will retrieve the data ... 
do i...</description>
			<content:encoded><![CDATA[<div>hi,<br />
i wanted to retrieve three fields from two tables according to the two dates ..<br />
between the two dates how i will retrieve the data ...<br />
do i have to add 2 dataadapters?<br />
2data sources?<br />
thanks</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>tracy6001</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877153-getting-data-multiple-tables</guid>
		</item>
		<item>
			<title>data between two dates in asp.net2008</title>
			<link>http://bytes.com/topic/asp-net/answers/877152-data-between-two-dates-asp-net2008</link>
			<pubDate>Tue, 17 Nov 2009 07:46:32 GMT</pubDate>
			<description>hi, 
i am trying to fetch three fields from my table according to the two dates which will be given by the user in two text boxes in my form.. 
i am...</description>
			<content:encoded><![CDATA[<div>hi,<br />
i am trying to fetch three fields from my table according to the two dates which will be given by the user in two text boxes in my form..<br />
i am facing a problem..<br />
my dates in the database is in the text format..<br />
it is in the form of <br />
10/10/2009<br />
11/10/2009<br />
12/10/2009<br />
12/12/2009<br />
now if i give two dates like 10/10/2009 in textbox1 and 12/10/2009 in textbox2 my datagrid shows allthe data including 12/12/2009...means it is not filtering the month...<br />
my asp.net coding is like this <br />
SELECT [Name], [Date], [TotalHrs] FROM [fabotentry] WHERE (([Date] &gt;= ?) AND ([Date] &lt; ?))<br />
<br />
my vb.net coding is like this<br />
select Name,Date,TotalHrs from fabotentry where Date between '&quot; &amp; tb1.Text &amp; &quot;' and '&quot; &amp; tb2.Text &amp; &quot;'&quot;<br />
<br />
what should i do now???<br />
thanks</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>tracy6001</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877152-data-between-two-dates-asp-net2008</guid>
		</item>
		<item>
			<title><![CDATA[How to Restrict the users based on the user types using .NET 3.5 & VB as code]]></title>
			<link>http://bytes.com/topic/asp-net/answers/877143-how-restrict-users-based-user-types-using-net-3-5-vb-code</link>
			<pubDate>Tue, 17 Nov 2009 06:10:22 GMT</pubDate>
			<description><![CDATA[Hi everyone, 
 
 
I'm using ASP.NET & VB for programming. 
The problem is restricting the users based on the user types. 
 
I've several user types,...]]></description>
			<content:encoded><![CDATA[<div>Hi everyone,<br />
<br />
<br />
I'm using ASP.NET &amp; VB for programming.<br />
The problem is restricting the users based on the user types.<br />
<br />
I've several user types, like Admin, Student, Parent, Coordinator etc. <br />
<br />
Each user type has having certain limitations of form usage. <br />
For ex:<br />
Admin - user is having full rights to add, delete, modify the contents.<br />
Student - user is having only to view report &amp; attendance, but no control to modify.<br />
<br />
Depending on particular user type login, I've to display web page by enabling/disabling certain features. How to do this...?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/asp-net/answers/">answers</category>
			<dc:creator>premMS143</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/asp-net/answers/877143-how-restrict-users-based-user-types-using-net-3-5-vb-code</guid>
		</item>
	</channel>
</rss>
