Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
Questiondataset sort and combine/consolidate Pin
jeweladdict21-Aug-06 8:52
jeweladdict21-Aug-06 8:52 
AnswerDatarow combining Pin
jeweladdict21-Aug-06 9:50
jeweladdict21-Aug-06 9:50 
AnswerRe: dataset sort and combine/consolidate Pin
Nader Elshehabi21-Aug-06 10:59
Nader Elshehabi21-Aug-06 10:59 
GeneralRe: dataset sort and combine/consolidate Pin
jeweladdict21-Aug-06 12:50
jeweladdict21-Aug-06 12:50 
GeneralRe: dataset sort and combine/consolidate Pin
Nader Elshehabi21-Aug-06 13:28
Nader Elshehabi21-Aug-06 13:28 
QuestionHow do I add Selected Cells Pin
kornstyle21-Aug-06 8:30
kornstyle21-Aug-06 8:30 
AnswerRe: How do I add Selected Cells Pin
Nader Elshehabi21-Aug-06 11:01
Nader Elshehabi21-Aug-06 11:01 
AnswerRe: How do I add Selected Cells Pin
Vitaliy Tsvayer21-Aug-06 12:09
Vitaliy Tsvayer21-Aug-06 12:09 
If I understand you right, you use DataGridView control with MultipleSelect set to true and when you select some cells you want to add numbers within them. To do that you can handle SelectionChanged event like below:

private void dataGridView1_SelectionChanged(object sender, EventArgs e)
{
  foreach (DataGridViewCell cell in dataGridView1.SelectedCells)
  {
    //NOTE: we should check whether value in cell is a numeric value
    //add values of cell
  }
}


BUT, be carefull to check whether selected cells has an integer value!

Vitaliy Tsvayer
Tikle

GeneralRe: How do I add Selected Cells Pin
kornstyle22-Aug-06 9:00
kornstyle22-Aug-06 9:00 
QuestionIs there any way i can make sure the length of a string is dicisable by 9? Pin
Anthony Mushrow21-Aug-06 8:24
professionalAnthony Mushrow21-Aug-06 8:24 
AnswerRe: Is there any way i can make sure the length of a string is dicisable by 9? [modified] Pin
Dave Kreskowiak21-Aug-06 8:31
mveDave Kreskowiak21-Aug-06 8:31 
GeneralRe: Is there any way i can make sure the length of a string is dicisable by 9? Pin
Anthony Mushrow21-Aug-06 9:01
professionalAnthony Mushrow21-Aug-06 9:01 
QuestionDLL and Web Service Problem Pin
Phoen2521-Aug-06 7:05
Phoen2521-Aug-06 7:05 
QuestionRe: DLL and Web Service Problem Pin
Vitaliy Tsvayer21-Aug-06 7:45
Vitaliy Tsvayer21-Aug-06 7:45 
AnswerRe: DLL and Web Service Problem Pin
Phoen2521-Aug-06 8:06
Phoen2521-Aug-06 8:06 
GeneralRe: DLL and Web Service Problem Pin
Phoen2521-Aug-06 10:10
Phoen2521-Aug-06 10:10 
GeneralRe: DLL and Web Service Problem Pin
Vitaliy Tsvayer21-Aug-06 10:58
Vitaliy Tsvayer21-Aug-06 10:58 
QuestionFonts - name/filepath Pin
Gomac21-Aug-06 6:34
Gomac21-Aug-06 6:34 
AnswerRe: Fonts - name/filepath Pin
stancrm21-Aug-06 6:51
stancrm21-Aug-06 6:51 
QuestionSplitContianer. How to customize splitter Pin
Bob_Tasa21-Aug-06 6:23
Bob_Tasa21-Aug-06 6:23 
QuestionDatagridView Custom Column Events Pin
Itanium21-Aug-06 6:19
Itanium21-Aug-06 6:19 
AnswerRe: DatagridView Custom Column Events Pin
Nader Elshehabi21-Aug-06 6:26
Nader Elshehabi21-Aug-06 6:26 
QuestionRegex to fix img tags Pin
Stephen Adam21-Aug-06 6:02
Stephen Adam21-Aug-06 6:02 
AnswerRe: Regex to fix img tags Pin
User 665821-Aug-06 6:33
User 665821-Aug-06 6:33 
GeneralRe: Regex to fix img tags Pin
Stephen Adam22-Aug-06 2:34
Stephen Adam22-Aug-06 2:34 

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.