.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

DataGridView Eventhandler C#.NET win app

Posted By: Sunil     Posted Date: October 04, 2008    Points:2   Category :Windows Application
hi,

i'm getting problem for using button control in Gridview,
I've add button control manually and i've double clicked on it then i get tdataGridView1_CellContentClick_1() event hendler, on this method we using update query, when we clicking any cell/column my code get executed.

but i want to execute only when i press this button control of datagridview ?

can u please suggest me which event handler i'll use thats i full fill my requirement

Responses
Author: Amit Mehra             
Posted Date: October 06, 2008     Points: 5   

Hi,
Refer this article this may be helpful to you

http://www.codeproject.com/KB/grid/DGV_ImageButtonCell.aspx

Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend