Use a checkbox in a datagrid, DOT NET Programming

How to use a checkbox in a datagrid?

The steps to be done are as follows:-

1)    In the ASPX page you have to add Itemtemplate tag in datagrid.

2) If you view at the Itemtemplate we have the "OnCheckChanged" event. This "OnCheckChanged" event has "Check_Clicked" subroutine is actually in the behind code. Note this process which is in behind code should either be

"Protected" or "public"

The subroutine which defines the method are as shown below:

 Protected Sub Check_Clicked(ByVal sender As Object, ByVal e As EventArgs)

' do something

End Sub

Posted Date: 9/22/2012 6:37:49 AM | Location : United States







Related Discussions:- Use a checkbox in a datagrid, Assignment Help, Ask Question on Use a checkbox in a datagrid, Get Answer, Expert's Help, Use a checkbox in a datagrid Discussions

Write discussion on Use a checkbox in a datagrid
Your posts are moderated
Related Questions
What are the criteria necessary for an effective and efficient network? a. Performance It can be measured in several ways, including transmit time and response time. b

The Cache object is always defined in the System.Web.Caching namespace. You can get the reference to the Cache object by either using the Cache property of the HttpContext class in

recipe house Project Description: Web application with sql database Skills required are .NET, C# Programming, HTML, PHP, SQL

Converting temperature from Fahrenheit to Celsius - Program C# I am facing some problems in the code for Converting temperature from Fahrenheit to Celsius. Can anybody suggest

How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method? To Call the Dispose method in the Finalize method and in the Dispose

What is a Web Service? The Web Services are the business logic components which provide the functionality via the Internet using standard protocols like HTTP. The Web Servic

What is UDDI? The Full form of the UDDI is Universal Description, Discovery and Integration. The directory that can be used to publish and discover public Web Services. If you

Project Description: Take a CSV of Canadian street addresses. For every address, translate the address into a GPS coordinate. Use the GPS coordinate to test whether or not the a

Program of Declaring a function - C# Program Program of Declaring a function, I am looking for a program in C#. It would be great if anyone help me learn function in C# langua

What is pareto principle? The Pareto principle also paraphrased as 80/20 principle is simple effective problem tackling way in the management. It says that 20% of your problems