Click here to Skip to main content
15,927,868 members
Home / Discussions / C#
   

C#

 
Questionmultiple dropdowns in propertygrid Pin
Tanuja1235-Dec-06 21:07
Tanuja1235-Dec-06 21:07 
QuestionAdd a user to a group Pin
quiteSmart5-Dec-06 20:09
quiteSmart5-Dec-06 20:09 
AnswerRe: Add a user to a group Pin
stancrm6-Dec-06 2:02
stancrm6-Dec-06 2:02 
QuestionWindows Service Pin
nidheeshkayal5-Dec-06 17:44
nidheeshkayal5-Dec-06 17:44 
QuestionSelecting a datagrid row for updation Pin
Deepasubramanian5-Dec-06 16:29
Deepasubramanian5-Dec-06 16:29 
QuestionTricky C# questions... Pin
swjam5-Dec-06 14:57
swjam5-Dec-06 14:57 
AnswerRe: Tricky C# questions... Pin
Not Active5-Dec-06 15:13
mentorNot Active5-Dec-06 15:13 
AnswerRe: Tricky C# questions... Pin
V.5-Dec-06 22:09
professionalV.5-Dec-06 22:09 
j11Software wrote:
I would like to programmatically sort the rows according to the 3rd column

You can do this by clicking the column header of your datagrid. Then you have to synchronize your dataset with the datagrid (this was the case 1.0, 1.1) I know there's a way by using key-pairs or something like that, but you could also cast the datagrid-view to a DataTable and work from there.

For average you'll have to do that manually I think. A count is dataset.Tables[0].Rows.Count;

Hope this helps
Good luck Smile | :)



QuestionBinding DataGridView to a DataTable - skipping binding some of the columns in the DataTable Pin
Athadu5-Dec-06 14:38
Athadu5-Dec-06 14:38 
QuestionActionscript & C# Pin
Revant Jain5-Dec-06 13:34
Revant Jain5-Dec-06 13:34 
AnswerRe: Actionscript & C# Pin
Vasudevan Deepak Kumar6-Dec-06 0:56
Vasudevan Deepak Kumar6-Dec-06 0:56 
QuestionInserting ListItem controls inside DropDownList controls contained in a Datalist control Pin
tedhill135-Dec-06 12:43
tedhill135-Dec-06 12:43 
Questionsql server 2005 ConnectionString. Pin
hdv2125-Dec-06 11:30
hdv2125-Dec-06 11:30 
AnswerRe: sql server 2005 ConnectionString. Pin
Guffa5-Dec-06 13:31
Guffa5-Dec-06 13:31 
AnswerRe: sql server 2005 ConnectionString. Pin
ednrgc6-Dec-06 7:06
ednrgc6-Dec-06 7:06 
QuestionRichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
Anthony Queen5-Dec-06 11:23
Anthony Queen5-Dec-06 11:23 
GeneralRe: RichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
Anthony Queen6-Dec-06 5:48
Anthony Queen6-Dec-06 5:48 
GeneralRe: RichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
ednrgc6-Dec-06 7:13
ednrgc6-Dec-06 7:13 
GeneralRe: RichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
Anthony Queen7-Dec-06 4:07
Anthony Queen7-Dec-06 4:07 
QuestionListview owner draw question Pin
BudWhite5-Dec-06 9:44
BudWhite5-Dec-06 9:44 
Questionimage drag and drop problem Pin
Kim06185-Dec-06 7:53
Kim06185-Dec-06 7:53 
AnswerRe: image drag and drop problem Pin
Eric Dahlvang5-Dec-06 9:19
Eric Dahlvang5-Dec-06 9:19 
GeneralRe: image drag and drop problem Pin
Kim06186-Dec-06 1:50
Kim06186-Dec-06 1:50 
GeneralRe: image drag and drop problem Pin
Eric Dahlvang6-Dec-06 3:34
Eric Dahlvang6-Dec-06 3:34 
QuestionSqlBulkCopy performance Pin
Jamie Nordmeyer5-Dec-06 7:53
Jamie Nordmeyer5-Dec-06 7:53 

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.