<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebHostingDevelopment</title>
	<atom:link href="http://programmer.webhostingdevelopment.com/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmer.webhostingdevelopment.com</link>
	<description></description>
	<lastBuildDate>Wed, 07 Jul 2010 07:41:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Generate sql script with data from database</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/07/generate-sql-script-with-data-from-database/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/07/generate-sql-script-with-data-from-database/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 07:41:23 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=41</guid>
		<description><![CDATA[How can we copy data as well the structure and schema as sql query? We need database publishing wizard for that. Download the database publishing wizard and install it. It will be installed at following location : C:\Program Files\Microsoft SQL Server\90\Tools\Publishing\ run the exe and you can get the sql file with all the data, [...]]]></description>
			<content:encoded><![CDATA[<p>How can we copy data as well the structure and schema as sql query? We need database publishing wizard for that.</p>
<p><a href="http://www.codeplex.com/sqlhost/Wiki/View.aspx?title=Database%20Publishing%20Wizard">Download</a> the database publishing wizard and install it.</p>
<p>It will be installed at following location : C:\Program Files\Microsoft SQL Server\90\Tools\Publishing\</p>
<p>run the exe and you can get the sql file with all the data, schema and structure of the database you select.</p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/07/generate-sql-script-with-data-from-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/07/validation-of-viewstate-mac-failed-if-this-application-is-hosted-by-a-web-farm-or-cluster-ensure-that-configuration-specifies-the-same/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/07/validation-of-viewstate-mac-failed-if-this-application-is-hosted-by-a-web-farm-or-cluster-ensure-that-configuration-specifies-the-same/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 03:02:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[viewstate]]></category>
		<category><![CDATA[viewstatemac]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=31</guid>
		<description><![CDATA[When this error comes, put enableViewStateMac=&#8221;false&#8221; in the tag either in the web.config or in the page where you get this error.]]></description>
			<content:encoded><![CDATA[<p>When this error comes, put enableViewStateMac=&#8221;false&#8221; in the  tag either in the web.config or in the page where you get this error.</p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/07/validation-of-viewstate-mac-failed-if-this-application-is-hosted-by-a-web-farm-or-cluster-ensure-that-configuration-specifies-the-same/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/05/system-net-mail-smtpfailedrecipientexception-mailbox-unavailable-the-server-response-was-5-7-1-unable-to-relay/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/05/system-net-mail-smtpfailedrecipientexception-mailbox-unavailable-the-server-response-was-5-7-1-unable-to-relay/#comments</comments>
		<pubDate>Thu, 20 May 2010 05:52:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=30</guid>
		<description><![CDATA[I have got this issue many times, when I try to send email using smtp. There can be several causes for this. You have to allow relay for mail to be sent to outside servers like gmail.com. For sending mail within your server you don&#8217;t have to do this. You can find some helps from [...]]]></description>
			<content:encoded><![CDATA[<p>I have got this issue many times, when I try to send email using smtp. There can be several causes for this. You have to allow relay for mail to be sent to outside servers like gmail.com. For sending mail within your server you don&#8217;t have to do this. You can find some helps from the following links:<br />
<a href="http://blogs.techrepublic.com.com/networking/?p=373"><span style="text-decoration: underline;">Help1</span></a><br />
<a href="http://technet.microsoft.com/en-us/library/bb232021%28EXCHG.80%29.aspx">Help2</a><br />
<a href="https://exchangepedia.com/blog/2007/01/exchange-server-2007-how-to-allow.html">Help3</a></p>
<p>The code I have used is given below:</p>
<p>using System.Net.Mail;</p>
<p>SmtpClient smtpClient = new SmtpClient();<br />
MailMessage message = new MailMessage();<br />
smtpClient.Port = 25;<br />
smtpClient.Host = &#8220;smtp.domain.com&#8221;;<br />
smtpClient.UseDefaultCredentials = false;<br />
smtpClient.Credentials = new System.Net.NetworkCredential(&#8220;webmail username&#8221;, &#8220;webmail password&#8221;);<br />
message.From = new MailAddress(&#8220;webmail username&#8221;);<br />
message.To.Add(&#8220;test@gmail.com&#8221;);<br />
string emailBody = &#8220;Hi,</p>
<p>Welcome</p>
<p>&#8220;;<br />
message.Body = emailBody;<br />
message.Subject = &#8220;testing&#8221;;<br />
message.IsBodyHtml = true;<br />
smtpClient.Send(message);</p>
<p>But, after making the changes on the server, as specified on the above links, I was still getting the same error.  Then I added the following line in between the above code.<br />
smtpClient.DeliveryMethod =  SmtpDeliveryMethod.PickupDirectoryFromIis;</p>
<p>Then the error was gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/05/system-net-mail-smtpfailedrecipientexception-mailbox-unavailable-the-server-response-was-5-7-1-unable-to-relay/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Login failed for user ‘IIS APPPOOL\DefaultAppPool’</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/04/login-failed-for-user-%e2%80%98iis-apppooldefaultapppool%e2%80%99/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/04/login-failed-for-user-%e2%80%98iis-apppooldefaultapppool%e2%80%99/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 08:20:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[inetmgr]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=29</guid>
		<description><![CDATA[I got this issue in my system using Windows 7 Ultimate when trying to run a site which is configured to run in IIS. You can get the solution for this from the following link Read More]]></description>
			<content:encoded><![CDATA[<p>I got this issue in my system using Windows 7 Ultimate when trying to run a site which is configured to run in IIS. You can get the solution for this from the following link</p>
<p><a href="http://translate.google.com/translate?js=n&amp;prev=_t&amp;hl=en&amp;ie=UTF-8&amp;layout=1&amp;eotf=1&amp;u=http%3A%2F%2Fwww.codetoday.net%2Fdefault.aspx%3Fg%3Dposts%26t%3D1595&amp;sl=auto&amp;tl=en">Read More</a></p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/04/login-failed-for-user-%e2%80%98iis-apppooldefaultapppool%e2%80%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grouping Gridview</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/04/grouping-gridview/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/04/grouping-gridview/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 02:31:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=28</guid>
		<description><![CDATA[Some times we want to group gridview. ZNet is a good control for this use.ZNetWe can use this for grouping and also for the comparison.]]></description>
			<content:encoded><![CDATA[<p>Some times we want to group gridview. ZNet is a good control for this use.<br /><a href="http://znetcontrols.blogspot.com/2008/08/extended-gridview-for-aspnet-20-with.html">ZNet</a><br />We can use this for grouping and also for the comparison.</p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/04/grouping-gridview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>specifying ValidationGroup in Page_ClientValidate function</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/03/specifying-validationgroup-in-page_clientvalidate-function/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/03/specifying-validationgroup-in-page_clientvalidate-function/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 09:41:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=27</guid>
		<description><![CDATA[Hi, We know that, Page_ClientValidate function tests if all controls meet asp.net validation criteria. This function is provided by asp.net. But, if we use more than, one validation group in the page, we may have to specify the validation group, we want to validate. For that, give like given below:Page_ClientValidate(&#8216;ValGroupName&#8217;) Then, it will validate only [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>We know that, Page_ClientValidate function tests if all controls meet asp.net validation criteria. This function is provided by asp.net. But, if we use more than, one validation group in the page, we may have to specify the validation group, we want to validate. For that, give like given below:<br />Page_ClientValidate(&#8216;ValGroupName&#8217;)</p>
<p>Then, it will validate only for that validation group</p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/03/specifying-validationgroup-in-page_clientvalidate-function/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Controls collection cannot be modified because the control contains code blocks</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/03/the-controls-collection-cannot-be-modified-because-the-control-contains-code-blocks/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/03/the-controls-collection-cannot-be-modified-because-the-control-contains-code-blocks/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 18:26:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=26</guid>
		<description><![CDATA[This is a common error. It occurs when we use tag inside the head tag with runat=&#8221;server&#8221; given. You can get rid of the error by removing the runat=&#8221;server&#8221; from the head tag. But, sometimes, we want to keep that. We can use instead of . But, then, the value may not get bound and [...]]]></description>
			<content:encoded><![CDATA[<p>This is a common error. It occurs when we use <%= %> tag inside the head tag with runat=&#8221;server&#8221; given. You can get rid of the error by removing the runat=&#8221;server&#8221; from the head tag. But, sometimes, we want to keep that. We can use <%# %> instead of <%= %>. But, then, the value may not get bound and we may not get the value of the expression. So, when we use <%# %>, we have to add Page.Header.DataBind(); in the Page Load event.<br /><a href="http://leedumond.com/blog/the-controls-collection-cannot-be-modified-because-the-control-contains-code-blocks/">More Info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/03/the-controls-collection-cannot-be-modified-because-the-control-contains-code-blocks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>To access control of a User Control from an aspx page</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/03/to-access-control-of-a-user-control-from-an-aspx-page/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/03/to-access-control-of-a-user-control-from-an-aspx-page/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 17:44:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=25</guid>
		<description><![CDATA[Whenever you want to access the controls of an usercontrol, create public properties for those controls in your usercontrols and you could easily access them in your .aspx page. Here it goes how&#8230;UserControl. 1 public partial class WebUserControl : System.Web.UI.UserControl2 {3 public string TextBoxValue {4 get { return TextBox1.Text; }5 set { TextBox1.Text = value; [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever you want to access the controls of an usercontrol, create public properties for those controls in your usercontrols and you could easily access them in your .aspx page.</p>
<p>Here it goes how&#8230;<br />UserControl. </p>
<p>1    public partial class WebUserControl : System.Web.UI.UserControl<br />2    {<br />3      public string TextBoxValue {<br />4        get { return TextBox1.Text; }<br />5        set { TextBox1.Text = value; }<br />6      }<br />7      protected void Page_Load(object sender, EventArgs e) {<br />8    <br />9       }<br />10   }</p>
<p> In your .aspx page you can access it either html or code<br /><%@ Register TagPrefix="DS" TagName="TB" Src="~/WebUserControl.ascx" %><br /> <br />
<tr> 
<td colspan="2"><ds:TB ID="myTB1" runat="server" TextBoxValue="HELLO TEST" /></td>
<p>  </tr>
<p>or</p>
<p>public partial class _Default : System.Web.UI.Page<br />{<br />    protected void Page_Load(object sender, EventArgs e)<br />    {<br />      myTB1.TextBoxValue = &#8220;Sample Text&#8221;;<br />    }<br />}</p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/03/to-access-control-of-a-user-control-from-an-aspx-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DateTime.ToString formats</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/02/datetime-tostring-formats/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/02/datetime-tostring-formats/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 17:07:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[datetime]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=24</guid>
		<description><![CDATA[From the following link, you can see all types of formats we can get using DateTime.ToString() method.More Info]]></description>
			<content:encoded><![CDATA[<p>From the following link, you can see all types of formats we can get using DateTime.ToString() method.<br /><a href="http://www.geekzilla.co.uk/View00FF7904-B510-468C-A2C8-F859AA20581F.htm">More Info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/02/datetime-tostring-formats/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Converting DateTime to ShortDate in SQL</title>
		<link>http://programmer.webhostingdevelopment.com/index.php/2010/02/converting-datetime-to-shortdate-in-sql/</link>
		<comments>http://programmer.webhostingdevelopment.com/index.php/2010/02/converting-datetime-to-shortdate-in-sql/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 12:04:00 +0000</pubDate>
		<dc:creator>JinJo</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://programmer.webhostingdevelopment.com/?p=23</guid>
		<description><![CDATA[When you need to get datetime field value in short date, use the following: To get today&#8217;s date in YYYYMMDD format: SELECT CONVERT(CHAR(8), GETDATE(), 112) To get today&#8217;s date in mm/dd/yyyy:CONVERT(VARCHAR(10), GETDATE(), 101) Helpful Link]]></description>
			<content:encoded><![CDATA[<p>When you need to get datetime field value in short date, use the following:</p>
<p>To get today&#8217;s date in YYYYMMDD format: <br />SELECT CONVERT(CHAR(8), GETDATE(), 112)</p>
<p>To get today&#8217;s date in mm/dd/yyyy:<br />CONVERT(VARCHAR(10), GETDATE(), 101)</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms187928%28SQL.90%29.aspx">Helpful Link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://programmer.webhostingdevelopment.com/index.php/2010/02/converting-datetime-to-shortdate-in-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

