Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2008, 05:18 AM
Authorized User
 
Join Date: Jul 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Check box in Gridview

I want to use checkboxes in gridview. Should I use <asp:CheckBoxField> or <asp:CheckBox> inside <ItemTemplate> section. I want run insert query for all rows which are checked. Please help me with sample code!! I am using SqlDataSource for datasource

 
Old April 26th, 2008, 12:19 AM
Authorized User
 
Join Date: Jul 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please reply someone, I,am in urgent need. I am also using <asp:checkbox> to show data. The fields returned by the query are "groupid", "groupname" & status" which are number, string and boolean data type respectively. I can display the groupname by using Datafield="groupname" but facing problem to check a particular check box based on the status. please help!

 
Old April 27th, 2008, 11:53 PM
Authorized User
 
Join Date: Jul 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Am I clear with my query? please let me know.

 
Old April 29th, 2008, 11:44 PM
Authorized User
 
Join Date: Jul 2007
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was very shocked that no one came to help me. It was not a spam. Anyway my problem has been solved. Thankx everybody here!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
check box help? dstein4d Access VBA 2 February 27th, 2008 09:54 AM
Check BOx kaushikpulpa ASP.NET 2.0 Professional 2 August 30th, 2007 08:01 AM
how to use check box in wml forasad XML 2 December 9th, 2004 07:55 AM
please help (get check box value) qadeerahmad General .NET 3 September 24th, 2004 08:46 AM
how to get value from check box..... cici Classic ASP Professional 2 May 15th, 2004 08:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.