Click here to Skip to main content
15,799,257 members
Home / Discussions / C#
   

C#

 
QuestionDropDownlist keeps disappearing Pin
vkEE13-Feb-14 6:47
vkEE13-Feb-14 6:47 
SuggestionRe: DropDownlist keeps disappearing Pin
Richard MacCutchan13-Feb-14 8:03
mveRichard MacCutchan13-Feb-14 8:03 
QuestionOut of Memory error while generating TreeView Pin
Member 768043413-Feb-14 3:04
Member 768043413-Feb-14 3:04 
AnswerRe: Out of Memory error while generating TreeView Pin
Dave Kreskowiak13-Feb-14 3:35
mveDave Kreskowiak13-Feb-14 3:35 
AnswerRe: Out of Memory error while generating TreeView Pin
Eddy Vluggen13-Feb-14 3:59
professionalEddy Vluggen13-Feb-14 3:59 
AnswerRe: Out of Memory error while generating TreeView Pin
BillWoodruff13-Feb-14 4:24
professionalBillWoodruff13-Feb-14 4:24 
QuestionNumericString Sort Pin
Member 1059316812-Feb-14 21:52
Member 1059316812-Feb-14 21:52 
AnswerRe: NumericString Sort Pin
V.12-Feb-14 22:37
professionalV.12-Feb-14 22:37 
Tricky case.

I would split the numerical part and text part, but keep them in one class.

* Then you can order by the text first and with the numeric part second through a custom function implementing some sorting algorithm.
* or group first by text and with an array of integer attached to them like "ABC" with { 1, 2, 10, 100 } eg. Then you can order the class with the text property and print the concatenated text/integer ordered by the numerical part.
* If they can stay split in the dataview you could just do like in a database´s order by clause, simplifying things a bit.

Hope this helps.
V.

(MQOTD rules and previous solutions)

OriginalGriff wrote:
V is absolutely right

GeneralRe: NumericString Sort Pin
harold aptroot12-Feb-14 23:39
harold aptroot12-Feb-14 23:39 
AnswerRe: NumericString Sort Pin
DaveyM6913-Feb-14 0:37
professionalDaveyM6913-Feb-14 0:37 
AnswerRe: NumericString Sort Pin
Richard Deeming13-Feb-14 1:50
mveRichard Deeming13-Feb-14 1:50 
QuestionHow to Serialize & De-Serialize Any Controls Property in C# Pin
Tridip Bhattacharjee12-Feb-14 21:26
professionalTridip Bhattacharjee12-Feb-14 21:26 
AnswerRe: How to Serialize & De-Serialize Any Controls Property in C# Pin
BillWoodruff12-Feb-14 23:57
professionalBillWoodruff12-Feb-14 23:57 
QuestionWhat is the difference between JavaScript 'var' and C# 'dynamic' Pin
Sanju Uthaiah Bollera12-Feb-14 21:08
Sanju Uthaiah Bollera12-Feb-14 21:08 
AnswerRe: What is the difference between JavaScript 'var' and C# 'dynamic' Pin
Richard MacCutchan12-Feb-14 22:41
mveRichard MacCutchan12-Feb-14 22:41 
AnswerRe: What is the difference between JavaScript 'var' and C# 'dynamic' Pin
BillWoodruff12-Feb-14 23:40
professionalBillWoodruff12-Feb-14 23:40 
Questiondatagridview combobox Pin
abdul rafi12-Feb-14 20:29
abdul rafi12-Feb-14 20:29 
AnswerRe: datagridview combobox Pin
Eddy Vluggen13-Feb-14 10:06
professionalEddy Vluggen13-Feb-14 10:06 
Question3D Model Pin
Kadam dIgambar12-Feb-14 19:07
Kadam dIgambar12-Feb-14 19:07 
SuggestionRe: 3D Model Pin
Richard MacCutchan12-Feb-14 22:39
mveRichard MacCutchan12-Feb-14 22:39 
GeneralRe: 3D Model Pin
JV999914-Feb-14 4:07
professionalJV999914-Feb-14 4:07 
QuestionConverting Back from Decimal to Byte Pin
computerpublic12-Feb-14 11:03
computerpublic12-Feb-14 11:03 
AnswerRe: Converting Back from Decimal to Byte Pin
Richard Deeming12-Feb-14 12:07
mveRichard Deeming12-Feb-14 12:07 
GeneralRe: Converting Back from Decimal to Byte Pin
computerpublic12-Feb-14 12:29
computerpublic12-Feb-14 12:29 
GeneralRe: Converting Back from Decimal to Byte Pin
Richard Deeming13-Feb-14 1:37
mveRichard Deeming13-Feb-14 1:37 

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.