Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
Questioncalender help Pin
visiontec23-Sep-05 17:22
visiontec23-Sep-05 17:22 
AnswerRe: calender help Pin
Alex Korchemniy23-Sep-05 19:51
Alex Korchemniy23-Sep-05 19:51 
AnswerRe: calender help Pin
mav.northwind23-Sep-05 21:25
mav.northwind23-Sep-05 21:25 
Questionupdate from dataset to database Pin
cauvang23-Sep-05 17:01
cauvang23-Sep-05 17:01 
AnswerRe: update from dataset to database Pin
Alex Korchemniy23-Sep-05 19:48
Alex Korchemniy23-Sep-05 19:48 
GeneralRe: update from dataset to database Pin
cauvang24-Sep-05 14:35
cauvang24-Sep-05 14:35 
Questiondatabase Pin
Tran Ngoc Minh23-Sep-05 16:54
Tran Ngoc Minh23-Sep-05 16:54 
AnswerRe: database Pin
enjoycrack23-Sep-05 18:24
enjoycrack23-Sep-05 18:24 
QuestionHow to reach an object that dont have name Pin
mego_z2023-Sep-05 15:53
mego_z2023-Sep-05 15:53 
AnswerRe: How to reach an object that dont have name Pin
Wjousts23-Sep-05 16:03
Wjousts23-Sep-05 16:03 
AnswerRe: How to reach an object that dont have name Pin
Mohamad Al Husseiny23-Sep-05 16:41
Mohamad Al Husseiny23-Sep-05 16:41 
AnswerRe: How to reach an object that dont have name Pin
mego_z2024-Sep-05 5:21
mego_z2024-Sep-05 5:21 
QuestionTime out exception? Pin
dgap23-Sep-05 13:37
dgap23-Sep-05 13:37 
QuestionTablet Ink and GDI+ Pin
HahnTech23-Sep-05 13:16
HahnTech23-Sep-05 13:16 
Questiondraw inside an abject Pin
Sasuko23-Sep-05 12:45
Sasuko23-Sep-05 12:45 
AnswerRe: draw inside an abject Pin
Mohamad Al Husseiny23-Sep-05 15:38
Mohamad Al Husseiny23-Sep-05 15:38 
Questioncrystal reports parameter Pin
Naveed Kamboh23-Sep-05 12:18
Naveed Kamboh23-Sep-05 12:18 
AnswerRe: crystal reports parameter Pin
Alex Korchemniy23-Sep-05 19:44
Alex Korchemniy23-Sep-05 19:44 
I haven't been at CP for a while. Hi everyone.

Naveed, if you search through previous post I bet this question was answer multiple times.

I quickly pulled up a file using Google desktop search and I found a function that I used on a previous project. Take a look at this. It might help you:

private void SetParameter(string name, string val)
{
	ParameterFieldDefinitions paramFlds = report.DataDefinition.ParameterFields; // Get the parameter fields
	ParameterFieldDefinition paramFld = paramFlds[name]; // Get a specific one
	ParameterDiscreteValue discreteValue = new ParameterDiscreteValue(); // Create a value type
	ParameterValues paramValues = paramFld.CurrentValues; // Get the collection of current values
	paramValues.Clear(); // Clear the current
	discreteValue.Value = val; // Set the value
	paramValues.Add(discreteValue); // Add the value type
	paramFld.ApplyCurrentValues(paramValues); // Apply the parameters to the document
}


Alex Korchemniy
QuestionUse of java script in asp.net pages Pin
meanu23-Sep-05 12:10
meanu23-Sep-05 12:10 
AnswerRe: Use of java script in asp.net pages Pin
Mohamad Al Husseiny23-Sep-05 15:29
Mohamad Al Husseiny23-Sep-05 15:29 
QuestionC# Sucks! Pin
Stober23-Sep-05 11:26
Stober23-Sep-05 11:26 
AnswerRe: C# Sucks! Pin
Anonymous23-Sep-05 11:39
Anonymous23-Sep-05 11:39 
GeneralRe: C# Sucks! Pin
Stober23-Sep-05 11:46
Stober23-Sep-05 11:46 
GeneralRe: C# Sucks! Pin
Luis Alonso Ramos23-Sep-05 15:26
Luis Alonso Ramos23-Sep-05 15:26 
AnswerRe: C# Sucks! Pin
Mohamad Al Husseiny23-Sep-05 13:56
Mohamad Al Husseiny23-Sep-05 13:56 

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.