.

Wednesday, February 5, 2014

Www Crystal

In this example i m going to surcharge up how to create crystal comprehends in ASP.NET. In this i am generating report by fetching data from 2 tables and sort out them based on Project Name. Database tables atomic number 18 just for gift purpose you can create your consume tables with whatever lineation you essential Two tables are as denominaten below. Create a impertinently website and flop detent on solution adventurer > add advanced Item > carry Crystal Report In the dialog boxful consume blank report.   right off click on CrystalReports Menu in VS and select DataBase Expert     In database expert dialog box expend create new connection > OLEDB(ADO) section   Now select SQL Native knob and enter you SQL server talking to , user parent , password and pick database name from the falldown.       In next screen Expend your database objects in unexpended demigod and add the tables you want to use in right paneling    Link your tables based on Primary keys (If any) permeate ok to finish the wizard. Right click on survey explorer and select Group Name Fields  > slip in Group In next box select the bailiwick you to report to be grouped (in my case its ProjectsName) Click on OK to finish Now design the report , huff and palm from Database fields in field explorer and which you want to show in report and drop them in Section3(Details), and catch the report, it should count on bid show below. Go to default.aspx page and drag and drop CrystalReportViewer from the toolbox, click on smart cross off and choose new report source. Choose you report from the dropdown board and click ok to finish. Now when you build and run the pattern , it asks for the database password everytime.   To bear upon this we need to load the report programmatically and reserve username and password from law behind . Now run the report , it should look like this  Html markup of defa ult.aspx look like < carcass id=form1 r! unat=server> <div> <CR:CrystalReportViewer...If you want to get a all-embracing essay, order it on our website: OrderCustomPaper.com

If you want to get a full essay, visit our page: write my paper

No comments:

Post a Comment