473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How do I display a confirmation dialog when the user tries to delete a row? When the user selects a row in the DataGridView and hits the delete key

How do I display a confirmation dialog when the user tries to delete a
row? When the user selects a row in the DataGridView and hits the
delete key

Thanks,
Amit

Aug 8 '06 #1
1 1303
Handle the UserDeletingRow event...

"Amit" <am***************@gmail.comwrote in message
news:11*********************@b28g2000cwb.googlegro ups.com...
How do I display a confirmation dialog when the user tries to delete a
row? When the user selects a row in the DataGridView and hits the
delete key

Thanks,
Amit

Aug 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Amelyan | last post by:
What is the common way in ASP.NET C# to pop up a confirmation dialog box? E.g. Are you sure you want to delete this item? Yes No
0
by: Suzanne | last post by:
I'd like to know how can I put up a confirmation question when the user tries to delete a row in the datagrid by clicking on the row header and pressing the Delete key? I have found this code on...
1
by: Joey | last post by:
I am using a datagrid with a SELECT button to determine which record to delete. The code behind pulls the selected item's record number (via a hidden column) in the grid with...
2
by: steggun | last post by:
How To: Popup Confirmation Dialog & Redirect in LinkButton_OnClick Hello All, I have a ASP.NET 2.0 (C#) web form with a LinkButton control. In the server-side code for the LinkButton_OnClick...
0
by: Amil Hanish | last post by:
In VS 2003, when I would delete all breakpoints or bookmarks, there was no confirmation and it was quick and easy via shortcut keys. In VS 2005, it always pops up a confirmation dialog when I do...
3
by: pardesiya | last post by:
Hi Folks, I have an aspx webform with several controls and a 'Save' button to save product details. When the user clicks on the 'Save' button, my C# code behind connects to a Sybase database...
5
by: Tomislav | last post by:
Hello, I tried to use "javascript:return confirm();" function in following manner ( triggered by form onSubmit event ): ** <form method="post" action="mail.php" onSubmit="javascript:return...
1
by: ganesh22 | last post by:
Sir: My requirement is display the xml document in asp.net their user can add,update,delete.so based on my requirement i display the xmlfile in <iframe> control i want to edit and delete...
0
by: quangnd0003 | last post by:
I have a event to Cancel Delete of user : private void dataGridViewKV_UserDeletingRow(object sender, DataGridViewRowCancelEventArgs e) { string maKV =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.