Click here to Skip to main content
15,881,172 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: create setup file with sql server database for another machine in windows form Pin
Eddy Vluggen25-Jul-14 7:13
professionalEddy Vluggen25-Jul-14 7:13 
QuestionWindows Forms-Text Mode Printing Pin
Thirugnanam Nataraj23-Jun-14 20:28
Thirugnanam Nataraj23-Jun-14 20:28 
AnswerRe: Windows Forms-Text Mode Printing Pin
Bernhard Hiller23-Jun-14 22:23
Bernhard Hiller23-Jun-14 22:23 
GeneralRe: Windows Forms-Text Mode Printing Pin
Thirugnanam Nataraj25-Jun-14 20:31
Thirugnanam Nataraj25-Jun-14 20:31 
QuestionHow make Form2 with progressBar in other thread, while downloading data in datagridview in Form1? Pin
Kroshandowski8-Jun-14 9:03
Kroshandowski8-Jun-14 9:03 
AnswerRe: How make Form2 with progressBar in other thread, while downloading data in datagridview in Form1? Pin
Richard MacCutchan8-Jun-14 22:01
mveRichard MacCutchan8-Jun-14 22:01 
QuestionMDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
Member 1074775521-May-14 5:31
Member 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
MyOwnBoss28-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
susanna.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
MyOwnBoss28-May-14 19:32 
QuestionHow to use an ErrorProvider with a UserControl? Pin
GroupIII20-Feb-14 17:48
GroupIII20-Feb-14 17:48 
Questionrdlc report in c# winforms programmatically Pin
Irshadkk14-Feb-14 18:59
Irshadkk14-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
xstoneheartx25-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
Simon_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
Member 1041145119-Nov-13 1:58 
QuestionCategory Partitioning Pin
Member 449684917-Nov-13 17:36
Member 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
vValkir6-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
professionalBillWoodruff9-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
xstoneheartx25-Dec-14 16:20 

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.