Click here to Skip to main content
15,890,670 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reading from resource file in C# through access violation exception sometimes Pin
molesworth17-Jun-09 4:29
molesworth17-Jun-09 4:29 
AnswerRe: Reading from resource file in C# through access violation exception sometimes Pin
OriginalGriff17-Jun-09 4:48
mveOriginalGriff17-Jun-09 4:48 
GeneralI object Pin
Luc Pattyn17-Jun-09 5:13
sitebuilderLuc Pattyn17-Jun-09 5:13 
GeneralRe: I object Pin
OriginalGriff17-Jun-09 5:18
mveOriginalGriff17-Jun-09 5:18 
QuestionPDF virtual printer in c# Pin
JurieBurie17-Jun-09 3:19
JurieBurie17-Jun-09 3:19 
AnswerRe: PDF virtual printer in c# Pin
Dave Kreskowiak17-Jun-09 8:19
mveDave Kreskowiak17-Jun-09 8:19 
QuestionFIPS 140-2 Compliance Pin
DMBFiredancer17-Jun-09 3:14
DMBFiredancer17-Jun-09 3:14 
Questiondyanamic crystal report Pin
pupilstuff17-Jun-09 3:02
pupilstuff17-Jun-09 3:02 
hi friends
i am creating crytal report frm the stored procedure ,this works fine when i pass one parameter but it shows an error "incorrect parameter " whn i pass two parameter
my code is
{
ReportDocument reportDocument = new ReportDocument();
ParameterField paramField = new ParameterField();
ParameterFields paramFields = new ParameterFields();
ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();

paramField.Name = "@Dept";
paramDiscreteValue.Value = TextBox1.Text.ToString();
paramField.CurrentValues.Add(paramDiscreteValue);
paramFields.Add(paramField);

paramField.Name = "@Name";
paramDiscreteValue.Value = TextBox2.Text.ToString();
paramField.CurrentValues.Add(paramDiscreteValue);
paramFields.Add(paramField);

CrystalReportViewer1.ParameterFieldInfo = paramFields;
reportDocument.Load(Server.MapPath("CrystalReport.rpt"));
CrystalReportViewer1.ReportSource = reportDocument;
reportDocument.SetDatabaseLogon("sa", "sa", "OPWFMS-7KYGZ7SB", "test");

}
plz let me knw any chnges
QuestionDelegate Pin
Matt Cavanagh17-Jun-09 2:39
Matt Cavanagh17-Jun-09 2:39 
AnswerRe: Delegate Pin
Luc Pattyn17-Jun-09 2:55
sitebuilderLuc Pattyn17-Jun-09 2:55 
GeneralRe: Delegate Pin
Matt Cavanagh17-Jun-09 3:18
Matt Cavanagh17-Jun-09 3:18 
GeneralRe: Delegate Pin
Luc Pattyn17-Jun-09 3:32
sitebuilderLuc Pattyn17-Jun-09 3:32 
GeneralRe: Delegate Pin
Matt Cavanagh17-Jun-09 5:19
Matt Cavanagh17-Jun-09 5:19 
AnswerRe: Delegate Pin
Ennis Ray Lynch, Jr.17-Jun-09 7:28
Ennis Ray Lynch, Jr.17-Jun-09 7:28 
QuestionSystem.Net.Mail not working Pin
dptalt17-Jun-09 2:33
dptalt17-Jun-09 2:33 
AnswerRe: System.Net.Mail not working Pin
Rob Philpott17-Jun-09 2:38
Rob Philpott17-Jun-09 2:38 
GeneralRe: System.Net.Mail not working Pin
Dave Kreskowiak17-Jun-09 8:24
mveDave Kreskowiak17-Jun-09 8:24 
GeneralRe: System.Net.Mail not working Pin
Rob Philpott17-Jun-09 9:07
Rob Philpott17-Jun-09 9:07 
GeneralRe: System.Net.Mail not working Pin
Dave Kreskowiak17-Jun-09 13:30
mveDave Kreskowiak17-Jun-09 13:30 
AnswerRe: System.Net.Mail not working Pin
dptalt18-Jun-09 1:34
dptalt18-Jun-09 1:34 
Questionpass '' char to storedprocedure !!!!!!!!! Pin
zeeShan anSari17-Jun-09 2:20
zeeShan anSari17-Jun-09 2:20 
AnswerRe: pass '' char to storedprocedure !!!!!!!!! Pin
MohitBhambral17-Jun-09 2:32
MohitBhambral17-Jun-09 2:32 
GeneralRe: pass '' char to storedprocedure !!!!!!!!! Pin
zeeShan anSari17-Jun-09 2:47
zeeShan anSari17-Jun-09 2:47 
AnswerPass null to stored T-SQL Proc via LINQ Pin
ProtoBytes17-Jun-09 2:56
ProtoBytes17-Jun-09 2:56 
AnswerRe: Pass null to stored T-SQL Proc via LINQ Pin
zeeShan anSari17-Jun-09 3:07
zeeShan anSari17-Jun-09 3: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.