Click here to Skip to main content
15,917,859 members
Home / Discussions / C#
   

C#

 
AnswerRe: Uploading DB files -getting list of tables--c#.net2.0--Plz help-Urgent Pin
Eduard Keilholz20-Aug-07 2:50
Eduard Keilholz20-Aug-07 2:50 
Questionhow to invoke stored procedures in SQL server via form Pin
prasadbuddhika20-Aug-07 1:22
prasadbuddhika20-Aug-07 1:22 
AnswerRe: how to invoke stored procedures in SQL server via form Pin
Eduard Keilholz20-Aug-07 2:48
Eduard Keilholz20-Aug-07 2:48 
QuestionChanging crystal report connection at runtime Pin
-spy-20-Aug-07 1:18
-spy-20-Aug-07 1:18 
AnswerRe: Changing crystal report connection at runtime Pin
sathish s20-Aug-07 3:14
sathish s20-Aug-07 3:14 
GeneralRe: Changing crystal report connection at runtime Pin
-spy-20-Aug-07 4:46
-spy-20-Aug-07 4:46 
AnswerRe: Changing crystal report connection at runtime Pin
mjmcinto20-Aug-07 3:49
mjmcinto20-Aug-07 3:49 
GeneralRe: Changing crystal report connection at runtime Pin
-spy-20-Aug-07 4:45
-spy-20-Aug-07 4:45 
Questionproblem in xmlserialization for arraylist Pin
cyn820-Aug-07 0:41
cyn820-Aug-07 0:41 
AnswerRe: problem in xmlserialization for arraylist Pin
Hessam Jalali20-Aug-07 2:12
Hessam Jalali20-Aug-07 2:12 
GeneralRe: problem in xmlserialization for arraylist Pin
cyn820-Aug-07 15:09
cyn820-Aug-07 15:09 
GeneralRe: problem in xmlserialization for arraylist Pin
cyn820-Aug-07 16:51
cyn820-Aug-07 16:51 
QuestionLosing COM event handlers in C# [modified] Pin
Vitaly Tomilov20-Aug-07 0:14
Vitaly Tomilov20-Aug-07 0:14 
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 

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.