Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: a Regular Expression question Pin
27-Sep-03 19:15
suss27-Sep-03 19:15 
GeneralRe: a Regular Expression question Pin
Meysam Mahfouzi28-Sep-03 1:59
Meysam Mahfouzi28-Sep-03 1:59 
GeneralProcesses and RedirectStandardOutput/Error Pin
Wjousts26-Sep-03 10:51
Wjousts26-Sep-03 10:51 
Questionhow to get the wwwroot's full path Pin
aw1ay26-Sep-03 10:33
aw1ay26-Sep-03 10:33 
Generalstrange unwanted strips in PictureBox Pin
israeli26-Sep-03 10:01
israeli26-Sep-03 10:01 
Generalopen directory and list files Pin
nisrinee5126-Sep-03 9:37
nisrinee5126-Sep-03 9:37 
GeneralRe: open directory and list files Pin
Saikat Sen27-Sep-03 12:26
Saikat Sen27-Sep-03 12:26 
GeneralRe: open directory and list files Pin
Anonymous27-Sep-03 12:32
Anonymous27-Sep-03 12:32 
GeneralRe: open directory and list files Pin
Wjousts27-Sep-03 13:29
Wjousts27-Sep-03 13:29 
QuestionHow to draw to a image ? Pin
Chris Richner26-Sep-03 8:18
Chris Richner26-Sep-03 8:18 
GeneralConcurrency options: Optimistic/Pessimistic/Last-Win Pin
devvvy26-Sep-03 7:59
devvvy26-Sep-03 7:59 
GeneralRe: Concurrency options: Optimistic/Pessimistic/Last-Win Pin
Marc Clifton27-Sep-03 3:39
mvaMarc Clifton27-Sep-03 3:39 
GeneralRe: Concurrency options: Optimistic/Pessimistic/Last-Win Pin
Saikat Sen27-Sep-03 12:28
Saikat Sen27-Sep-03 12:28 
GeneralRe: Concurrency options: Optimistic/Pessimistic/Last-Win Pin
devvvy29-Sep-03 7:59
devvvy29-Sep-03 7:59 
GeneralClient-Server Pin
apinheiro26-Sep-03 7:49
apinheiro26-Sep-03 7:49 
GeneralRe: Client-Server Pin
Douglas Troy26-Sep-03 9:19
Douglas Troy26-Sep-03 9:19 
GeneralRe: Client-Server Pin
Saikat Sen27-Sep-03 12:38
Saikat Sen27-Sep-03 12:38 
GeneralSCP to a unix box Pin
Wjousts26-Sep-03 6:37
Wjousts26-Sep-03 6:37 
GeneralSending string array through network Pin
Gambit00726-Sep-03 5:36
Gambit00726-Sep-03 5:36 
GeneralRe: Sending string array through network Pin
James Simpson26-Sep-03 6:12
James Simpson26-Sep-03 6:12 
GeneralRe: Sending string array through network Pin
Gambit00726-Sep-03 14:07
Gambit00726-Sep-03 14:07 
GeneralDate and time Pin
totig26-Sep-03 3:48
totig26-Sep-03 3:48 
GeneralRe: Date and time Pin
Nick van der Plas26-Sep-03 4:04
Nick van der Plas26-Sep-03 4:04 
QuestionCrystal Reports? Pin
Marix26-Sep-03 2:58
Marix26-Sep-03 2:58 
AnswerRe: Crystal Reports? Pin
Member 56585726-Sep-03 8:00
Member 56585726-Sep-03 8:00 
You'll want to start by creating a data schema for your data source and adding this too your project. You can do this by either using datasource.WriteXmlSchema(<filename>) or by hand.

Once you have the schema in your project go into you report and right click anywhere on it and select Database->Add/Remove Database. You should see your dataset under Project data-> ADO .NET datasets. Now all of the tables and fields from that dataset should be added to the Field explorer in the report, go ahead and drag them on too the report.

Once you have laid out your report you can use the following code to assign the dataset too it:

MyReport oRpt = New MyReport

oRpt.SetDataSource(mydataset)

CrystalReportViewer1.DisplayGroupTree = False
CrystalReportViewer1.ShowGroupTreeButton = False
CrystalReportViewer1.ReportSource = oRpt

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.