Click here to Skip to main content
15,867,141 members
Home / Discussions / C#
   

C#

 
QuestionRe: can any body tell me the answer for this... Pin
harold aptroot18-Sep-09 1:46
harold aptroot18-Sep-09 1:46 
AnswerRe: can any body tell me the answer for this... Pin
Luc Pattyn18-Sep-09 2:02
sitebuilderLuc Pattyn18-Sep-09 2:02 
QuestionReport Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 0:54
Mohammad Dayyan18-Sep-09 0:54 
AnswerRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 1:10
Jacobb Michael18-Sep-09 1:10 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 1:35
Mohammad Dayyan18-Sep-09 1:35 
GeneralRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 1:58
Jacobb Michael18-Sep-09 1:58 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 2:12
Mohammad Dayyan18-Sep-09 2:12 
GeneralRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 17:22
Jacobb Michael18-Sep-09 17: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 18:09
Mohammad Dayyan18-Sep-09 18:09 
GeneralRe: Report Creating in C# ? Pin
Pete O'Hanlon18-Sep-09 2:07
subeditorPete O'Hanlon18-Sep-09 2:07 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 2:15
Mohammad Dayyan18-Sep-09 2:15 
AnswerRe: Report Creating in C# ? Pin
MiddleTommy18-Sep-09 3:39
MiddleTommy18-Sep-09 3:39 
QuestionHow to scroll the scrollbar of treeview control automatically? Pin
kmb8918-Sep-09 0:31
kmb8918-Sep-09 0:31 
AnswerRe: How to scroll the scrollbar of treeview control automatically? Pin
stancrm18-Sep-09 0:41
stancrm18-Sep-09 0:41 
GeneralRe: How to scroll the scrollbar of treeview control automatically? Pin
kmb8918-Sep-09 0:48
kmb8918-Sep-09 0:48 
AnswerRe: How to scroll the scrollbar of treeview control automatically? Pin
Tamer Oz18-Sep-09 0:44
Tamer Oz18-Sep-09 0:44 
QuestionUnable to set program icon Pin
yeah100017-Sep-09 23:57
yeah100017-Sep-09 23:57 
AnswerRe: Unable to set program icon Pin
Christian Graus17-Sep-09 23:58
protectorChristian Graus17-Sep-09 23:58 
GeneralRe: Unable to set program icon [modified] Pin
yeah100018-Sep-09 0:29
yeah100018-Sep-09 0:29 
AnswerRe: Unable to set program icon Pin
PIEBALDconsult18-Sep-09 4:37
mvePIEBALDconsult18-Sep-09 4:37 
GeneralRe: Unable to set program icon Pin
yeah100020-Sep-09 20:15
yeah100020-Sep-09 20:15 
QuestionMultiThreading in c# Pin
nisharafic17-Sep-09 23:51
nisharafic17-Sep-09 23:51 
AnswerRe: MultiThreading in c# Pin
stancrm18-Sep-09 0:01
stancrm18-Sep-09 0:01 
AnswerRe: MultiThreading in c# Pin
Jacobb Michael18-Sep-09 1:01
Jacobb Michael18-Sep-09 1:01 
QuestionThread Performance Pin
Member 368144317-Sep-09 23:47
Member 368144317-Sep-09 23: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.