Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
GeneralString question Pin
Mike Ellison2-Oct-03 10:24
Mike Ellison2-Oct-03 10:24 
GeneralRe: String question Pin
Loki2-Oct-03 10:38
Loki2-Oct-03 10:38 
GeneralRe: String question Pin
Nathan Blomquist2-Oct-03 10:41
Nathan Blomquist2-Oct-03 10:41 
GeneralRe: String question Pin
Nathan Blomquist2-Oct-03 10:40
Nathan Blomquist2-Oct-03 10:40 
GeneralRe: String question Pin
Daniel Turini2-Oct-03 11:08
Daniel Turini2-Oct-03 11:08 
GeneralRe: String question Pin
Mike Ellison2-Oct-03 11:11
Mike Ellison2-Oct-03 11:11 
GeneralRe: String question Pin
Nick Parker2-Oct-03 13:14
protectorNick Parker2-Oct-03 13:14 
GeneralRe: String question Pin
Mike Ellison2-Oct-03 13:32
Mike Ellison2-Oct-03 13:32 
GeneralCrystal Report Types Difference Pin
Inam2-Oct-03 9:19
Inam2-Oct-03 9:19 
Generalconst v readonly Pin
pseudonym672-Oct-03 9:19
pseudonym672-Oct-03 9:19 
GeneralRe: const v readonly Pin
Blake Coverett2-Oct-03 10:18
Blake Coverett2-Oct-03 10:18 
GeneralRe: const v readonly Pin
pseudonym672-Oct-03 12:05
pseudonym672-Oct-03 12:05 
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 
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 
public DataSet YourMethod(String Table, String Column or DataColumn dc)

DataTable dt=DataSet.Tables[Table];

DataRow[] rows=dt.Select(strExpr, Sort, RowState)

better:

DataSet.Tables[Table].DefaultView.Sort="ColumnName DESC";

Perhaps you don't know that you can bind your DataGrid to a DataView, too!

DataGrid.DataSource=DataSet[Table].DefaultView;

If I did not understand your needs try to reexplain or use another language to tell me. German or French, perhaps?

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.