Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
GeneralRe: Embed and manipulate Excel sheet Pin
The_Collector19-Aug-09 0:17
The_Collector19-Aug-09 0:17 
Questionunderline just one word within a lable Pin
lane0p218-Aug-09 23:10
lane0p218-Aug-09 23:10 
AnswerRe: underline just one word within a lable Pin
Christian Graus18-Aug-09 23:21
protectorChristian Graus18-Aug-09 23:21 
AnswerRe: underline just one word within a lable Pin
N a v a n e e t h18-Aug-09 23:31
N a v a n e e t h18-Aug-09 23:31 
GeneralRe: underline just one word within a lable Pin
lane0p218-Aug-09 23:47
lane0p218-Aug-09 23:47 
GeneralRe: underline just one word within a lable Pin
lane0p220-Aug-09 3:54
lane0p220-Aug-09 3:54 
QuestionSortList problem Pin
bonzaiholding18-Aug-09 22:35
bonzaiholding18-Aug-09 22:35 
AnswerRe: SortList problem , please help! Pin
N a v a n e e t h18-Aug-09 23:16
N a v a n e e t h18-Aug-09 23:16 
bonzaiholding wrote:
The problem is that every iteration im sorting the list that is allready sorted because there is one new stduent that been insert to the list.


You need insertion sort and don't sort the whole list for each insertion. When adding an item, compare with all the items in the list and find a suitable position for that new item. Complexity of this will be O(n).

bonzaiholding wrote:
(i tryed to use SortList and you can see the problem , the key is the grade and it's possible that 2 student will have the same grade).
What is the best option?


I don't see any problem here.

bonzaiholding wrote:
If i have SortList and i want to save 10 object with the best result how can i do it?


Take the last or first 10 elements from the list depending on your sort order.

Smile | :)


GeneralRe: SortList problem , please help! Pin
bonzaiholding19-Aug-09 0:00
bonzaiholding19-Aug-09 0:00 
QuestionCommand Line Option in C# Pin
maheesh18-Aug-09 22:32
maheesh18-Aug-09 22:32 
AnswerRe: Command Line Option in C# Pin
N a v a n e e t h18-Aug-09 23:04
N a v a n e e t h18-Aug-09 23:04 
GeneralRe: Command Line Option in C# Pin
maheesh18-Aug-09 23:49
maheesh18-Aug-09 23:49 
AnswerRe: Command Line Option in C# Pin
Calla18-Aug-09 23:10
Calla18-Aug-09 23:10 
GeneralRe: Command Line Option in C# Pin
maheesh19-Aug-09 0:16
maheesh19-Aug-09 0:16 
GeneralRe: Command Line Option in C# Pin
Calla19-Aug-09 0:23
Calla19-Aug-09 0:23 
QuestionCustom Control Events Pin
Matt Cavanagh18-Aug-09 22:30
Matt Cavanagh18-Aug-09 22:30 
AnswerRe: Custom Control Events Pin
dan!sh 18-Aug-09 22:54
professional dan!sh 18-Aug-09 22:54 
GeneralRe: Custom Control Events Pin
Matt Cavanagh18-Aug-09 22:57
Matt Cavanagh18-Aug-09 22:57 
GeneralRe: Custom Control Events Pin
dan!sh 18-Aug-09 23:17
professional dan!sh 18-Aug-09 23:17 
Questionvalidations for the controls that are dynamically created at runtime Pin
vasavi.p18-Aug-09 22:16
vasavi.p18-Aug-09 22:16 
AnswerRe: validations for the controls that are dynamically created at runtime Pin
OriginalGriff18-Aug-09 22:25
mveOriginalGriff18-Aug-09 22:25 
AnswerRe: validations for the controls that are dynamically created at runtime [modified] Pin
annathor18-Aug-09 22:46
annathor18-Aug-09 22:46 
QuestionWeb Application Security Pin
kKamel18-Aug-09 21:45
kKamel18-Aug-09 21:45 
AnswerRe: Web Application Security Pin
N a v a n e e t h18-Aug-09 22:08
N a v a n e e t h18-Aug-09 22:08 
GeneralRe: Web Application Security Pin
kKamel18-Aug-09 22:21
kKamel18-Aug-09 22:21 

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.