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
Question: (a) Give three key differences between the DetailsView and FormView controls. (b) The ASP.NET 2.0 Framework introduces the idea of validation groups. How Valida

What is a class? A class explains all the attributes of objects, as well as the methods that execute the behavior of member objects. It is a comprehensive data type, which show

What are the differences between AJAX and JavaScript? The differences among AJAX and JavaScript are given as follows: AJAX sends request to the server and does not wait for

What is the relation between Classes and Objects? The class & object look very much same but are not same. The Class is a definition, while object is a instance of the class cr

What is CTS and CLS? => CLS stands for common language specification where as CTS stands for common type system. => CLS : cls is a standard for .net . cls is small set of sp

What is the meaning of object pooling? Object pooling is a method of storing a pool (group) of objects in memory that can be reused later as needed. Whenever, a new object is n

Name the classes that are introduced in the System.Numerics namespace. The following two new classes are introduced in the System.Numerics namespace:  BigInteger - Refers

What is the main difference b/w MSML and .NET Framework XML classes? The MSXML supports XML DOM and SAX parsers while the .NET framework XML classes support XML DOM and XML rea

Project Description: I am seeking some automated trading software for the given strategy, I am using Omnesys Nest trader Step 1: Buy one share at current market price (ex: