Click here to Skip to main content
15,898,772 members
Home / Discussions / C#
   

C#

 
AnswerRe: help needed with my DB project (composite formatting) Pin
Christian Graus17-Jun-08 2:07
protectorChristian Graus17-Jun-08 2:07 
GeneralRe: help needed with my DB project (composite formatting) Pin
klopdisselboom18-Jun-08 3:52
klopdisselboom18-Jun-08 3:52 
Questionwindows forms application using workflow c# Pin
Zeyad Jalil17-Jun-08 0:58
professionalZeyad Jalil17-Jun-08 0:58 
AnswerRe: windows forms application using workflow c# Pin
Kevin McFarlane17-Jun-08 1:51
Kevin McFarlane17-Jun-08 1:51 
QuestionRe: windows forms application using workflow c# Pin
Zeyad Jalil17-Jun-08 19:32
professionalZeyad Jalil17-Jun-08 19:32 
AnswerRe: windows forms application using workflow c# Pin
Kevin McFarlane17-Jun-08 21:59
Kevin McFarlane17-Jun-08 21:59 
QuestionReportViewer: How to get current subreport title in parent report header Pin
OregonGhost17-Jun-08 0:45
OregonGhost17-Jun-08 0:45 
QuestionBusiness classes in windows application and webservice implement same interface Pin
N a v a n e e t h17-Jun-08 0:32
N a v a n e e t h17-Jun-08 0:32 
I have a class in my windows application named "Category". I have a web service which will be used by the windows application to fill the categories. Inside web service, I have another class say "OnlineCategory", of course this one is serializable. GetCategory() method in the web service returns a "OnlineCategory" instance to the caller (windows application).

I am using this "OnlineCategory" instance and creating a new "Category" instance and binding my controls. But I am looking for a better approach for this. I have the following thoughts

Both "OnlineCategory" and "Category" implements a interface say "ICategory", and all my controls should use "ICategory" for binding. So I can directly bind "OnlineCategory" instance which web service method returns.

Is this a better approach or any other methods available to do this ?

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

QuestionHow can I detect the decimal separator of the current host? Pin
bouli17-Jun-08 0:31
bouli17-Jun-08 0:31 
AnswerRe: How can I detect the decimal separator of the current host? Pin
DaveyM6917-Jun-08 0:40
professionalDaveyM6917-Jun-08 0:40 
AnswerRe: How can I detect the decimal separator of the current host? Pin
DaveyM6917-Jun-08 0:44
professionalDaveyM6917-Jun-08 0:44 
Questionpass by value Pin
DaveyM6917-Jun-08 0:16
professionalDaveyM6917-Jun-08 0:16 
AnswerRe: pass by value Pin
Simon P Stevens17-Jun-08 0:40
Simon P Stevens17-Jun-08 0:40 
GeneralRe: pass by value Pin
Guffa17-Jun-08 0:50
Guffa17-Jun-08 0:50 
GeneralRe: pass by value Pin
Simon P Stevens17-Jun-08 1:07
Simon P Stevens17-Jun-08 1:07 
GeneralRe: pass by value Pin
Guffa17-Jun-08 3:21
Guffa17-Jun-08 3:21 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 0:55
professionalDaveyM6917-Jun-08 0:55 
GeneralRe: pass by value Pin
Simon P Stevens17-Jun-08 1:19
Simon P Stevens17-Jun-08 1:19 
AnswerRe: pass by value Pin
RugbyLeague17-Jun-08 0:48
RugbyLeague17-Jun-08 0:48 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 0:58
professionalDaveyM6917-Jun-08 0:58 
GeneralRe: pass by value Pin
RugbyLeague17-Jun-08 1:00
RugbyLeague17-Jun-08 1:00 
AnswerRe: pass by value Pin
N a v a n e e t h17-Jun-08 0:49
N a v a n e e t h17-Jun-08 0:49 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 0:59
professionalDaveyM6917-Jun-08 0:59 
AnswerRe: pass by value Pin
CPallini17-Jun-08 0:50
mveCPallini17-Jun-08 0:50 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 1:00
professionalDaveyM6917-Jun-08 1:00 

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.