Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windowpanel for a mdi programm? Pin
Heath Stewart15-Mar-04 4:02
protectorHeath Stewart15-Mar-04 4:02 
GeneralOpen ACCESS DataBase Pin
Snowjim14-Mar-04 13:46
Snowjim14-Mar-04 13:46 
GeneralRe: Open ACCESS DataBase Pin
mil_an14-Mar-04 15:09
mil_an14-Mar-04 15:09 
GeneralRe: Open ACCESS DataBase Pin
Snowjim14-Mar-04 23:29
Snowjim14-Mar-04 23:29 
GeneralRe: Open ACCESS DataBase Pin
Snowjim14-Mar-04 23:32
Snowjim14-Mar-04 23:32 
GeneralRe: Open ACCESS DataBase Pin
Heath Stewart15-Mar-04 4:00
protectorHeath Stewart15-Mar-04 4:00 
GeneralDataGrid Sorting - XSD not working Pin
jazzle14-Mar-04 11:51
jazzle14-Mar-04 11:51 
GeneralRe: DataGrid Sorting - XSD not working Pin
Heath Stewart15-Mar-04 3:56
protectorHeath Stewart15-Mar-04 3:56 
If you've created an XML Schema in VS.NET, you should make sure that the IsDataSet option in the property grid (when the designer is open for the schema) is set to true. If you do this, you can generate a typed DataSet class which may resolve the situation (since all tables, rows, and fields are typed according to your typed DataSet schema.

Also note that a DataSet (and hence the DataGrid which has a view on the DataSet) is not sorted by default (though, if your records were sorted to begin with, it may appear to be sorted). To sort, get the DataView from the table in question and set the Sort property according to the documentation. Use that view as the DataSource for your DataGrid. This is one way to solve the problem, so long as the DataSet recognizes the column as a number rather than a string. Again, using a typed DataSet should help solve the problem (and makes your code easier to write and faster since fewer lookups are required when you use the typed properties in your code).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: DataGrid Sorting - XSD not working Pin
jazzle15-Mar-04 23:00
jazzle15-Mar-04 23:00 
GeneralUsing an unmanaged C++ dll in my C# app Pin
granderson14-Mar-04 9:06
granderson14-Mar-04 9:06 
GeneralRe: Using an unmanaged C++ dll in my C# app Pin
jazzle14-Mar-04 9:25
jazzle14-Mar-04 9:25 
GeneralRe: Using an unmanaged C++ dll in my C# app Pin
Mazdak14-Mar-04 9:30
Mazdak14-Mar-04 9:30 
GeneralRe: Using an unmanaged C++ dll in my C# app Pin
Heath Stewart15-Mar-04 3:50
protectorHeath Stewart15-Mar-04 3:50 
GeneralRe: Using an unmanaged C++ dll in my C# app Pin
Nemanja Trifunovic15-Mar-04 5:27
Nemanja Trifunovic15-Mar-04 5:27 
QuestionDirectX Question???? Pin
SherKar14-Mar-04 8:10
SherKar14-Mar-04 8:10 
AnswerRe: DirectX Question???? Pin
Dave Kreskowiak14-Mar-04 12:24
mveDave Kreskowiak14-Mar-04 12:24 
AnswerRe: DirectX Question???? Pin
Heath Stewart15-Mar-04 3:47
protectorHeath Stewart15-Mar-04 3:47 
GeneralSend SMS usign C# Pin
shanaka14-Mar-04 3:00
shanaka14-Mar-04 3:00 
GeneralRe: Send SMS usign C# Pin
Dave Kreskowiak14-Mar-04 6:36
mveDave Kreskowiak14-Mar-04 6:36 
GeneralProbblem with refrencing DLLs Pin
CWIZO14-Mar-04 2:50
CWIZO14-Mar-04 2:50 
GeneralRe: Probblem with refrencing DLLs Pin
Heath Stewart15-Mar-04 3:43
protectorHeath Stewart15-Mar-04 3:43 
GeneralRe: Probblem with refrencing DLLs Pin
CWIZO16-Mar-04 9:46
CWIZO16-Mar-04 9:46 
Generalgetting pixels Pin
quilkin14-Mar-04 1:51
quilkin14-Mar-04 1:51 
GeneralRe: getting pixels Pin
Mazdak14-Mar-04 4:50
Mazdak14-Mar-04 4:50 
GeneralRe: getting pixels Pin
quilkin14-Mar-04 6:58
quilkin14-Mar-04 6:58 

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.