Click here to Skip to main content
15,796,025 members
Home / Discussions / C#
   

C#

 
QuestionRe: can any body tell me the answer for this... Pin
harold aptroot18-Sep-09 2:46
harold aptroot18-Sep-09 2:46 
AnswerRe: can any body tell me the answer for this... Pin
Luc Pattyn18-Sep-09 3:02
sitebuilderLuc Pattyn18-Sep-09 3:02 
QuestionReport Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 1:54
Mohammad Dayyan18-Sep-09 1:54 
AnswerRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 2:10
Jacobb Michael18-Sep-09 2:10 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 2:35
Mohammad Dayyan18-Sep-09 2:35 
GeneralRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 2:58
Jacobb Michael18-Sep-09 2:58 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 3:12
Mohammad Dayyan18-Sep-09 3:12 
GeneralRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 18:22
Jacobb Michael18-Sep-09 18:22 
Hi,
It is just enough to google, you will get the answers any way see the bellow code

DataTable dtStudent = new DataTable();
            dtStudent = ConstructDataTable();
 Report.CrystalReport1 objStudent = new WindowsCrystal.Report.CrystalReport1();
                objStudent.SetDataSource(dtStudent);
                crystalReportViewer1.ReportSource = objStudent;


private DataTable ConstructDataTable()
        {
            DataTable dtTmp = new DataTable();
            dtTmp.Columns.Add("Id", typeof(int));
            dtTmp.Columns.Add("Name", typeof(string));
            dtTmp.Columns.Add("Age", typeof(int));
            dtTmp.Columns.Add("Score", typeof(int));

            dtTmp.Rows.Add(1, "Jacob", 24, 50);
            dtTmp.Rows.Add(2, "martin", 23, 90);
            dtTmp.Rows.Add(3, "Jeyakumar", 24, 70);
            dtTmp.Rows.Add(4, "Manic", 23, 59);
            dtTmp.Rows.Add(5, "Rosario", 27, 48);
           
            return dtTmp;
        }

GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 19:09
Mohammad Dayyan18-Sep-09 19:09 
GeneralRe: Report Creating in C# ? Pin
Pete O'Hanlon18-Sep-09 3:07
subeditorPete O'Hanlon18-Sep-09 3:07 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 3:15
Mohammad Dayyan18-Sep-09 3:15 
AnswerRe: Report Creating in C# ? Pin
MiddleTommy18-Sep-09 4:39
MiddleTommy18-Sep-09 4:39 
QuestionHow to scroll the scrollbar of treeview control automatically? Pin
kmb8918-Sep-09 1:31
kmb8918-Sep-09 1:31 
AnswerRe: How to scroll the scrollbar of treeview control automatically? Pin
stancrm18-Sep-09 1:41
stancrm18-Sep-09 1:41 
GeneralRe: How to scroll the scrollbar of treeview control automatically? Pin
kmb8918-Sep-09 1:48
kmb8918-Sep-09 1:48 
AnswerRe: How to scroll the scrollbar of treeview control automatically? Pin
Tamer Oz18-Sep-09 1:44
Tamer Oz18-Sep-09 1:44 
QuestionUnable to set program icon Pin
yeah100018-Sep-09 0:57
yeah100018-Sep-09 0:57 
AnswerRe: Unable to set program icon Pin
Christian Graus18-Sep-09 0:58
protectorChristian Graus18-Sep-09 0:58 
GeneralRe: Unable to set program icon [modified] Pin
yeah100018-Sep-09 1:29
yeah100018-Sep-09 1:29 
AnswerRe: Unable to set program icon Pin
PIEBALDconsult18-Sep-09 5:37
professionalPIEBALDconsult18-Sep-09 5:37 
GeneralRe: Unable to set program icon Pin
yeah100020-Sep-09 21:15
yeah100020-Sep-09 21:15 
QuestionMultiThreading in c# Pin
nisharafic18-Sep-09 0:51
nisharafic18-Sep-09 0:51 
AnswerRe: MultiThreading in c# Pin
stancrm18-Sep-09 1:01
stancrm18-Sep-09 1:01 
AnswerRe: MultiThreading in c# Pin
Jacobb Michael18-Sep-09 2:01
Jacobb Michael18-Sep-09 2:01 
QuestionThread Performance Pin
Member 368144318-Sep-09 0:47
Member 368144318-Sep-09 0:47 

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.