Click here to Skip to main content
14,846,225 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionMDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
Member 1074775521-May-14 5:31
MemberMember 1074775521-May-14 5:31 
SuggestionRe: MDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
Richard MacCutchan21-May-14 22:07
mveRichard MacCutchan21-May-14 22:07 
GeneralRe: MDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
MyOwnBoss28-May-14 19:53
MemberMyOwnBoss28-May-14 19:53 
GeneralRe: MDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
Richard MacCutchan28-May-14 21:27
mveRichard MacCutchan28-May-14 21:27 
QuestionHow to deploy encrypted app.config windows application in Client machine where Visual studio not installed? Pin
susanna.floora18-May-14 20:46
Membersusanna.floora18-May-14 20:46 
AnswerRe: How to deploy encrypted app.config windows application in Client machine where Visual studio not installed? Pin
MyOwnBoss28-May-14 19:32
MemberMyOwnBoss28-May-14 19:32 
QuestionHow to use an ErrorProvider with a UserControl? Pin
GroupIII20-Feb-14 17:48
MemberGroupIII20-Feb-14 17:48 
Questionrdlc report in c# winforms programmatically Pin
Irshadkk14-Feb-14 18:59
MemberIrshadkk14-Feb-14 18:59 
I got the report using rdlc by the report wizard but i can't view anything by using this methode programmatically..

Here I just added a report file report2.rdlc and a report viewer reportViewer2 to the form. and no more process done with out the following code in a button click


My code in button click event
'''''''''''''''''''''''''''''

String get_results = "SELECT * FROM Employee";

SqlConnection con = new SqlConnection(@"Connection String");
con.Open();
SqlDataAdapter adp = new SqlDataAdapter(get_results, con);

DataSet ds = new DataSet();

adp.Fill(ds);



Microsoft.Reporting.WinForms.ReportDataSource repds = new Microsoft.Reporting.WinForms.ReportDataSource("Employee",ds.Tables[0]);

reportViewer2.ProcessingMode = ProcessingMode.Local;

String rPath = @"F:\report\report2.rdlc";

reportViewer2.LocalReport.ReportPath = rPath;

reportViewer2.LocalReport.DataSources.Clear();

reportViewer2.LocalReport.DataSources.Add(repds);

reportViewer2.Visible = true;

reportViewer2.RefreshReport();


... i don't get any result on my form... if it need to assign something to the rdlc file or reportviwer other than the above code, or should i insert a dataset or anything other than the code.. if it need please help me it in programmatically....
AnswerRe: rdlc report in c# winforms programmatically Pin
BELGIUMsky27-Mar-14 22:55
professionalBELGIUMsky27-Mar-14 22:55 
AnswerRe: rdlc report in c# winforms programmatically Pin
xstoneheartx25-Dec-14 15:25
Memberxstoneheartx25-Dec-14 15:25 
QuestionHighlight text on webbrowser Pin
Sumit Rastogi SRA27-Jan-14 23:23
professionalSumit Rastogi SRA27-Jan-14 23:23 
AnswerRe: Highlight text on webbrowser Pin
Simon_Whale27-Jan-14 23:41
professionalSimon_Whale27-Jan-14 23:41 
GeneralRe: Highlight text on webbrowser Pin
Sumit Rastogi SRA28-Jan-14 2:01
professionalSumit Rastogi SRA28-Jan-14 2:01 
AnswerCross posted question. Pin
Pete O'Hanlon28-Jan-14 0:31
mvePete O'Hanlon28-Jan-14 0:31 
Questionclick once setup not installing crystal report runtime pre- requisite while updating from file location Pin
Member 1041145119-Nov-13 1:58
MemberMember 1041145119-Nov-13 1:58 
QuestionCategory Partitioning Pin
Member 449684917-Nov-13 17:36
MemberMember 449684917-Nov-13 17:36 
QuestionLooking for C# winforms control / library to manage different map-based plain image layers Pin
vValkir6-Nov-13 1:22
MembervValkir6-Nov-13 1:22 
AnswerRe: Looking for C# winforms control / library to manage different map-based plain image layers Pin
BillWoodruff9-Nov-13 6:36
mveBillWoodruff9-Nov-13 6:36 
AnswerRe: Looking for C# winforms control / library to manage different map-based plain image layers Pin
xstoneheartx25-Dec-14 16:20
Memberxstoneheartx25-Dec-14 16:20 
QuestionNokia for Windows Phone developers, DVLUP. Pin
Anshu Kapoor26-Sep-13 1:45
MemberAnshu Kapoor26-Sep-13 1:45 
AnswerRe: Nokia for Windows Phone developers, DVLUP. Pin
Eddy Vluggen26-Sep-13 1:54
professionalEddy Vluggen26-Sep-13 1:54 
GeneralRe: Nokia for Windows Phone developers, DVLUP. Pin
Anshu Kapoor26-Sep-13 2:07
MemberAnshu Kapoor26-Sep-13 2:07 
GeneralRe: Nokia for Windows Phone developers, DVLUP. Pin
Eddy Vluggen26-Sep-13 3:00
professionalEddy Vluggen26-Sep-13 3:00 
AnswerRe: Nokia for Windows Phone developers, DVLUP. Pin
Richard MacCutchan26-Sep-13 4:33
mveRichard MacCutchan26-Sep-13 4:33 
AnswerRe: Nokia for Windows Phone developers, DVLUP. Pin
Abhinav S9-Oct-13 3:01
MemberAbhinav S9-Oct-13 3:01 

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.