Skip to main content

Posts

Crystal Report with ASP.net

There are many approaches you can take to link crystal report with asp.net . In this article I’m going to discuss some methods. Direct Method – In here we are creating the report using crystal report and link it with the aspx.  There are two ways of doing this. Integrated Security (go to article) Using credentials (in here we want to provide server user name and password) (go to article)     Data Set Method - In here we are creating the datasets and using data sets we are creating reports. Data set with same project (go to article ) Data set with Different project (go to article ) Object Method – In this method we are binding a object collection to the report. Object with Crystal Report  

Crystal Report with Asp.NET – Using Data Objects

First of all you want to  create a database connection to your SQL Server . (Optional – you can find many other ways if you are already known.)  Then crate you Business Class which marches to the data base table. for a example Customer.cs file public class Customer { public int Year { get ; set ; } public String Name { get ; set ; } } Then go to query editor and run this SQL, It is better you have some records inserted in the table. SELECT TOP (1) Name, Year FROM Table1 FOR XML AUTO, Elements It will return following kind of a XML. thus copy it and save it as Table1.xml (for that add a new XML file to the project and paste the content and save it.) <? xml version ="1.0" encoding ="utf-8" ? > < Table1 > < Name > Amal </ Name > < Year > 12 </ Year > </ Table1 > Then add a new crystal report by selecting a black report option.   Now go to the database Expert and select .Net Object from the Tree men...

How to enable document versioning in the SharePoint

Go to particular document library or a list Go to Document Library Settings   Go to versioning settings Enable it . In here you can also configure the versioning amount , type and others.

Easy Enter

Blackberry App

Windows Mobile App

InfoSD