Click here to Skip to main content
15,889,419 members
Home / Discussions / C#
   

C#

 
AnswerRe: Losing COM event handlers in C# Pin
Vitaly Tomilov20-Aug-07 1:28
Vitaly Tomilov20-Aug-07 1:28 
Questionunable to display MySQL DateTime DataType Values in Crystal Reports using C#.NET 2.0 XML Schema Pin
raju572520-Aug-07 0:08
raju572520-Aug-07 0:08 
QuestionCompatibility question Pin
Muammar©19-Aug-07 23:27
Muammar©19-Aug-07 23:27 
AnswerRe: Compatibility question [modified] Pin
Hessam Jalali19-Aug-07 23:55
Hessam Jalali19-Aug-07 23:55 
AnswerRe: Compatibility question Pin
Christian Graus19-Aug-07 23:57
protectorChristian Graus19-Aug-07 23:57 
AnswerRe: Compatibility question Pin
Mustafa Ismail Mustafa20-Aug-07 3:13
Mustafa Ismail Mustafa20-Aug-07 3:13 
QuestionWhat is the logic for WebService methods ? Pin
MehmetFurkan19-Aug-07 23:07
MehmetFurkan19-Aug-07 23:07 
AnswerRe: What is the logic for WebService methods ? Pin
Talal Sultan19-Aug-07 23:27
Talal Sultan19-Aug-07 23:27 
First, unless you have created your own version of a serializable DataTable, a web method cannot return a DataTable because it is not serializable. However, a DataSet is serializable and thus you can use it to put your data table in it and return it.

Now, as I believe, a web service is stateless by nature. You can make it statefull with some extra coding but if you use the model generated by VS, it is stateless. This means that there is no persistence of data and when a method returns, the session expires.

So, to answer your question, the client calling the webmethod will get a copy of the DataSet returned and not a reference Smile | :)

Talal

-- If this is a post that has been helpful to you, please vote for it. Thank you!

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

GeneralRe: What is the logic for WebService methods ? Pin
MehmetFurkan20-Aug-07 0:09
MehmetFurkan20-Aug-07 0:09 
GeneralRe: What is the logic for WebService methods ? Pin
Talal Sultan20-Aug-07 1:38
Talal Sultan20-Aug-07 1:38 
QuestionIs it possible to create an Access database with Pure C# Code Pin
Infernojericho19-Aug-07 23:04
Infernojericho19-Aug-07 23:04 
AnswerRe: Is it possible to create an Access database with Pure C# Code Pin
Christian Graus20-Aug-07 0:01
protectorChristian Graus20-Aug-07 0:01 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Syed Mujtaba Hassan20-Aug-07 2:51
Syed Mujtaba Hassan20-Aug-07 2:51 
AnswerRe: Is it possible to create an Access database with Pure C# Code Pin
Talal Sultan20-Aug-07 0:03
Talal Sultan20-Aug-07 0:03 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Infernojericho20-Aug-07 0:35
Infernojericho20-Aug-07 0:35 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Christian Graus20-Aug-07 0:45
protectorChristian Graus20-Aug-07 0:45 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Talal Sultan20-Aug-07 1:48
Talal Sultan20-Aug-07 1:48 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
J4amieC20-Aug-07 1:02
J4amieC20-Aug-07 1:02 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
JoeSharp20-Aug-07 1:02
JoeSharp20-Aug-07 1:02 
QuestionActive Directory Integration using C#.net Pin
shanthivasan19-Aug-07 22:26
shanthivasan19-Aug-07 22:26 
AnswerRe: Active Directory Integration using C#.net Pin
sathish s19-Aug-07 22:44
sathish s19-Aug-07 22:44 
GeneralRe: Active Directory Integration using C#.net Pin
shanthivasan19-Aug-07 23:33
shanthivasan19-Aug-07 23:33 
GeneralRe: Active Directory Integration using C#.net Pin
sathish s20-Aug-07 3:24
sathish s20-Aug-07 3:24 
GeneralRe: Active Directory Integration using C#.net Pin
shanthivasan20-Aug-07 3:31
shanthivasan20-Aug-07 3:31 
AnswerRe: Active Directory Integration using C#.net Pin
ekynox20-Aug-07 12:57
ekynox20-Aug-07 12:57 

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.