Solved

Double Click DataGridView

Posted on 2006-06-21
2
11,141 Views
Last Modified: 2012-06-27
How can I capture if a user double clicks a datagridview row?  I have select entire row on.
0
Comment
Question by:Rowdyone52
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 16956265
Try this:

  private void DataGridView1_CellMouseDoubleClick(object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e)
  {
     if (e.RowIndex >= 0 && e.ColumnIndex >=0)
        MessageBox.Show("Row double click");
  }

Bob
0
 
LVL 5

Expert Comment

by:t_itanium
ID: 16957946
you can use the double click event of the datagrid..
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connection String 16 54
send messages to whatsapp programatically 2 44
Hey!! 5 33
MediaHelp 4 21
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now