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
Briefly explain how the server control validation controls work? A validation control works by evaluating the value of an input server control on the page to see whether it mee

Print Triangle in Reverse Pattern - C# Program Need the code of C# Program for Print Triangle in Reverse Pattern.

What is Reference counting in COM? The Reference counting is a memory management method used to count the number of times an object has a pointer referring to it. The very firs

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. Project Description: System is used for tracking company's activities through several projects by

What is the difference between DELETE TABLE and TRUNCATE TABLE commands? Following are differences between delete & truncate commands:- 1)The DELETE TABLE syntax logs the de

Project Description: I am seeking software that can do the subsequent: 1. Check position for a URL in Google, Bing, Yahoo. 2. Check position for a Youtube video in Youtube

What are the authentication methods in .NET? 1.Windows authentication 2.Forms authentication 3.Passport authentication 4.None/custom authentication

What are Assemblies? Assembly is a single deployable unit that have information about the implementation of classes, structures and interfaces. It also keeps the information ab

UDP Based, Data Transfer Server/ Client in .NET C# Project Description: We require the Network Level Functionalities (NLFs) of a Server/ Client for transferring data among tw

Why do we need static methods for Post Cache substitution? The ASP.NET should be able to call this static method even when there isn't an instance of your page class available.