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
PhotoHandler add-on to display file names Project Description: I want a website with a photo gallery using PhotoHandler. I need the code added/ modified to display the image

How to get Herarichal Data in Treeview control from sql server database in asp.net , can you provide the source code .

Project Description: i want to prepare a pollution checking software.. i have a demo of it.. Exactly someone to be created ..some changes to be included.. sms gateway t

What is the difference amonga system workflow and a human workflow? A system workflow is a workflow that is developed to automate interactions between applications. Such workfl

Question: (a) Explain the Postback process as use with Web Forms. (b) Write extract codes to demonstrate how to store and retrieve values in: (i) a Session Object (ii)

What is a LinqDataSource control? The LinqDataSource control enables you to use LINQ. In an ASP.NET Web page by setting the properties in the markup text. You can use the contr

First let me start by saying that I have been writing code for almost 25 years. So I am only looking for someone to assist advance a project I am working on. Someone that is unders

Explain Interface? An interface is not a class. It is an entity that is explained by the word Interface. An interface has no implementation; it only has the signature or in oth

What is shadowing? When 2 elements in a program have similar name, one of them can hide and shadow the one. Therefore in such cases the element which shadowed the main element

What are LINQ query expressions? A LINQ query, also known as a query expression, having of a combination of query clauses that identify the data sources for the query. It conta