Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
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 
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 
Thank you very much for your reply...

I've modified my Order and OrderDetails class..Actually overall Project..

Now My form Master Fields bind to DataTable dt and Details DataGridView was bind to dtDet...
Then create relation for both tables

Then both tables added to Dataset...2 bindingSource bindMaster and bindDetail created...Set bindMaster datasource to Dt and bindDetail datasource to relation name. Pass the dataset to Order's SaveData method..

Both class's SaveData method are also modified to accept Dataset and DataTable....Also both classes now set up for Sql Insert/Update/Delete commands via SqlAdapter.

Now it works for Saving Order with order Details...Now I need to move one step further to use classes for search the orders by OrderID or OrderDate options...I guess this is not so difficult task as saving the order...

Thanks again for your guidance...I hope if I will stuck in future I will get help from here Smile | :)

Regards

Ahmed
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 
GeneralRe: .net Framework code Pin
Ron Beyer2-Jan-14 5:04
professionalRon Beyer2-Jan-14 5:04 
GeneralRe: .net Framework code Pin
Dave Kreskowiak2-Jan-14 5:06
mveDave Kreskowiak2-Jan-14 5:06 

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.