getting and setting data in a Formview

Discussion in 'ASP .Net Web Controls' started by JLP188, Jan 5, 2009.

  1. JLP188

    JLP188 Guest

    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.
     
    JLP188, Jan 5, 2009
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.