Click here to Skip to main content
15,900,461 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Reusable Lookup Control Pin
Ed Hill _5_21-Jan-11 1:50
Ed Hill _5_21-Jan-11 1:50 
AnswerRe: Reusable Lookup Control Pin
Ed Hill _5_21-Jan-11 5:58
Ed Hill _5_21-Jan-11 5:58 
QuestionPlease help on LINQ Order By in VB.NET Pin
kishan NM19-Jan-11 2:30
kishan NM19-Jan-11 2:30 
AnswerRe: Please help on LINQ Order By in VB.NET Pin
Ian Shlasko19-Jan-11 2:48
Ian Shlasko19-Jan-11 2:48 
GeneralRe: Please help on LINQ Order By in VB.NET Pin
kishan NM19-Jan-11 3:52
kishan NM19-Jan-11 3:52 
GeneralRe: Please help on LINQ Order By in VB.NET Pin
Ian Shlasko19-Jan-11 4:40
Ian Shlasko19-Jan-11 4:40 
GeneralRe: Please help on LINQ Order By in VB.NET Pin
kishan NM19-Jan-11 6:53
kishan NM19-Jan-11 6:53 
GeneralRe: Please help on LINQ Order By in VB.NET Pin
Ian Shlasko19-Jan-11 7:56
Ian Shlasko19-Jan-11 7:56 
You really need to get away from this fascination with LINQ... It's not the solution to all of your problems. In this case, you can't use the LINQ query syntax... It only works with simple properties.

But once you get the data into a collection, you can sort it via:
VB
.OrderBy(Function(key) key == "ORD" ? 1000 : int.Parse(key.SubString(3))

Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

AnswerRe: Please help on LINQ Order By in VB.NET Pin
dasblinkenlight19-Jan-11 4:49
dasblinkenlight19-Jan-11 4:49 
AnswerRe: Please help on LINQ Order By in VB.NET Pin
#realJSOP19-Jan-11 7:27
professional#realJSOP19-Jan-11 7:27 
QuestionUser account rights Pin
marca29217-Jan-11 0:50
marca29217-Jan-11 0:50 
AnswerRe: User account rights Pin
_Erik_17-Jan-11 3:07
_Erik_17-Jan-11 3:07 
GeneralRe: User account rights [modified] Pin
marca29217-Jan-11 21:32
marca29217-Jan-11 21:32 
AnswerRe: User account rights Pin
Ravi Sant18-Jan-11 1:12
Ravi Sant18-Jan-11 1:12 
QuestionWhen to Define a Custom Exception PinPopular
Patrick Skelton13-Jan-11 23:57
Patrick Skelton13-Jan-11 23:57 
AnswerRe: When to Define a Custom Exception PinPopular
Pete O'Hanlon14-Jan-11 0:13
mvePete O'Hanlon14-Jan-11 0:13 
AnswerRe: When to Define a Custom Exception PinPopular
Eddy Vluggen14-Jan-11 0:42
professionalEddy Vluggen14-Jan-11 0:42 
AnswerRe: When to Define a Custom Exception PinPopular
Daniel Turini14-Jan-11 0:44
Daniel Turini14-Jan-11 0:44 
GeneralRe: When to Define a Custom Exception Pin
Dan Neely14-Jan-11 3:03
Dan Neely14-Jan-11 3:03 
GeneralRe: When to Define a Custom Exception Pin
Daniel Turini14-Jan-11 5:21
Daniel Turini14-Jan-11 5:21 
GeneralRe: When to Define a Custom Exception Pin
Dan Neely14-Jan-11 5:28
Dan Neely14-Jan-11 5:28 
GeneralRe: When to Define a Custom Exception Pin
Daniel Turini14-Jan-11 6:17
Daniel Turini14-Jan-11 6:17 
GeneralRe: When to Define a Custom Exception Pin
Eddy Vluggen14-Jan-11 12:19
professionalEddy Vluggen14-Jan-11 12:19 
AnswerRe: When to Define a Custom Exception Pin
Aamir Butt14-Jan-11 0:58
Aamir Butt14-Jan-11 0:58 
AnswerRe: When to Define a Custom Exception PinPopular
Abhinav S14-Jan-11 1:08
Abhinav S14-Jan-11 1:08 

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.