Objectdatasource onupdating gridview


09-Aug-2017 12:39

However if the class User has a property which is not a string, for example a custom type Address which contains properties such as Street Address, City, County, Country etc how do i bind to those properties on the same form view? Street Address") but this just raises a compile error? However if the class User has a property which is not a string, for example a custom type Address which contains properties such as Street Address, City, County, Country etc how do i bind to those properties on the same form view? Street Address") but this just raises a compile error?

User contains various properties which i have been able to bind to successfully using wizards and the form view. User contains various properties which i have been able to bind to successfully using wizards and the form view.

So you if go for Eval, you will end up handling Form View's events to set insertparameters or updateparanmeters manually.

-- Milosz "Ash" wrote: I have an object, for example User.

But - unlike the Grid View - it provides you with over the html markup generated.

Unfortunatelly, Eval() can only be used to evaluate expression when data is bound (one way), and not to read changed value back. Unfortunatelly, Eval() can only be used to evaluate expression when data is bound (one way), and not to read changed value back.

set a property of object-type property as you presented), but Eval() does. set a property of object-type property as you presented), but Eval() does.

Thanks "Milosz Skalecki [MCAD]" wrote: Hi thanks for the information, What about a Grid View i have it displaying objects but if one of the properties is an object itself of which i need a property of how would i access that?

for example below i Billing Type is an object but I need to access a property of that object?The HTML markup output from the server will be 100% CSS based (no tables or inline styles).



Reporters examined both state-run juvenile detention centers, essentially jails for kids ages 13 to 18 who are accused of crimes, as well as the state’s residential “programs,” prison-like institutions where they are sent by judges to serve sentences and receive treatment.… continue reading »


Read more