Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem of controling a listview in another form [Waiting online....] Pin
Pete O'Hanlon8-Jun-10 4:43
mvePete O'Hanlon8-Jun-10 4:43 
GeneralOh,yeah!I did it! Pin
imbiz8-Jun-10 4:48
imbiz8-Jun-10 4:48 
QuestionIP address control Pin
SelvaKr8-Jun-10 1:00
SelvaKr8-Jun-10 1:00 
AnswerRe: IP address control Pin
Pete O'Hanlon8-Jun-10 1:03
mvePete O'Hanlon8-Jun-10 1:03 
GeneralRe: IP address control Pin
SelvaKr8-Jun-10 1:18
SelvaKr8-Jun-10 1:18 
AnswerRe: IP address control Pin
Johnny J.8-Jun-10 1:12
professionalJohnny J.8-Jun-10 1:12 
GeneralRe: IP address control Pin
SelvaKr8-Jun-10 1:19
SelvaKr8-Jun-10 1:19 
QuestionCrystal Report : Parameter Count Mismatch. Pin
saber.softs7-Jun-10 21:13
saber.softs7-Jun-10 21:13 
Hello Everyone,

I have been using Crystal Report for at least 7 years, but I never got this below exception before, when I wanted to set report data-source :

Parameter Count Mismatch.


Note that, I converted my project from VS 2008 to 2010. I didn't have any problem like this in VS 2008 before everything was working fine. After conversion and change appropriate crystal report references, It doesn't work anymore.

Below is my code :
private void PrintInvoice(int accountId)
{
     List<vwSalesModel> invoiceMdl = GetInvoiceInformationByAccountId(accountId);

     if (invoiceMdl == null)
         return;

     using (frmReportViewer frmReport = new frmReportViewer())
     {
         rptInvoice invoiceReport = new rptInvoice();

         // Setting report datasource
         frmReport.crystalReportViewer.ReportSource = invoiceReport;
         invoiceReport.SetDataSource(invoiceMdl);
         // -------------------------

         frmReport.ShowDialog();
     }
}


Any Advice will be helpful.

Regards
SABER.
http://codeprojects.wordpress.com

QuestionProblem in BackUp Pin
SajjadZare7-Jun-10 19:57
SajjadZare7-Jun-10 19:57 
AnswerRe: Problem in BackUp Pin
Md. Marufuzzaman7-Jun-10 21:37
professionalMd. Marufuzzaman7-Jun-10 21:37 
GeneralRe: Problem in BackUp Pin
SajjadZare7-Jun-10 22:01
SajjadZare7-Jun-10 22:01 
AnswerRe: Problem in BackUp Pin
Mycroft Holmes7-Jun-10 22:06
professionalMycroft Holmes7-Jun-10 22:06 
QuestionPass by value Pin
jon-807-Jun-10 18:58
professionaljon-807-Jun-10 18:58 
AnswerRe: Pass by value Pin
jgauffin7-Jun-10 20:08
jgauffin7-Jun-10 20:08 
GeneralRe: Pass by value Pin
jon-807-Jun-10 20:10
professionaljon-807-Jun-10 20:10 
AnswerRe: Pass by value Pin
Deepak-VS7-Jun-10 20:11
Deepak-VS7-Jun-10 20:11 
QuestionMessage Removed Pin
7-Jun-10 18:51
SajjadZare7-Jun-10 18:51 
AnswerRe: BackUp PinPopular
Mycroft Holmes7-Jun-10 19:21
professionalMycroft Holmes7-Jun-10 19:21 
QuestionNew posts emailed - please be kind Pin
mprice2147-Jun-10 17:52
mprice2147-Jun-10 17:52 
AnswerRe: New posts emailed - please be kind Pin
Luc Pattyn7-Jun-10 17:59
sitebuilderLuc Pattyn7-Jun-10 17:59 
GeneralRe: New posts emailed - please be kind Pin
mprice2147-Jun-10 18:09
mprice2147-Jun-10 18:09 
GeneralRe: New posts emailed - please be kind Pin
OriginalGriff7-Jun-10 22:23
mveOriginalGriff7-Jun-10 22:23 
GeneralRe: New posts emailed - please be kind Pin
mprice2148-Jun-10 2:37
mprice2148-Jun-10 2:37 
GeneralRe: New posts emailed - please be kind Pin
Henry Minute8-Jun-10 2:42
Henry Minute8-Jun-10 2:42 
GeneralRe: New posts emailed - please be kind Pin
mprice2148-Jun-10 3:48
mprice2148-Jun-10 3:48 

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.