Click here to Skip to main content
15,914,109 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pare C# Code Pin
DavidNohejl11-Nov-07 4:40
DavidNohejl11-Nov-07 4:40 
Questioninserting date to database Pin
troubled one8-Nov-07 21:22
troubled one8-Nov-07 21:22 
AnswerRe: inserting date to database Pin
Giorgi Dalakishvili8-Nov-07 21:32
mentorGiorgi Dalakishvili8-Nov-07 21:32 
AnswerRe: inserting date to database Pin
Guffa8-Nov-07 21:53
Guffa8-Nov-07 21:53 
QuestionString matching Pin
SaphuA8-Nov-07 21:12
SaphuA8-Nov-07 21:12 
QuestionWorkiing with Arrays Pin
Dextter8-Nov-07 20:49
Dextter8-Nov-07 20:49 
AnswerRe: Workiing with Arrays Pin
Giorgi Dalakishvili8-Nov-07 20:57
mentorGiorgi Dalakishvili8-Nov-07 20:57 
QuestionHow to send value to report in Reporting Services programmatically ? Pin
hdv2128-Nov-07 20:17
hdv2128-Nov-07 20:17 
hi i have a reportViewer in my form and a report in reportDesigner named 'Report1.rdlc'.
in my report, i define a parameter that has these properties :
Name = Report_Parameter_0
Data type = String
Promt = 11111111111111
Allow blank value = true
Null = true

and add a textBox to my report in reportDesigner with following properties :
Name = textbox5
Value = Parameters!Report_Parameter_0.Value

and in my form load event that show report i wrote this code to send my value to 'Report_Parameter_0' programmatically :
try
{
this.v_customerOrderCountTableAdapter.Fill(this.NorthwindDataSet.v_customerOrderCount);
Microsoft.Reporting.WinForms.ReportParameter rp = new Microsoft.Reporting.WinForms.ReportParameter("Report_Parameter_0", "Param From Code");
this.reportViewer1.LocalReport.SetParameters(new Microsoft.Reporting.WinForms.ReportParameter[] { rp });
this.reportViewer1.RefreshReport();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

with above information, in runTime, i prospected that 'textbox5' have 'Param From Code' value, but have
'Parameters!Report_Parameter_0.Value' yet.
where does problem and how to send value to reportParameter correctly ?
thanks
AnswerRe: How to send value to report in Reporting Services programmatically ? Pin
Michael Sync8-Nov-07 22:24
Michael Sync8-Nov-07 22:24 
QuestionDisable/Enable Check Box in property Grid Pin
varad278-Nov-07 20:11
varad278-Nov-07 20:11 
Questionhow many days til christmax Pin
SoniPreet8-Nov-07 19:39
SoniPreet8-Nov-07 19:39 
AnswerRe: how many days til christmax Pin
Expert Coming8-Nov-07 19:46
Expert Coming8-Nov-07 19:46 
AnswerRe: how many days til christmax Pin
Scott Dorman8-Nov-07 19:48
professionalScott Dorman8-Nov-07 19:48 
GeneralRe: how many days til christmax Pin
SoniPreet8-Nov-07 20:00
SoniPreet8-Nov-07 20:00 
GeneralRe: how many days til christmax Pin
J4amieC8-Nov-07 22:26
J4amieC8-Nov-07 22:26 
GeneralRe: how many days til christmax Pin
Scott Dorman8-Nov-07 22:54
professionalScott Dorman8-Nov-07 22:54 
QuestionChecking the credential Pin
M. J. Jaya Chitra8-Nov-07 18:21
M. J. Jaya Chitra8-Nov-07 18:21 
QuestionSpecified Cast is not Valid - driving me nuts! Pin
Jasmine25018-Nov-07 18:08
Jasmine25018-Nov-07 18:08 
AnswerRe: Specified Cast is not Valid - driving me nuts! Pin
Jasmine25018-Nov-07 19:13
Jasmine25018-Nov-07 19:13 
GeneralRe: Specified Cast is not Valid - driving me nuts! Pin
Vasudevan Deepak Kumar8-Nov-07 21:01
Vasudevan Deepak Kumar8-Nov-07 21:01 
GeneralRe: Specified Cast is not Valid - driving me nuts! Pin
Jasmine25019-Nov-07 4:30
Jasmine25019-Nov-07 4:30 
QuestionStored Procedure with no parameter Pin
C#Coudou8-Nov-07 17:11
C#Coudou8-Nov-07 17:11 
AnswerRe: Stored Procedure with no parameter Pin
Jasmine25018-Nov-07 18:14
Jasmine25018-Nov-07 18:14 
AnswerRe: Stored Procedure with no parameter Pin
Giorgi Dalakishvili8-Nov-07 20:06
mentorGiorgi Dalakishvili8-Nov-07 20:06 
Questionnamespace not found--Microsoft.Office.Interop.Excel.ApplicationClass Pin
G.K.M.8-Nov-07 15:20
G.K.M.8-Nov-07 15: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.