CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Checking if checkbox is checked

Print topic Send  topic

Author Message
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
View profile  Send private message
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!
View profile  Send private message
Stan
Posted: 12/16/2004, 2:06 AM

In vb page you can just use <FormName><ControlName>.Checked syntax

Stan

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.