3
Answers

showing the text box value into the crystal report

Ask a question
Suresh Babu

Suresh Babu

11y
1.1k
1

 

i have doubt about how to show the text box value into the crystal report..

in my project i need to show the log in name in the crystal report..  i had created the parameters and assigned the discrete values but when am executing the application discrete value wizard will be appear on the screen.. please help me how to solve this problem and how to show the text box value  into the crystal report.. am added the following code

 paramField = new ParameterField(); // <-- This line is added

          paramDiscreteValue = new ParameterDiscreteValue();  // <-- This line is added

          paramField.Name = "uname";

          paramDiscreteValue.Value = uname;<-- this is loginname

          paramField.CurrentValues.Add(paramDiscreteValue);

          paramFields.Add(paramField);  


Answers (3)