Wednesday, May 7, 2008

Changing the Page Title from server side in ASP.NET

Some times we need to change the page title of the page from the server side code. For this, there are two simple methods to set the the page title.We can directly assign the page title form server side as Page.Title="MyPageTitle". But one main thing is that we must set the <head> tag as runat="server"....

Wednesday, January 23, 2008

Modifying Query String in .net

Sometimes we need to modify the query string values of URL. For Example : Consider our Current URL is : http://www.mysite.com/MyHomePage.aspx?Value=x and, we want to change it as : http://www.mysite.com/MyHomePage.aspx?Value=y We can access all the Query Strings from Request.QueryString["query_string_name"],...