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

C#

 
QuestionHelp me, please Pin
angelinajoilie28-May-07 17:25
angelinajoilie28-May-07 17:25 
AnswerRe: Help me, please Pin
Sathesh Sakthivel28-May-07 17:58
Sathesh Sakthivel28-May-07 17:58 
QuestionLinux client with Windows Server Pin
islheg28-May-07 9:35
islheg28-May-07 9:35 
QuestionWhat am I missing here??? [modified] Pin
new_phoenix28-May-07 7:55
new_phoenix28-May-07 7:55 
AnswerRe: What am I missing here??? Pin
Guffa28-May-07 8:37
Guffa28-May-07 8:37 
GeneralRe: What am I missing here??? Pin
new_phoenix2-Jun-07 12:19
new_phoenix2-Jun-07 12:19 
AnswerRe: What am I missing here??? Pin
Guffa2-Jun-07 14:03
Guffa2-Jun-07 14:03 
Questioni have to ask regarding "Report Parameter" Pin
Lucky Hamad28-May-07 7:23
Lucky Hamad28-May-07 7:23 
i have a problem with passing a parameter to crystal report through form
using Visual Studio 2003,I have a piece of code which i had gotton from codeproject but i have couple of problems in that code

//Instantiate variables
ReportDocument reportDocument = new ReportDocument();
ParameterField paramField = new ParameterField();
ParameterFields paramFields = new ParameterFields();
ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();

//Set instances for input parameter 1 - @vDepartment
paramField.Name = "@vDepartment";
//Below variable can be set to any data present in SalseData table, Department column
paramDiscreteValue.Value = "South";
paramField.CurrentValues.Add(paramDiscreteValue); //Add the paramField to paramFields
paramFields.Add(paramField);



crystalReportViewer1.ParameterFieldInfo = paramFields;

reportDocument.Load(@"..\..\..\Reports\SalseReport.rpt");

crystalReportViewer1.ReportSource = reportDocument;

the code in Bold format is the problem.
Actully Visual Studion 2003 we don't have paramfield.Name function but paramfield.set_ParameterFieldName
and also in the case paramField.CurrentValues it is paramField.Set_CurrentValues.
when i used this function i had two error saying that these function can not be called explicitly.
help me to remove this problem.

By Lucky Hamad

QuestionRegular Expressions... Pin
simplicitylabs28-May-07 5:55
simplicitylabs28-May-07 5:55 
AnswerRe: Regular Expressions... Pin
J. Dunlap28-May-07 6:28
J. Dunlap28-May-07 6:28 
GeneralRe: Regular Expressions... Pin
simplicitylabs28-May-07 6:48
simplicitylabs28-May-07 6:48 
GeneralRe: Regular Expressions... Pin
J. Dunlap28-May-07 7:16
J. Dunlap28-May-07 7:16 
QuestionRe-Starting an application after self killing (autodestruction) Pin
dannygilbert328-May-07 5:24
dannygilbert328-May-07 5:24 
AnswerRe: Re-Starting an application after self killing (autodestruction) Pin
Dave Herren28-May-07 5:38
Dave Herren28-May-07 5:38 
AnswerRe: Re-Starting an application after self killing (autodestruction) Pin
Giorgi Dalakishvili28-May-07 7:15
mentorGiorgi Dalakishvili28-May-07 7:15 
QuestionSecurity report icons on IE Pin
ilaxi28-May-07 4:29
ilaxi28-May-07 4:29 
AnswerRe: Security report icons on IE Pin
Sathesh Sakthivel28-May-07 4:31
Sathesh Sakthivel28-May-07 4:31 
Questionselect menustrip item by code Pin
hamid_m28-May-07 3:58
hamid_m28-May-07 3:58 
AnswerRe: select menustrip item by code Pin
Seishin#28-May-07 22:44
Seishin#28-May-07 22:44 
QuestionReportViewer.RefreshReport() takes too long time… Pin
anderslundsgard28-May-07 3:56
anderslundsgard28-May-07 3:56 
QuestionADO Paramater Class Pin
Sean Venter28-May-07 3:53
Sean Venter28-May-07 3:53 
QuestionHelp regarding icon of a webpage Pin
anu8128-May-07 3:41
anu8128-May-07 3:41 
QuestionHow to write a stored procedure Pin
Mujz.........28-May-07 3:36
Mujz.........28-May-07 3:36 
AnswerRe: How to write a stored procedure Pin
Guffa28-May-07 7:07
Guffa28-May-07 7:07 
GeneralRe: How to write a stored procedure Pin
Mujz.........28-May-07 17:59
Mujz.........28-May-07 17:59 

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.