CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Assign value to controls in editable grid

Print topic Send  topic

Author Message
Ron


Posts: 26
Posted: 10/13/2005, 6:08 PM

I'm trying to build a Time Sheet for entering hours worked each day for a specific week period. I have an editable grid which only has 7 rows, one for each day of the week.

How do I assign the 7 different dates (Sunday thru Saturday) to each of the rows before it's displayed?
View profile  Send private message
Edd


Posts: 547
Posted: 10/13/2005, 11:20 PM

Ron,
As you look at the generated page in the browser, you will notice that CCS numbers each row.

Therefore, firstly create your own record counter OUTSIDE any functions so it is a Global

The in the Before Show Row event, increment the Rownumber and populate the field(s) based upon the number 1= Sunday, etc.

Regards
Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Ron


Posts: 26
Posted: 10/14/2005, 11:14 AM

Freakin awesome! thanks Edd
View profile  Send private message
Prakash
Posted: 10/26/2005, 1:42 AM

:-/

How do assign the values which i get from database to html controls as we do with Server controls

eg textbox1.text = ds.tables(0).items("xyz")

similarly we can do with HTM COntrols does anybody have any idea

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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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