aspx Tutorial

.NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services, .NET articles, Sharepoint 2010, visual studio 2010,Aamir Hasan,IT, Building Your First Web Application Project
Advertise Here

Toolbar

Get our toolbar!

Advertize



{#advanced_dlg.about_title}
by Aamir Hasan   on Wednesday, February 22, 2012
In this example you will see who to delete record from database which match the id in the patient table. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Wednesday, February 22, 2012
In this example you will see how to insert record in database using linq. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Sunday, June 12, 2011
Yesterday, someone asked me that the web application working fine on localhost but not working on web server. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Tuesday, February 22, 2011
This article describes how to secure your password before going to save in database or XML file etc More
{#advanced_dlg.about_title}
by Aamir Hasan   on Thursday, February 3, 2011
By default, the web server assigns random selected port for localhost.. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Tuesday, January 11, 2011
In this post, you will see how to get number of active visitor's online in asp.net web site... More
{#advanced_dlg.about_title}
by Aamir Hasan   on Monday, December 6, 2010
Yesterday developer asked me, distinct method on a column using linq is not woking. So, i have decided to wite this example in my blog to share with all of you. Let’s startOpen your Visual Studio 2008/2010 from File -> New -> New Web Site. Following is the code of Default.aspx page.<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server">    <title></title></head><body>    <form id="form1" runat="server">    <div>        <asp:GridView ID="GridView1" runat="server">        </asp:GridView>    </div>    </form></body></html>Following is the code of Default.aspx.cs page. protected void Page_Load(object sender, EventArgs e)    {        GridView1.DataSource = from i in getAllEmployee()                               group i by i.FullName into temp1                               select temp1.Key;        GridView1.DataBind();    }    public List<Employee> getAllEmployee()    {        List<Employee> emp = new List<Employee>()        {            new Employee(){ ID=1, FullName="Aamir Hasan", Age=25 },            new Employee(){ ID=2, FullName="Awais Ahmed", Age=21 },            new Employee(){ ID=3, FullName="Saba khan", Age=11 },            new Employee(){ ID=4, FullName="Mahwish Hasan", Age=18 },            new Employee(){ ID=5, FullName="Hina", Age=26 },            new Employee(){ ID=6, FullName="John", Age=24 },            new Employee(){ ID=7, FullName="Aamir Hasan", Age=22 },            new Employee(){ ID=8, FullName="Awais Ahmed", Age=21 },            new Employee(){ ID=9, FullName="Aamir Hasan", Age=20 },          };        return emp;    }    public class Employee    {        public int ID { get; set; }        public String FullName { get; set; }        public int Age { get; set; }    } Note: You can get distinct values of any column by using above  linq query syntax. Output Download Linq-Distinct-column-fetch-records.zip (1.11 kb) See live demo
{#advanced_dlg.about_title}
by Aamir Hasan   on Sunday, August 1, 2010
Microsoft announce ASP.NET 4 and Visual Studio 2010 few days ago. It includes new feature and improvements. It includes: ASP.NET 4 ASP.NET MVC 2 Visul Web Developer 2010 Express .Net Framework 4 Download ASP.NET 4 and Visual Studio 2010 Released For more information visit asp.net
{#advanced_dlg.about_title}
by Aamir Hasan   on Sunday, July 18, 2010
Visual Studio 2010 "Insufficient Memory" issue More
{#advanced_dlg.about_title}
by Aamir Hasan   on Sunday, June 6, 2010
Here Aamir Hasan has explained how to implement paging in ASP.NET Repeater Control. More
Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5