drpcken
Posts: 60
|
Posted: 12/14/2004, 12:59 PM |
|
I'm adding some actions in my Before Build Update event. I want to check the status of a checkbox (checked / unchecked) and I'm writing my custom code in my dataprovider. Heres what I put:
If item.Billed.Checked = True then
end if
but when I build i get:
'Checked' is not a member of 'CBSWebportal.Data.IntegerField'.
What property do I use to check if its checked or not? Remember I'm writing custom code in my DataProvider Page.
Thanks!!
Kenny
|
|
|
Stan
|
Posted: 12/14/2004, 11:45 PM |
|
Kenny
You should use following code
If item.BilledCheckedValue.Equals(item.Billed.Value) then
end if
Stan
|
|
|
drpcken
Posts: 60
|
Posted: 12/15/2004, 7:42 AM |
|
awesome that worked for my dataprovider page perfectly. Not sure how but it does :)
What about in my vb code pages? How would I checked the checked value of that?
Thanks!
|
|
|
Stan
|
Posted: 12/16/2004, 2:06 AM |
|
In vb page you can just use <FormName><ControlName>.Checked syntax
Stan
|
|
|