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 -> .NET

 DataGrid

Print topic Send  topic

Author Message
Howzit
Posted: 04/16/2004, 2:18 AM

My problem:
When I use the updateable datagrid in CC the following happens.
When the user submit the form the whole dataset gets updated. (Every row
gets submitted to the database regardless if the data changed or not.) In
normal circumstances this would not bother me, but I have a field
"DateUpdated" which show the date and time the record was last updated. Now
because the whole grid gets updated this value change for all records.
Is there any other type of datagrid that i can use, or can I only update
rows that was actually edited?
I am using vb.net

Tony Do
Posted: 04/16/2004, 7:16 PM

How is the column DateUpdated change its values?
You might have that colunm changed its value by the triggers. If it is the
case then modify your trigger to only update that column if there is a
change in the update. It can be done by comparing the old and the new value
of each columns that you are updating


"Howzit" <hrbotha@absa.co.za> wrote in message
news:c5o8c6$u9d$1@news.codecharge.com...
> My problem:
> When I use the updateable datagrid in CC the following happens.
> When the user submit the form the whole dataset gets updated. (Every row
> gets submitted to the database regardless if the data changed or not.) In
> normal circumstances this would not bother me, but I have a field
> "DateUpdated" which show the date and time the record was last updated.
Now
> because the whole grid gets updated this value change for all records.
> Is there any other type of datagrid that i can use, or can I only update
> rows that was actually edited?
> I am using vb.net
>
>


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.

MS Access to Web

Convert MS Access to Web.
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.