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

C#

 
AnswerRe: CheckBox ListView Multiple Selection Problem c# Pin
DaveyM699-Jul-11 0:53
professionalDaveyM699-Jul-11 0:53 
GeneralRe: CheckBox ListView Multiple Selection Problem c# Pin
varunpandeyengg10-Jul-11 21:18
varunpandeyengg10-Jul-11 21:18 
AnswerRe: CheckBox ListView Multiple Selection Problem c# Pin
varunpandeyengg11-Jul-11 1:00
varunpandeyengg11-Jul-11 1:00 
QuestionData in the gridview cell should get select Pin
NarVish8-Jul-11 0:54
NarVish8-Jul-11 0:54 
AnswerMessage Removed Pin
8-Jul-11 3:07
0bx8-Jul-11 3:07 
GeneralRe: Data in the gridview cell should get select Pin
Not Active8-Jul-11 3:35
mentorNot Active8-Jul-11 3:35 
AnswerRe: Data in the gridview cell should get select Pin
Rhys Gravell8-Jul-11 3:24
professionalRhys Gravell8-Jul-11 3:24 
AnswerRe: Data in the gridview cell should get select Pin
Carmelo La Monica8-Jul-11 6:18
professionalCarmelo La Monica8-Jul-11 6:18 
Hello,

you can try handling the events or CellClick CellContentClick and manage your DataGridView EditMode property as follows.

private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     dataGridView1.EditMode = DataGridViewEditMode.EditProgrammatically;
     dataGridView1.BeginEdit(true);
 }

 private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     dataGridView1.EditMode = DataGridViewEditMode.EditProgrammatically;
     dataGridView1.BeginEdit(true);
 }



Then you have to manage one of these two events, the one that best suits your needs.

Bye
Carmelo La Monica

QuestionProblem wirh Response.End() while exporting Datatable results to Excel file. Pin
madhubabu7-Jul-11 7:52
madhubabu7-Jul-11 7:52 
AnswerRe: Problem wirh Response.End() while exporting Datatable results to Excel file. Pin
Not Active7-Jul-11 8:54
mentorNot Active7-Jul-11 8:54 
AnswerRe: Problem wirh Response.End() while exporting Datatable results to Excel file. Pin
Pete O'Hanlon7-Jul-11 23:01
mvePete O'Hanlon7-Jul-11 23:01 
QuestionHow connect to DB from c# Pin
DreadBoy57-Jul-11 6:42
DreadBoy57-Jul-11 6:42 
AnswerRe: How connect to DB from c# Pin
Eddy Vluggen7-Jul-11 6:46
professionalEddy Vluggen7-Jul-11 6:46 
AnswerRe: How connect to DB from c# Pin
Abhinav S7-Jul-11 7:35
Abhinav S7-Jul-11 7:35 
AnswerRe: How connect to DB from c# Pin
PIEBALDconsult7-Jul-11 14:33
mvePIEBALDconsult7-Jul-11 14:33 
AnswerRe: How connect to DB from c# Pin
dbongs7-Jul-11 20:54
dbongs7-Jul-11 20:54 
AnswerRe: How connect to DB from c# Pin
RaviRanjanKr10-Jul-11 10:57
professionalRaviRanjanKr10-Jul-11 10:57 
QuestionConversion of varchar datatype to a datetime resultant in an out renge value- Sql Server 2008 - Update Pin
Paramu19737-Jul-11 2:15
Paramu19737-Jul-11 2:15 
AnswerRe: Conversion of varchar datatype to a datetime resultant in an out renge value- Sql Server 2008 - Update Pin
Not Active7-Jul-11 2:35
mentorNot Active7-Jul-11 2:35 
AnswerRe: Conversion of varchar datatype to a datetime resultant in an out renge value- Sql Server 2008 - Update Pin
Richard MacCutchan7-Jul-11 2:37
mveRichard MacCutchan7-Jul-11 2:37 
AnswerRe: Conversion of varchar datatype to a datetime resultant in an out renge value- Sql Server 2008 - Update[modified] Pin
Dan Mos7-Jul-11 2:38
Dan Mos7-Jul-11 2:38 
AnswerRe: Conversion of varchar datatype to a datetime resultant in an out renge value- Sql Server 2008 - Update Pin
dasblinkenlight7-Jul-11 2:40
dasblinkenlight7-Jul-11 2:40 
AnswerRe: Conversion of varchar datatype to a datetime resultant in an out renge value- Sql Server 2008 - Update Pin
PIEBALDconsult7-Jul-11 2:58
mvePIEBALDconsult7-Jul-11 2:58 
AnswerRe: Conversion of varchar datatype to a datetime resultant in an out renge value- Sql Server 2008 - Update Pin
#realJSOP7-Jul-11 3:08
mve#realJSOP7-Jul-11 3:08 
QuestionHow to create list of ALL file associations(friendly application names & executables) for file type Pin
JViljoen6-Jul-11 23:20
JViljoen6-Jul-11 23:20 

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.