Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Double Click DataGridView

Posted on 2006-06-21
2
11,143 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Code works but it's slow 28 76
InputLanguage 1 33
Firing an ASP.NET event on selection of a JQuery datepicker 4 30
Winforms -- Capture CTRL+SHIFT+D at the form not working? 3 25
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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