Click here to Skip to main content
15,888,803 members
Home / Discussions / C#
   

C#

 
Question[Solved] Getting non-null / non-zero cells from Excel using Cells.Find Pin
emma.sun.sts1-Jan-14 22:25
emma.sun.sts1-Jan-14 22:25 
AnswerRe: Getting non-null / non-zero cells from Excel using Cells.Find Pin
Eddy Vluggen2-Jan-14 8:12
professionalEddy Vluggen2-Jan-14 8:12 
GeneralRe: Getting non-null / non-zero cells from Excel using Cells.Find Pin
emma.sun.sts5-Jan-14 19:25
emma.sun.sts5-Jan-14 19:25 
AnswerRe: Getting non-null / non-zero cells from Excel using Cells.Find Pin
TnTinMn5-Jan-14 16:00
TnTinMn5-Jan-14 16:00 
GeneralRe: Getting non-null / non-zero cells from Excel using Cells.Find Pin
emma.sun.sts14-Jan-14 21:16
emma.sun.sts14-Jan-14 21:16 
QuestionN-Tier C# Master Detail Pin
ahmed_one1-Jan-14 21:23
ahmed_one1-Jan-14 21:23 
AnswerRe: N-Tier C# Master Detail Pin
Eddy Vluggen2-Jan-14 8:07
professionalEddy Vluggen2-Jan-14 8:07 
QuestionRe: N-Tier C# Master Detail Pin
ahmed_one2-Jan-14 17:25
ahmed_one2-Jan-14 17:25 
Thanks for your reply,

I've created DAL class for data access ofcourse, purpose of which is to provide Database connection and execute Sql commands or stored proc.

As mentioned in my question, I've created Order class which will access DAL class and Get and Save Order..

The problem I am facing is from OrderDetails class...

My approach is: On the Winform (which is I think Presentation layer) when user clicks save button It should do the following:

1-Create Order class instance (for eg. Order od = new Order()) and then call Order class SaveData method by providing parameters: Like od.SaveData(OrdId,CustId OrdDate, ShpDate)

Which then ultimately save the order Master data...Order master is bind to DataTable.

Now the problem: How should I save OrderDetails...which is in DataGridView name dgGrd, dgGrd is also bind to DataTable.

OrderDetails also have SaveData method which take parameters (ProductID, Quantity, UnitPrice)...How should I call SaveData method within Order class? How should I pass whole DataGridView DataTable to SaveData method of OrderDetails class?

I will be very much appreciate if you could help me to line up my coding, perhaps if you could provide a sample? showing N-Tier Master Detail...I am still at beginner learning stage...And still doing lots of net searching for answer..

Thanks in advance

Ahmed
AnswerRe: N-Tier C# Master Detail Pin
Eddy Vluggen3-Jan-14 6:37
professionalEddy Vluggen3-Jan-14 6:37 
GeneralRe: N-Tier C# Master Detail Pin
ahmed_one3-Jan-14 17:32
ahmed_one3-Jan-14 17:32 
GeneralRe: N-Tier C# Master Detail Pin
Eddy Vluggen4-Jan-14 5:28
professionalEddy Vluggen4-Jan-14 5:28 
GeneralRe: N-Tier C# Master Detail Pin
ahmed_one5-Jan-14 22:31
ahmed_one5-Jan-14 22:31 
GeneralRe: N-Tier C# Master Detail Pin
Eddy Vluggen7-Jan-14 9:18
professionalEddy Vluggen7-Jan-14 9:18 
QuestionMessage Closed Pin
1-Jan-14 17:24
Member 104982291-Jan-14 17:24 
AnswerRe: Seeking experienced Forex programmer to code EA in C# for PFSoft Protrader 3 Pin
Dave Kreskowiak1-Jan-14 17:52
mveDave Kreskowiak1-Jan-14 17:52 
GeneralRe: Seeking experienced Forex programmer to code EA in C# for PFSoft Protrader 3 Pin
OriginalGriff1-Jan-14 22:04
mveOriginalGriff1-Jan-14 22:04 
GeneralRe: Seeking experienced Forex programmer to code EA in C# for PFSoft Protrader 3 Pin
Dave Kreskowiak2-Jan-14 4:45
mveDave Kreskowiak2-Jan-14 4:45 
GeneralRe: Seeking experienced Forex programmer to code EA in C# for PFSoft Protrader 3 Pin
OriginalGriff2-Jan-14 5:06
mveOriginalGriff2-Jan-14 5:06 
Question.net Framework code Pin
Member 104981431-Jan-14 16:15
Member 104981431-Jan-14 16:15 
AnswerRe: .net Framework code Pin
Chris Quinn1-Jan-14 21:55
Chris Quinn1-Jan-14 21:55 
AnswerRe: .net Framework code Pin
OriginalGriff1-Jan-14 22:07
mveOriginalGriff1-Jan-14 22:07 
GeneralRe: .net Framework code Pin
Ron Beyer2-Jan-14 3:44
professionalRon Beyer2-Jan-14 3:44 
GeneralRe: .net Framework code Pin
OriginalGriff2-Jan-14 4:29
mveOriginalGriff2-Jan-14 4:29 
GeneralRe: .net Framework code Pin
Ron Beyer2-Jan-14 4:35
professionalRon Beyer2-Jan-14 4:35 
GeneralRe: .net Framework code Pin
Dave Kreskowiak2-Jan-14 4:59
mveDave Kreskowiak2-Jan-14 4:59 

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.