Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
QuestionClickable Multiple Labels Pin
djnevs17-Jun-08 8:16
djnevs17-Jun-08 8:16 
AnswerRe: Clickable Multiple Labels Pin
Judah Gabriel Himango17-Jun-08 8:24
sponsorJudah Gabriel Himango17-Jun-08 8:24 
GeneralRe: Clickable Multiple Labels Pin
djnevs17-Jun-08 9:04
djnevs17-Jun-08 9:04 
GeneralRe: Clickable Multiple Labels Pin
Judah Gabriel Himango17-Jun-08 9:57
sponsorJudah Gabriel Himango17-Jun-08 9:57 
QuestionC# Vocabulary Chart (or Flow Chart) [modified] Pin
JustBFlat4Now17-Jun-08 7:19
JustBFlat4Now17-Jun-08 7:19 
AnswerRe: C# Vocabulary Chart (or Flow Chart) Pin
Thomas Stockwell18-Jun-08 16:09
professionalThomas Stockwell18-Jun-08 16:09 
GeneralRe: C# Vocabulary Chart (or Flow Chart) Pin
JustBFlat4Now23-Jun-08 10:00
JustBFlat4Now23-Jun-08 10:00 
QuestionCrystal report XI keeps asking for a parameter Pin
Newbie_Toy17-Jun-08 6:36
Newbie_Toy17-Jun-08 6:36 
I use crystal report XI with .NET 2005. I have a problem that I would like to pass a parameter at runtime. I use this code which I search from google
SaleByDate rpt = new SaleByDate();
string[] objDate = Utils.Utils.SplitDateTime(currentDate);
string purchaseDate = objDate[2] + "-" + objDate[1] + "-" + objDate[0];

ParameterFields pfs = new ParameterFields();

ParameterField pfPurchaseDate = new ParameterField();
pfPurchaseDate.Name = "INVOICE_DATE";
pfPurchaseDate.HasCurrentValue = true;

ParameterDiscreteValue pdvPurchaseDate = new ParameterDiscreteValue();

pdvPurchaseDate.Value = purchaseDate;

pfPurchaseDate.CurrentValues.Add(pdvPurchaseDate);

pfs.Add(pfPurchaseDate);

crystalReportViewerSaleByDate.ReportSource = rpt;
crystalReportViewerSaleByDate.ParameterFieldInfo = pfs;
crystalReportViewerSaleByDate.Refresh();

but when I run the report. The report still asks me to put a parameter again. Is that normal. If not, how do I disable that prompt parameter.
AnswerRe: Crystal report XI keeps asking for a parameter Pin
Newbie_Toy17-Jun-08 6:38
Newbie_Toy17-Jun-08 6:38 
AnswerRe: Crystal report XI keeps asking for a parameter Pin
SomeGuyThatIsMe17-Jun-08 7:08
SomeGuyThatIsMe17-Jun-08 7:08 
QuestionPCX Files in C# Pin
Chrisfrmatl17-Jun-08 6:28
Chrisfrmatl17-Jun-08 6:28 
AnswerRe: PCX Files in C# Pin
Judah Gabriel Himango17-Jun-08 6:40
sponsorJudah Gabriel Himango17-Jun-08 6:40 
GeneralRe: PCX Files in C# Pin
Chrisfrmatl17-Jun-08 9:24
Chrisfrmatl17-Jun-08 9:24 
GeneralRe: PCX Files in C# Pin
Judah Gabriel Himango17-Jun-08 9:57
sponsorJudah Gabriel Himango17-Jun-08 9:57 
GeneralRe: PCX Files in C# Pin
Chrisfrmatl18-Jun-08 4:27
Chrisfrmatl18-Jun-08 4:27 
QuestionMultiple Labels Pin
djnevs17-Jun-08 6:10
djnevs17-Jun-08 6:10 
AnswerRe: Multiple Labels Pin
Luc Pattyn17-Jun-08 6:18
sitebuilderLuc Pattyn17-Jun-08 6:18 
GeneralRe: Multiple Labels [modified] Pin
djnevs17-Jun-08 6:55
djnevs17-Jun-08 6:55 
QuestionList of sql server 2005 machines Pin
arkiboys17-Jun-08 5:32
arkiboys17-Jun-08 5:32 
AnswerRe: List of sql server 2005 machines Pin
DavidByram17-Jun-08 5:48
DavidByram17-Jun-08 5:48 
AnswerRe: List of sql server 2005 machines Pin
Parwej Ahamad17-Jun-08 5:50
professionalParwej Ahamad17-Jun-08 5:50 
QuestionConvert generic data to bytes Pin
j.newger17-Jun-08 4:56
j.newger17-Jun-08 4:56 
AnswerRe: Convert generic data to bytes Pin
Anthony Mushrow17-Jun-08 5:01
professionalAnthony Mushrow17-Jun-08 5:01 
GeneralRe: Convert generic data to bytes Pin
j.newger17-Jun-08 5:09
j.newger17-Jun-08 5:09 
AnswerRe: Convert generic data to bytes Pin
Le centriste17-Jun-08 5:07
Le centriste17-Jun-08 5:07 

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.