Editing a data row

D

David Thielen

Hi;

I have a table where the data in each row has several columns where
depending in if column A is 0 or 1, then they need to fill out columns A, B,
C, & D or X, Y, and Z.

And for A-D, they actually need to fill out B & C or D.

Can this be handled by DetailsView? If so, how (not specifically for my A-D
but is there a url that shows this)?
 
S

Steven Cheng[MSFT]

Hi Dave,

For your scenario, the data columns will have strong dependecy on one
another, we may need much customization on the EditTemplate. In my opinion,
use a single row specific DataBound control (like DetailsView, FormView) is
preferred. And IMO, FormView should be the most appropriate one since it
dosn't by default separate each data column's template by Field boundary.
You can design the Item and Edit Template for all the database columns in a
single Template, this will be very helpful if you'll add many customization
on the input fields for each column or add some dependent code logic on
them.

#FormView Web Server Control Overview
http://msdn2.microsoft.com/en-us/library(d=robot)/ms227992.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top