Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   getting and setting data in a Formview (http://www.velocityreviews.com/forums/t780891-getting-and-setting-data-in-a-formview.html)

JLP188 01-05-2009 08:49 PM

getting and setting data in a Formview
 
Hi. I am new to ASP and C#. I am trying to do something really simple.
It seems like sometimes the simplest things are not in the help files.
(I come from a Powerbuilder background where setting and getting data
in a control is extremely simple.) I have a web form with a formview
control (InsertTemplate) and I want to change (set) some of the data
in the control just before it becomes visible on the page. I want to
make sure that the changed data gets saved when the control updates
the database. One of the data elements to set is in a dropdownlist and
others are labels. In Powerbuilder it would be done simply by syntax:
control.data[column,row] = value (setting ) or value = control.data
[column,row] (getting).

Any help is appreciated.



All times are GMT. The time now is 02:01 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57