Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: Form Inheritance (still can't edit) Pin
Dirso10-Jun-08 12:20
Dirso10-Jun-08 12:20 
QuestionCalling an Extension method from another Extension method (C# 3.0) Pin
Rajesh Moriyani9-Jun-08 12:43
Rajesh Moriyani9-Jun-08 12:43 
AnswerRe: Calling an Extension method from another Extension method (C# 3.0) Pin
jamie5509-Jun-08 13:08
jamie5509-Jun-08 13:08 
AnswerRe: Calling an Extension method from another Extension method (C# 3.0) Pin
Tariq A Karim9-Jun-08 16:39
Tariq A Karim9-Jun-08 16:39 
Questionacessing an id from object sender Pin
brsecu9-Jun-08 10:55
brsecu9-Jun-08 10:55 
AnswerRe: acessing an id from object sender Pin
Edmundisme9-Jun-08 11:07
Edmundisme9-Jun-08 11:07 
GeneralRe: acessing an id from object sender Pin
brsecu10-Jun-08 2:05
brsecu10-Jun-08 2:05 
QuestionDatatable query Pin
NewToAspDotNet9-Jun-08 9:24
NewToAspDotNet9-Jun-08 9:24 
Hi All,
I have a datatable with some data :

ActivityNr ActivityStartTime ActivityDuration
001 20:30 00:30
002 20:30 00:40
003 20:40 00:30
004 20:50 00:30
005 20:55 00:30

As you can see, Activity 001 and 002 have the same StartTime(20:30), bud activity 002 has a longer Duration(40 minutes) then Activity 001(30 minutes).
Now i have to check all activities StartTimes and when they have the same StartTime(like 001 and 002), then i have to check the 'ActivtityDuration' of those Activities and delete the Activity with shorter duration from the datatable.
Assuming the datatable above, the end resulat most be:

ActivityNr ActivityStartTime ActivityDuration
002 20:30 00:40
003 20:40 00:30
004 20:50 00:30
005 20:55 00:30

001 is deleted because it had the same starttime as 002, bud a shorter duration.
Can anyone help me with this issue with some code ?

Thanx.
QuestionCAPTCHA Custom Server Control Pin
rgfirefly249-Jun-08 9:24
rgfirefly249-Jun-08 9:24 
AnswerRe: CAPTCHA Custom Server Control Pin
Christian Graus9-Jun-08 13:23
protectorChristian Graus9-Jun-08 13:23 
GeneralRe: CAPTCHA Custom Server Control Pin
rgfirefly2410-Jun-08 5:06
rgfirefly2410-Jun-08 5:06 
QuestionHow to Select All CheckBoxes while GridView paging is allowed? Pin
nature02769-Jun-08 8:12
nature02769-Jun-08 8:12 
AnswerRe: How to Select All CheckBoxes while GridView paging is allowed? Pin
Member 84594004-Dec-11 19:47
Member 84594004-Dec-11 19:47 
QuestionHashtable containing DataTables [modified] Pin
steven33119-Jun-08 8:08
steven33119-Jun-08 8:08 
QuestionHow to create an undo function in a picturebox?(Console Application,using windows form) [modified] Pin
MrAdar9-Jun-08 7:46
MrAdar9-Jun-08 7:46 
AnswerRe: How to create an undo function in a picturebox?(Console Application,using windows form) Pin
Pete O'Hanlon9-Jun-08 9:16
mvePete O'Hanlon9-Jun-08 9:16 
AnswerRe: How to create an undo function in a picturebox?(Console Application,using windows form) Pin
Edmundisme9-Jun-08 11:09
Edmundisme9-Jun-08 11:09 
AnswerRe: How to create an undo function in a picturebox?(Console Application,using windows form) Pin
Christian Graus9-Jun-08 13:22
protectorChristian Graus9-Jun-08 13:22 
QuestionC# TreeView Control: How to color the nodes from the parent node to the last selected child node Pin
nikhilkardale9-Jun-08 7:35
nikhilkardale9-Jun-08 7:35 
QuestionHow to get all the shares from a machine Pin
matt23lucier9-Jun-08 6:57
matt23lucier9-Jun-08 6:57 
AnswerRe: How to get all the shares from a machine Pin
Ravi Bhavnani9-Jun-08 7:09
professionalRavi Bhavnani9-Jun-08 7:09 
GeneralRe: How to get all the shares from a machine Pin
matt23lucier9-Jun-08 7:17
matt23lucier9-Jun-08 7:17 
GeneralRe: How to get all the shares from a machine Pin
matt23lucier9-Jun-08 7:58
matt23lucier9-Jun-08 7:58 
Questionmaking a white black smooth animation Pin
Sajjad Izadi9-Jun-08 6:39
Sajjad Izadi9-Jun-08 6:39 
AnswerRe: making a white black smooth animation Pin
Christian Graus9-Jun-08 6:40
protectorChristian Graus9-Jun-08 6:40 

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.