Click here to Skip to main content
15,877,591 members
Home / Discussions / C#
   

C#

 
GeneralRe: Add text to listbox with different color Pin
Luc Pattyn21-Jul-09 1:30
sitebuilderLuc Pattyn21-Jul-09 1:30 
Questionhard disk serail number Pin
mokhtar2820-Jul-09 6:21
mokhtar2820-Jul-09 6:21 
AnswerRe: hard disk serail number Pin
Eddy Vluggen20-Jul-09 6:28
professionalEddy Vluggen20-Jul-09 6:28 
GeneralRe: hard disk serail number Pin
Luc Pattyn20-Jul-09 6:57
sitebuilderLuc Pattyn20-Jul-09 6:57 
GeneralRe: hard disk serail number Pin
Eddy Vluggen20-Jul-09 8:20
professionalEddy Vluggen20-Jul-09 8:20 
AnswerRe: hard disk serail number Pin
Luc Pattyn20-Jul-09 7:00
sitebuilderLuc Pattyn20-Jul-09 7:00 
QuestionRe: hard disk serail number Pin
harold aptroot20-Jul-09 10:54
harold aptroot20-Jul-09 10:54 
QuestionCrystalReports Pin
CodingYoshi20-Jul-09 6:06
CodingYoshi20-Jul-09 6:06 
I have written an application where a user can select some parameters using a windows form. The app grabs data from various tables and amalgamates them into a single table. I have also created a dataset with the same columns as the amalgamated table. I created a new crystal report and added the table in the dataset as its datasource. I dragged the columns onto the report.

At runtime, I fill the table, then set the report's datasource to the amalgamated table like below:
EmployeeReport rpt = new EmployeeReport();// This is the crystal report
rpt.Database.Tables(0).SetDataSource(data); // data is the amalgamated table filled at runtime

Then I set the CrystalReportViewer control's source as below

CrystalReportViewer viewer = new CrystalReportViewer();
viewer.ReportSource = rpt;

However, none of the fields are shown in the report except for the layout which I created at design time using boxes and labels etc.

I have been searching and googling but no luck Frown | :(

CodingYoshi

Artificial Intelligence is no match for Human Stupidity.

AnswerRe: CrystalReports Pin
CodingYoshi20-Jul-09 13:05
CodingYoshi20-Jul-09 13:05 
AnswerRe: CrystalReports Pin
_Maxxx_20-Jul-09 18:17
professional_Maxxx_20-Jul-09 18:17 
GeneralRe: CrystalReports Pin
CodingYoshi21-Jul-09 4:34
CodingYoshi21-Jul-09 4:34 
Questionwhat to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
svt gdwl20-Jul-09 5:00
svt gdwl20-Jul-09 5:00 
AnswerRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Mirko198020-Jul-09 5:05
Mirko198020-Jul-09 5:05 
AnswerRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 5:57
mvePIEBALDconsult20-Jul-09 5:57 
AnswerRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ennis Ray Lynch, Jr.20-Jul-09 7:25
Ennis Ray Lynch, Jr.20-Jul-09 7:25 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Luc Pattyn20-Jul-09 7:51
sitebuilderLuc Pattyn20-Jul-09 7:51 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ennis Ray Lynch, Jr.20-Jul-09 8:02
Ennis Ray Lynch, Jr.20-Jul-09 8:02 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Luc Pattyn20-Jul-09 8:06
sitebuilderLuc Pattyn20-Jul-09 8:06 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 8:43
mvePIEBALDconsult20-Jul-09 8:43 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ian Shlasko20-Jul-09 10:23
Ian Shlasko20-Jul-09 10:23 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 10:53
mvePIEBALDconsult20-Jul-09 10:53 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ian Shlasko20-Jul-09 11:23
Ian Shlasko20-Jul-09 11:23 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 12:03
mvePIEBALDconsult20-Jul-09 12:03 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
S. Senthil Kumar20-Jul-09 19:28
S. Senthil Kumar20-Jul-09 19:28 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 19:32
mvePIEBALDconsult20-Jul-09 19:32 

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.