Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
GeneralRe: thank you Pin
Tristan Rhodes28-Jul-06 5:28
Tristan Rhodes28-Jul-06 5:28 
GeneralRe: thank you Pin
Andrew Lygin28-Jul-06 5:42
Andrew Lygin28-Jul-06 5:42 
GeneralI stand corrected. Pin
Tristan Rhodes28-Jul-06 6:14
Tristan Rhodes28-Jul-06 6:14 
GeneralRe: thank you Pin
Judah Gabriel Himango28-Jul-06 5:54
sponsorJudah Gabriel Himango28-Jul-06 5:54 
AnswerRe: struct Pin
Tristan Rhodes28-Jul-06 2:56
Tristan Rhodes28-Jul-06 2:56 
AnswerRe: struct Pin
Ennis Ray Lynch, Jr.28-Jul-06 3:48
Ennis Ray Lynch, Jr.28-Jul-06 3:48 
GeneralRe: struct Pin
leppie28-Jul-06 10:46
leppie28-Jul-06 10:46 
QuestionReport Generation C# Pin
peshawarcoder28-Jul-06 2:32
peshawarcoder28-Jul-06 2:32 
I have written code for report in Form_Load event handler as under:
System.Data.SqlClient.SqlDataAdapter adapter = new    System.Data.SqlClient.SqlDataAdapter("Select * From Customers", 
"server=pc1;database=northwind;trusted_connection=true");

System.Data.DataSet ds = new DataSet();
adapter.Fill(ds, "Customers");

CrystalDecisions.CrystalReports.Engine.ReportClass rpt1 = new CrystalDecisions.CrystalReports.Engine.ReportClass();
rpt1.SetDataSource(ds.Tables["Customers"]);
            
CrystalDecisions.Windows.Forms.CrystalReportViewer rptviewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
rptviewer.Dock = DockStyle.Fill;
this.Controls.Add(rptviewer);
rptviewer.ReportSource = rpt1;


but it gives me the following error:
Unable to find the report in the manifest resources. Please build the project, and try again.


Can someone help how to generate report in this way?

Thanks for consideration
Questionhowto maximize a program if it is minimized ??? help please ... Pin
cmpeng3428-Jul-06 2:11
cmpeng3428-Jul-06 2:11 
AnswerRe: howto maximize a program if it is minimized ??? help please ... Pin
Shajeel28-Jul-06 2:29
Shajeel28-Jul-06 2:29 
AnswerRe: howto maximize a program if it is minimized ??? help please ... Pin
LongRange.Shooter28-Jul-06 8:47
LongRange.Shooter28-Jul-06 8:47 
QuestionSplit string Pin
Rahul.RK28-Jul-06 2:01
Rahul.RK28-Jul-06 2:01 
AnswerRe: Split string Pin
jjansen28-Jul-06 2:15
jjansen28-Jul-06 2:15 
GeneralRe: Split string Pin
Rahul.RK28-Jul-06 2:22
Rahul.RK28-Jul-06 2:22 
AnswerRe: Split string Pin
jjansen28-Jul-06 2:56
jjansen28-Jul-06 2:56 
AnswerRe: Split string Pin
Dustin Metzgar28-Jul-06 6:27
Dustin Metzgar28-Jul-06 6:27 
QuestionDo hashtables accept duplicate keys? Pin
honeyman_can28-Jul-06 1:59
honeyman_can28-Jul-06 1:59 
AnswerRe: Do hashtables accept duplicate keys? Pin
Ravi Bhavnani28-Jul-06 2:36
professionalRavi Bhavnani28-Jul-06 2:36 
AnswerRe: Do hashtables accept duplicate keys? Pin
wheelerbarry28-Jul-06 2:47
wheelerbarry28-Jul-06 2:47 
QuestionKeyboard Messages in Forms Pin
Joel Holdsworth28-Jul-06 1:54
Joel Holdsworth28-Jul-06 1:54 
AnswerRe: Keyboard Messages in Forms Pin
wheelerbarry28-Jul-06 2:35
wheelerbarry28-Jul-06 2:35 
GeneralRe: Keyboard Messages in Forms Pin
Joel Holdsworth28-Jul-06 3:06
Joel Holdsworth28-Jul-06 3:06 
GeneralRe: Keyboard Messages in Forms Pin
wheelerbarry28-Jul-06 3:46
wheelerbarry28-Jul-06 3:46 
Questionapp update Pin
JacquesDP28-Jul-06 1:27
JacquesDP28-Jul-06 1:27 
AnswerRe: app update Pin
Paul Brower28-Jul-06 1:46
Paul Brower28-Jul-06 1:46 

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.