D
David
I'm pretty new at ASP.Net, and I have run into a problem. I have been tasked
to write an application, and it is supposed to mimic an existing form,
including layout, as closely as possible. A page contains information about
a single part, but there are lots of fields.
An asp:formview object seemed like an obvious choice, so I made one of
those. Then, since I had to specify layouts to match an existing form, I
needed a way to position the fields properly, so I used an asp:Table, along
with asp:TableRow and asp:TableCell objects. So far so
good....except....there's a bug and asp:Table objects don't end up updating
the database when you put them in an EditItemTemplate, so you can't really
use them in a FormView.
I have substited a plain old <table> object, with <tr> and <td> tags, and
that seems to work, but it isn't as easy to deal with as their <asp:>
equivalents.
Is there a more "standard" way of dealing with forms that take their data
from a single data row, and have to be formatted with particular layouts that
aren't based on a grid-like layout?
to write an application, and it is supposed to mimic an existing form,
including layout, as closely as possible. A page contains information about
a single part, but there are lots of fields.
An asp:formview object seemed like an obvious choice, so I made one of
those. Then, since I had to specify layouts to match an existing form, I
needed a way to position the fields properly, so I used an asp:Table, along
with asp:TableRow and asp:TableCell objects. So far so
good....except....there's a bug and asp:Table objects don't end up updating
the database when you put them in an EditItemTemplate, so you can't really
use them in a FormView.
I have substited a plain old <table> object, with <tr> and <td> tags, and
that seems to work, but it isn't as easy to deal with as their <asp:>
equivalents.
Is there a more "standard" way of dealing with forms that take their data
from a single data row, and have to be formatted with particular layouts that
aren't based on a grid-like layout?