CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.getting_started Tags:
Item Type: Date Entered: 8/12/2005 9:37:36 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 18 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"maspr" <>
NewsGroup User
Binding to a Checkbox in a DataGrid8/12/2005 9:37:36 PM

0

I have a DataGrid which is being bound in my codebehind page from the database. The first column is a TemplateColumn with a CheckBox. Is it possible to set the checked property from my codebehind based on whether a string column is null or not?

Thanks
"FrankWhite" <>
NewsGroup User
Re: Binding to a Checkbox in a DataGrid8/13/2005 1:36:00 AM

0

I believe you want to check the OnItemDataBound event of the datagrid.  In that event, you would check the value of your checkboxes, and then set them as you need.  Just give "OnItemDataBound Checkboxes" a google.
"I would love to change the world, but they won't give me the source code." -unknown
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













error creating control, object reference not set to an instance of an object

visual studio 2005 charting

new vs.net release to correspond w/ beta 2?

debugging website in a solution with many websites starts many web server instances

web deployment project issues

"go to definition" with mixed languages

visual studio config: how do i set code styles?

hyperlinks in flash file

closing vs / source control error

problem with mail merge in vsto word project

creating textbox at runtime

how does vs.net 2005 perform remote debugging?

development environment help

re:display the status of the event receiving from the ocx in asp:textbox

how to write a custom site map provider

debug doesn't work?

visual studio & css files

vwd vs. vs 2005

visual studio 2005 hangs

please help: error "no visual studio template information found"

having difficulty editing an asp.net app on my windows vista machine

compiler taking forever!

generate a random word

laptop for vs 2005?

dll.refresh fetches correct dll during build, then overwrites with an old version after build

how send flash file from asp.net to flash

integrating nunit in visual studio 2005?

changing from source to design always reloads all images from the web

visual studio 2005 problem

bin directory and dll missing

web application projects - problems with page.title

i have a problem in design mode

how to get asp.net templates in my vs2005

how to create a bookmark in the code?

changing default browser in vs 2005

visual source control integration with source control (beta 2)

partial classes great but how do i use my own page class?

all data objects disappear ? where?

i can not open asp.net project from office to work at home

how does vs determine file status in copy web?

empty toolbox

unit testing in asp.net

vs 2005 interpreter

regarding error occured while trying to open toolbox

validation (xhtml 1.1) : attribute 'align' is not a valid attribute of element 'p'

file uploading

ide reformatting html switching from source to design and back

msdn where!!

why the files in "c:\documents and settings\fujun\application data\microsoft\visualstudio\8.0\reflectedschemas" takes too much disk spaces?

unable to write to output file 'blah.pdb': system error &h80004005&

   
  Privacy | Contact Us
All Times Are GMT