Click here to Skip to main content
15,914,071 members

Comments by Member 11133908 (Top 8 by date)

Member 11133908 8-Dec-14 9:48am View    
I know how to use connectiontion string in app.config.
report.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("Connection", new SqlConnection(ConfigurationManager.ConnectionStrings["GKcon"].ConnectionString).ToString()));

I want to know How I replace this new connectionstring instead of the one I assigned to my report in deign mode in stimulreport
Member 11133908 8-Dec-14 9:33am View    
yes in App.config.and I want assign that to report in runtime.and I want this connection string will bee replace with the one I set in stimulreport design statically.
Member 11133908 28-Nov-14 6:05am View    
Deleted
sorry I try your code. but there is another problem. in line "if (test.IsDirty)"
the test usercontrol is not recognized. if you know telerik please tell me how I call "IsDirty" properti of usercontrol(child) from its parent form
Member 11133908 28-Nov-14 2:53am View    
sorry I have an error on this line:
((Form)this.Parent).Closing += new CancelEventHandler(ParentClosing);
error:
"Unable to cast object of type 'Telerik.WinControls.UI.Docking.DocumentWindow' to type 'System.Windows.Forms.Form'."
Member 11133908 1-Nov-14 5:51am View    
thanks for your help.ok I will change them to bigint,but I have a question.
I save them in varchar because I thought with large data,this type will require the least storage size than bigint.