Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
GeneralRe: Delegates - I don't Get It Pin
DaveyM6917-Jul-09 10:47
professionalDaveyM6917-Jul-09 10:47 
GeneralRe: Delegates - I don't Get It Pin
eddieangel17-Jul-09 11:00
eddieangel17-Jul-09 11:00 
GeneralRe: Delegates - I don't Get It Pin
DaveyM6917-Jul-09 11:26
professionalDaveyM6917-Jul-09 11:26 
GeneralRe: Delegates - I don't Get It Pin
DaveyM6917-Jul-09 11:39
professionalDaveyM6917-Jul-09 11:39 
AnswerRe: Delegates - I don't Get It Pin
Luc Pattyn17-Jul-09 10:13
sitebuilderLuc Pattyn17-Jul-09 10:13 
GeneralRe: Delegates - I don't Get It Pin
Baeltazor17-Jul-09 22:28
Baeltazor17-Jul-09 22:28 
QuestionCrystalReports Pin
CodingYoshi17-Jul-09 7:06
CodingYoshi17-Jul-09 7:06 
AnswerRe: CrystalReports Pin
Adam R Harris17-Jul-09 9:20
Adam R Harris17-Jul-09 9:20 
CodingYoshi wrote:
1. I have all the data in a DataTable. I have created the CrystalReport document using VS2005 by using labels, boxes etc. Now do I   have to use formula fields to set the values in the document.


Your Crystal Report is, i would hate the be the one to tell you, not going to work. Crystal reports work based on either Strongly Typed Datasets or Parameters. Let me save you the head ache, you want to use a Strongly Typed Dataset. Parameters are good for ... well parameters to filter your dataset or for something trivial like headers or something like that.

What you are going to want to do is create a new Dataset in your project, then make that mimic your data schema. After you have created your "Strongly Typed" Dataset add a new Crystal Report to your project and set the Datasource to your newly created Dataset.

When creating your Crystal Report you want to use the "Data Fields" to actually display data to the user. Labels and Boxes are for static content, Your going to have to work the Google to get more info on how to create Crystal Reports.

CodingYoshi wrote:
2. When I have all the documents created how can I send them all to the CrystalReportViewer at once for viewing?


Well this is extremely simple;

  1. Create a new form with a CrystalReportViewer on it
  2. Create a new instance of your report and call Load() on it
  3. Set the ReportDocument property ont he CrystalReportViewer to your new report instance


If at first you don't succeed ... post it on The Code Project and Pray.

GeneralRe: CrystalReports Pin
Adam R Harris17-Jul-09 10:41
Adam R Harris17-Jul-09 10:41 
GeneralRe: CrystalReports Pin
CodingYoshi17-Jul-09 10:54
CodingYoshi17-Jul-09 10:54 
QuestionCommon components in C# and .net? Pin
saxisa17-Jul-09 7:01
saxisa17-Jul-09 7:01 
QuestionNTLM Authentication in C# Pin
joana.simoes17-Jul-09 5:39
joana.simoes17-Jul-09 5:39 
AnswerRe: NTLM Authentication in C# Pin
Adam R Harris17-Jul-09 9:25
Adam R Harris17-Jul-09 9:25 
GeneralRe: NTLM Authentication in C# Pin
joana.simoes19-Jul-09 23:34
joana.simoes19-Jul-09 23:34 
GeneralRe: NTLM Authentication in C# Pin
joana.simoes19-Jul-09 23:50
joana.simoes19-Jul-09 23:50 
AnswerRe: NTLM Authentication in C# Pin
joana.simoes20-Jul-09 3:30
joana.simoes20-Jul-09 3:30 
QuestionRichTextBox- :(( Pin
RongNK17-Jul-09 4:49
RongNK17-Jul-09 4:49 
AnswerRe: RichTextBox- :(( Pin
Manas Bhardwaj17-Jul-09 4:59
professionalManas Bhardwaj17-Jul-09 4:59 
GeneralRe: RichTextBox- :(( Pin
RongNK17-Jul-09 5:04
RongNK17-Jul-09 5:04 
GeneralRe: RichTextBox- :(( Pin
Manas Bhardwaj17-Jul-09 5:14
professionalManas Bhardwaj17-Jul-09 5:14 
GeneralRe: RichTextBox- :(( Pin
RongNK17-Jul-09 5:39
RongNK17-Jul-09 5:39 
GeneralRe: RichTextBox- :(( Pin
DoctorMick17-Jul-09 6:19
DoctorMick17-Jul-09 6:19 
AnswerRe: RichTextBox- :(( Pin
Luc Pattyn17-Jul-09 10:07
sitebuilderLuc Pattyn17-Jul-09 10:07 
QuestionControl Timer is not work ?? Pin
anhhuynokia17-Jul-09 4:17
anhhuynokia17-Jul-09 4:17 
AnswerRe: Control Timer is not work ?? Pin
musefan17-Jul-09 4:25
musefan17-Jul-09 4:25 

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.