Click here to Skip to main content
15,886,873 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncrystal report Pin
mylogics20-Aug-09 0:07
professionalmylogics20-Aug-09 0:07 
AnswerRe: crystal report Pin
Christian Graus20-Aug-09 0:09
protectorChristian Graus20-Aug-09 0:09 
GeneralRe: crystal report Pin
mylogics20-Aug-09 0:13
professionalmylogics20-Aug-09 0:13 
Questioncryatal report Pin
mylogics19-Aug-09 23:47
professionalmylogics19-Aug-09 23:47 
AnswerRe: cryatal report Pin
Christian Graus20-Aug-09 0:07
protectorChristian Graus20-Aug-09 0:07 
GeneralRe: cryatal report Pin
mylogics20-Aug-09 0:16
professionalmylogics20-Aug-09 0:16 
GeneralRe: cryatal report Pin
Christian Graus20-Aug-09 0:31
protectorChristian Graus20-Aug-09 0:31 
GeneralRe: cryatal report Pin
mylogics20-Aug-09 0:38
professionalmylogics20-Aug-09 0:38 
i have added namespace:
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
public void BindReport()
{
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["BillingSystem"].ConnectionString);
string str = "Select * From Purchase";
SqlCommand cmd = new SqlCommand(str, conn);
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
DataSet1 ds = new DataSet1();
da.Fill(ds, "Purchase");
ReportClass cr = new ReportClass();
cr.SetDataSource(ds);
CrystalReportViewer2.ReportSource = cr;

}


Error: cr.SetDataSource(ds);->value cannot be null.
GeneralRe: cryatal report Pin
Christian Graus20-Aug-09 1:30
protectorChristian Graus20-Aug-09 1:30 
GeneralRe: cryatal report Pin
mylogics20-Aug-09 1:10
professionalmylogics20-Aug-09 1:10 
Questionaspmenu boreder collapse problem Pin
Mogamboo_Khush_Hua19-Aug-09 22:43
Mogamboo_Khush_Hua19-Aug-09 22:43 
QuestionTo make a list of categories with datalist or any other control Pin
brijmohansingh1019-Aug-09 22:08
brijmohansingh1019-Aug-09 22:08 
AnswerRe: To make a list of categories with datalist or any other control Pin
Christian Graus19-Aug-09 23:15
protectorChristian Graus19-Aug-09 23:15 
QuestionFetching MAC address of clients machine Pin
krishnaveer19-Aug-09 22:00
krishnaveer19-Aug-09 22:00 
AnswerRe: Fetching MAC address of clients machine Pin
Abhishek Sur19-Aug-09 22:05
professionalAbhishek Sur19-Aug-09 22:05 
AnswerRe: Fetching MAC address of clients machine Pin
Aman Bhullar19-Aug-09 22:10
Aman Bhullar19-Aug-09 22:10 
GeneralRe: Fetching MAC address of clients machine Pin
krishnaveer19-Aug-09 23:01
krishnaveer19-Aug-09 23:01 
GeneralRe: Fetching MAC address of clients machine Pin
krishnaveer19-Aug-09 23:15
krishnaveer19-Aug-09 23:15 
AnswerRe: Fetching MAC address of clients machine Pin
Jeremy Likness20-Aug-09 5:31
professionalJeremy Likness20-Aug-09 5:31 
QuestionHow to create a regular expression validation for numbers from 1 to 4000 ? Pin
meeram39519-Aug-09 21:45
meeram39519-Aug-09 21:45 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
Abhishek Sur19-Aug-09 21:57
professionalAbhishek Sur19-Aug-09 21:57 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
Coding C#19-Aug-09 23:19
Coding C#19-Aug-09 23:19 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
SmartAvi20-Aug-09 5:14
SmartAvi20-Aug-09 5:14 
AnswerRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
vaibhav.csmiet8-Mar-10 21:58
vaibhav.csmiet8-Mar-10 21:58 
GeneralRe: How to create a regular expression validation for numbers from 1 to 4000 ? Pin
meeram3959-Mar-10 1:42
meeram3959-Mar-10 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.