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

C#

 
AnswerRe: ErrorProvider logic to avoid DialogResult.OK button completion? Pin
Michael Eber30-Sep-10 12:08
Michael Eber30-Sep-10 12:08 
QuestionShould we really use struct or not? Pin
stephen.darling23-Sep-10 2:11
stephen.darling23-Sep-10 2:11 
AnswerRe: Should we really use struct or not? Pin
Luc Pattyn23-Sep-10 2:52
sitebuilderLuc Pattyn23-Sep-10 2:52 
AnswerRe: Should we really use struct or not? Pin
Ian Shlasko23-Sep-10 2:52
Ian Shlasko23-Sep-10 2:52 
GeneralRe: Should we really use struct or not? Pin
stephen.darling23-Sep-10 2:57
stephen.darling23-Sep-10 2:57 
Questionreportviewer in multi-tier winform environment Pin
redspiderke23-Sep-10 1:50
redspiderke23-Sep-10 1:50 
AnswerRe: reportviewer in multi-tier winform environment Pin
Vimalsoft(Pty) Ltd23-Sep-10 3:16
professionalVimalsoft(Pty) Ltd23-Sep-10 3:16 
QuestionHow to add items to dictionary as you create it? Pin
Chesnokov Yuriy22-Sep-10 21:57
professionalChesnokov Yuriy22-Sep-10 21:57 
AnswerRe: How to add items to dictionary as you create it? PinPopular
tolw22-Sep-10 22:01
tolw22-Sep-10 22:01 
GeneralRe: How to add items to dictionary as you create it? Pin
Chesnokov Yuriy22-Sep-10 22:16
professionalChesnokov Yuriy22-Sep-10 22:16 
Questionhow to connect MySql via network Pin
Erdinc2722-Sep-10 20:52
Erdinc2722-Sep-10 20:52 
AnswerRe: how to connect MySql via network Pin
Simon_Whale22-Sep-10 22:12
Simon_Whale22-Sep-10 22:12 
GeneralRe: how to connect MySql via network Pin
Erdinc2722-Sep-10 22:35
Erdinc2722-Sep-10 22:35 
GeneralRe: how to connect MySql via network Pin
Simon_Whale22-Sep-10 22:41
Simon_Whale22-Sep-10 22:41 
GeneralRe: how to connect MySql via network Pin
Erdinc2722-Sep-10 22:56
Erdinc2722-Sep-10 22:56 
AnswerRe: how to connect MySql via network Pin
Saksida Bojan23-Sep-10 0:45
Saksida Bojan23-Sep-10 0:45 
GeneralRe: how to connect MySql via network Pin
Erdinc2723-Sep-10 1:46
Erdinc2723-Sep-10 1:46 
QuestionIcon for dll assembly Pin
Chesnokov Yuriy22-Sep-10 19:13
professionalChesnokov Yuriy22-Sep-10 19:13 
AnswerRe: Icon for dll assembly Pin
AspDotNetDev22-Sep-10 19:34
protectorAspDotNetDev22-Sep-10 19:34 
QuestionQuick C# Help Retrieve data using while (!sr.EndOfStream) Pin
d87c22-Sep-10 17:35
d87c22-Sep-10 17:35 
AnswerRe: Quick C# Help Retrieve data using while (!sr.EndOfStream) Pin
AspDotNetDev22-Sep-10 18:58
protectorAspDotNetDev22-Sep-10 18:58 
GeneralRe: Quick C# Help Retrieve data using while (!sr.EndOfStream) Pin
d87c22-Sep-10 19:05
d87c22-Sep-10 19:05 
GeneralRe: Quick C# Help Retrieve data using while (!sr.EndOfStream) Pin
AspDotNetDev22-Sep-10 19:17
protectorAspDotNetDev22-Sep-10 19:17 
QuestionRetrieve array items to use in NUnit Test Pin
mtn*rain22-Sep-10 15:01
mtn*rain22-Sep-10 15:01 
AnswerRe: Retrieve array items to use in NUnit Test Pin
Luc Pattyn22-Sep-10 15:37
sitebuilderLuc Pattyn22-Sep-10 15:37 
mtn*rain wrote:
Transaction does not contain a constructor that takes 7 arguments


I suggest you take compiler messages quite literally.

Your Item and Transaction classes don't have explicit constructors (well, you haven't shown any); so all they have is an implicit or default constructor that takes NO arguments.

Furthermore, your 7 parameters suggest they describe a new Item, not a new Transaction. Rethink your structure, add constructors, and check your code carefully.

If you're new to C# (and to object orientation?) you might want and consider something simpler to start with.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


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.