protected void retUser()
{
MembershipUser u = Membership.GetUser(HttpContext.Current.User.Identity.Name);
Label1.Text = u.UserName;
}
Note: But First Check that the User is Login...
You Tube
Wednesday, 9 November 2011
Thursday, 3 November 2011
Tuesday, 18 October 2011
Data binding
DataGrid and DataList (among other controls) iterate over a collection automatically and render some HTML for each item (you specify the layout using templates). The automatic data binding of collections works for the following controls: HtmlSelect, CheckBoxList, DataGrid, DataList, Repeater, DropDownList, ComboBox, ListBox, and RadioButtonList. Each of these controls will automatically bind to the following classes representing collections: Array, ArrayList, HashTable, Queue, SortedList, Stack, StringCollection, DataView, DataTable, DataSet, SqlDataReader, and the OleDbDataReader.
Each of the controls I just listed (including DataGrid and DataList) include a property named DataSource. The DataSource property can be any System.Object, but for the data binding to work over a collection, it has to implement IEnumerable.
Each of the controls I just listed (including DataGrid and DataList) include a property named DataSource. The DataSource property can be any System.Object, but for the data binding to work over a collection, it has to implement IEnumerable.
Tuesday, 4 October 2011
Beware of Security Holes
In our System(Life) there are many security holes that flow the information that u don't want to keep in public places. Beware of this Security Holes. these are in your real life.
Monday, 26 September 2011
Thursday, 1 September 2011
Technology is the solution for all kind of problems: XSLT
Technology is the solution for all kind of problems: XSLT: Table 7.1 XSLT Elements XSLT Element Description xsl:apply-imports Used in conjunction with imported style sheets to override ...
Sunday, 14 August 2011
Friday, 24 June 2011
Wednesday, 25 May 2011
Saturday, 7 May 2011
diffrence betweeen web.config and machine.config
Every ASP.NET application that you has a web.config file . The settings specified in this will imply only to that application.Whereas Your System will have a machine.config file in Microsoft.NET\Framework\v1.1.4322\CONFIG Folder which contains specifications and settings at a system level.
Thursday, 5 May 2011
Installing SMTP
First u just need to install IIS(internet Information Service) Add windows feature on and off window...
then yo need to install ASP.Net Services for IIS after installing it...
go to run and type "inetmgr" and enter.
Internet Information Service manager opens and here u will find the SMTP is installed and from here yo can also configure it.
then yo need to install ASP.Net Services for IIS after installing it...
go to run and type "inetmgr" and enter.
Internet Information Service manager opens and here u will find the SMTP is installed and from here yo can also configure it.
Subscribe to:
Posts (Atom)





