Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get datatype from dataset and convert it into oledbdatatype Pin
Mycroft Holmes20-Jun-10 23:31
professionalMycroft Holmes20-Jun-10 23:31 
QuestionOperation did not succeed because the program cannot commit or quit a cell value change. Pin
jojoba201120-Jun-10 20:19
jojoba201120-Jun-10 20:19 
AnswerRe: Operation did not succeed because the program cannot commit or quit a cell value change. Pin
Peace ON20-Jun-10 23:03
Peace ON20-Jun-10 23:03 
QuestionRe: Operation did not succeed because the program cannot commit or quit a cell value change. Pin
jojoba201120-Jun-10 23:04
jojoba201120-Jun-10 23:04 
Question[WinForms] Zoom in/out UserControl/DesignSurface Pin
akamper20-Jun-10 20:13
akamper20-Jun-10 20:13 
AnswerRe: [WinForms] Zoom in/out UserControl/DesignSurface Pin
freakyit21-Jun-10 5:13
freakyit21-Jun-10 5:13 
GeneralRe: [WinForms] Zoom in/out UserControl/DesignSurface Pin
akamper22-Jun-10 3:37
akamper22-Jun-10 3:37 
Questionleave focus from datagridView Pin
jojoba201120-Jun-10 17:41
jojoba201120-Jun-10 17:41 
when i am in editmode in datagridview(datagridview.IsCurrentCellInEditMode=true)I want user to be able to press "Esc" button on keyboard and then I want datagridview.IsCurrentCellInEditMode=false and if the user press "Esc" for second time the datagridview leave focus and the txtName get the focus!

My datagridview has <<SelectionMode = FullRowSelected>>

I have this code in ProcessCmdKey :

protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
  KeyEventArgs key = new KeyEventArgs(keyData);
  if (key.KeyCode == Keys.Escape)
  {
    datagridview.EndEdit();
    txtName.Focus();
  }
}

So Please Help!
AnswerMessage Closed Pin
20-Jun-10 22:23
stancrm20-Jun-10 22:23 
QuestionRe: leave focus from datagridView Pin
jojoba201120-Jun-10 22:53
jojoba201120-Jun-10 22:53 
QuestionMini SlideShow! Pin
kienhv_8720-Jun-10 17:32
kienhv_8720-Jun-10 17:32 
AnswerRe: Mini SlideShow! Pin
Luc Pattyn20-Jun-10 17:56
sitebuilderLuc Pattyn20-Jun-10 17:56 
GeneralRe: Mini SlideShow! Pin
kienhv_8720-Jun-10 18:09
kienhv_8720-Jun-10 18:09 
GeneralRe: Mini SlideShow! Pin
Luc Pattyn20-Jun-10 18:19
sitebuilderLuc Pattyn20-Jun-10 18:19 
GeneralRe: Mini SlideShow! Pin
kienhv_8720-Jun-10 18:38
kienhv_8720-Jun-10 18:38 
GeneralRe: Mini SlideShow! Pin
Luc Pattyn21-Jun-10 2:34
sitebuilderLuc Pattyn21-Jun-10 2:34 
Questionparse some values in a .rtf file Pin
MYCSHA20-Jun-10 11:10
MYCSHA20-Jun-10 11:10 
AnswerRe: parse some values in a .rtf file Pin
Luc Pattyn20-Jun-10 11:17
sitebuilderLuc Pattyn20-Jun-10 11:17 
AnswerRe: parse some values in a .rtf file Pin
Luc Pattyn20-Jun-10 11:32
sitebuilderLuc Pattyn20-Jun-10 11:32 
QuestionClosing only the applications, not the windows processes Pin
teknolog12320-Jun-10 9:56
teknolog12320-Jun-10 9:56 
AnswerRe: Closing only the applications, not the windows processes Pin
Luc Pattyn20-Jun-10 10:03
sitebuilderLuc Pattyn20-Jun-10 10:03 
GeneralRe: Closing only the applications, not the windows processes Pin
teknolog12320-Jun-10 10:11
teknolog12320-Jun-10 10:11 
GeneralRe: Closing only the applications, not the windows processes Pin
Luc Pattyn20-Jun-10 10:17
sitebuilderLuc Pattyn20-Jun-10 10:17 
GeneralRe: Closing only the applications, not the windows processes Pin
teknolog12320-Jun-10 10:21
teknolog12320-Jun-10 10:21 
GeneralRe: Closing only the applications, not the windows processes Pin
Luc Pattyn20-Jun-10 10:29
sitebuilderLuc Pattyn20-Jun-10 10:29 

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.