Click here to Skip to main content
15,897,718 members
Home / Discussions / C#
   

C#

 
GeneralRe: const v readonly Pin
leppie2-Oct-03 12:48
leppie2-Oct-03 12:48 
GeneralRe: const v readonly Pin
Daniel Turini3-Oct-03 10:34
Daniel Turini3-Oct-03 10:34 
GeneralRe: const v readonly Pin
James T. Johnson3-Oct-03 20:20
James T. Johnson3-Oct-03 20:20 
GeneralBitmap/Image size limitations Pin
SpinD2-Oct-03 6:26
SpinD2-Oct-03 6:26 
GeneralRe: Bitmap/Image size limitations Pin
Blake Coverett2-Oct-03 9:02
Blake Coverett2-Oct-03 9:02 
QuestionCOM ports in C# ? Pin
raheela2-Oct-03 6:00
raheela2-Oct-03 6:00 
AnswerRe: COM ports in C# ? Pin
James T. Johnson3-Oct-03 20:23
James T. Johnson3-Oct-03 20:23 
GeneralTroubleShotting working with Data Set Pin
Om@r2-Oct-03 5:31
Om@r2-Oct-03 5:31 
Hi all,

I'm working in a project that uses DataSets and I found a trouble shotting trying to set up in ordering a column of a table contained in the data set, in order to achive I use DataViews, this DataView works perfecly, then I retun the ordered data to the DataSet and then retun this DataSet as WebMethod but the data does simple not work, do anyone know what is the problem??, here is an code of my development...

tnks

public DataSet MyMethod(DataSet myDS)
{
// this data view is working perfecly
DataView myDView = new DataView(myDS.Tables[tablename], "", <column asc="">, DataViewRowState.CurrentRows);

// I'm doing this remove because if doesn't it causes assignment problems
myDS.Tables.Remove(tablename);
// I'm trying to assign the ordered data to the DataSet
myDS.Tables.Add(myDView.Table);

return myDS;
}

// in this web method does not work properly
[WebMethod]
public DataSet Test()
{
...
DataSet DS = MyMethod(myDS)
return DS;
}

/*********** Om@r ***********/
GeneralRe: TroubleShotting working with Data Set Pin
STW2-Oct-03 22:45
STW2-Oct-03 22:45 
GeneralRe: TroubleShotting working with Data Set Pin
Om@r3-Oct-03 3:20
Om@r3-Oct-03 3:20 
GeneralRe: TroubleShotting working with Data Set Pin
STW3-Oct-03 4:17
STW3-Oct-03 4:17 
GeneralRe: TroubleShotting working with Data Set Pin
Om@r3-Oct-03 4:23
Om@r3-Oct-03 4:23 
GeneralRe: TroubleShotting working with Data Set Pin
STW3-Oct-03 7:17
STW3-Oct-03 7:17 
GeneralRe: TroubleShotting working with Data Set Pin
Om@r4-Oct-03 13:52
Om@r4-Oct-03 13:52 
GeneralRe: TroubleShotting working with Data Set Pin
STW4-Oct-03 23:07
STW4-Oct-03 23:07 
GeneralLogonUser and Interop problem Pin
devvvy2-Oct-03 4:49
devvvy2-Oct-03 4:49 
GeneralRe: LogonUser and Interop problem Pin
devvvy2-Oct-03 5:39
devvvy2-Oct-03 5:39 
GeneralRe: LogonUser and Interop problem Pin
devvvy2-Oct-03 6:29
devvvy2-Oct-03 6:29 
GeneralDecoding SNMP Packets Pin
MrEyes2-Oct-03 3:56
MrEyes2-Oct-03 3:56 
GeneralThreadPool and COM Interop Pin
DuaneP2-Oct-03 2:17
DuaneP2-Oct-03 2:17 
GeneralRe: ThreadPool and COM Interop Pin
DuaneP2-Oct-03 11:01
DuaneP2-Oct-03 11:01 
GeneralIsInRole Pin
devvvy2-Oct-03 1:35
devvvy2-Oct-03 1:35 
GeneralRe: IsInRole Pin
Julian Bucknall [MSFT]2-Oct-03 6:05
Julian Bucknall [MSFT]2-Oct-03 6:05 
GeneralRe: IsInRole Pin
devvvy2-Oct-03 6:25
devvvy2-Oct-03 6:25 
GeneralDatabase confusion question Pin
rama_ii2-Oct-03 1:33
rama_ii2-Oct-03 1:33 

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.