Breaking News

How to generate payslip in ASP.Net With Microsoft Sql Database ?

Know More : Microsoft ASP.Net  Microsoft VB.Net  Microsoft C#.Net  Microsoft Sliverlight  XMLMicrosoft WPF  Microsoft WCF Ajax Microsoft SQL Server


Let's start  in Microsoft Microsoft Visual Studio 2008 with Microsoft SQL server 2008. Open Microsoft visual studio 2008 in administrator  mode . After go to file menu select new website.



Select asp new website and click OK.

Type the name of website. if the website already exits then click OK.


Now select datalist control from toolbox data menu.
Like this...


Again drag sqldatasource  control from toolbox data menu like this..

Next ...





or use new sql connection ..

after click  new connection ' add connection form open' like this use step shown in figure.

After connection created. Now data binding with Datalist control like this ..

After binding

Click on edit templates as shown in figure..

After click on edit templates select item template .Your data binding  column (your Sql table Column Show in templates ). Shown in figure like this..

Select column and delete it . After delete item template shown like this...


Also drag label control from toolbox and rename and binding column according to you. . Or design payslip according to you.


Also drag Textbox control from toolbox and rename and binding column according to you. . Or design payslip according to you.


After complete your payslip design , binding labels and texboxes according to you . Click on end templates
of datalist control as shown in figure..

Now debug your web page or view in browser as shown in figure...

In Browser , payslip is shown in figure..like this.


Now your payslip is completed. Thanks.


Know More : Microsoft ASP.Net  Microsoft VB.Net  Microsoft C#.Net  Microsoft Sliverlight  XMLMicrosoft WPF  Microsoft WCF Ajax Microsoft SQL Server

8 comments:

  1. Completely guide for everyone who want to generate payslip from Visual Studio 2008. Best.

    ReplyDelete
  2. hello i have query what to write in code exprssion when we click on edit bindings of controls in item template

    ReplyDelete
  3. Thanks so much for the wealth of the resource! Pay Slip Template

    ReplyDelete
  4. Hei Suajy Sharma,
    How can I remove 0.00 values. I means P.F : 0.000, Loan Install : 0.000 and Absent : 241.9355.
    I want remove 0.000 values in the report

    ReplyDelete
  5. Thank you for some other great article. The place else could anyone get that
    type of info in such an ideal means of writing?
    I have a presentation subsequent week, and I'm on the search for such information.

    Review my web site :: deer antler spray scam

    ReplyDelete
  6. Hi there, You've done an excellent job. I'll definitely
    digg it and personally suggest to my friends.
    I'm confident they'll be benefited from this
    website.

    my web blog ... Anti Aging creams

    ReplyDelete