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 is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"? When you compiles a program using command line, u add th

Sorting 2 Arrays & Merging into 1 - C# Program Hello, i didn't find the correct way to implement Array in my project. I am beginner for this language.  Please suggest me some

Explain project life cycle. Figure: -Life cycle of a project There are 5 stages of any project initiating, planning, executing, controlling, & closeout. These are the

What are runtime services? Runtime services having of predefined and user-defined classes that are available to the workflow runtime engine during implementation to customize t

I need Windows Phone App (WP 8 and above) I am seeking an app developer/designer to develop me a Windows Phone app. This will be an app where users will post questions in the

Can you give an example of what might be best suited to place in the application_Start and Session_Start subroutines? Application Start - We can place code to initialize

What are the advantages of DLR? The various advantages provided by DLR are: Permits you to easily execute the dynamic languages to the .NET Framework. Gives dynamic featu

how do you do dot net programming

The Full form of CLR is Common Language Runtime and it is  the heart of the .NET framework. All Languages have its own runtime and its the responsibility of the runtime to take car

What are the different locks in SQL SERVER? Depending on the transaction level there are six types of lock that can be acquired on data :- 1)Intent: The intent lock des