getting and setting data in a Formview

J

JLP188

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top