N
needin4mation
I have a set of textboxes. If it is a new record the textboxes are
empty and there is a save button. If this is an existing record, I
have a search form, a datagrid and the user selects form the datagrid
and the same set of textboxes now populates for editing with an update
button.
I know I can set up a datalist or datagrid to do this "automatically,"
but I want two things. I want the search list to look like a datagrid,
that is the rows, datasheet look, and a nice form. I don't see a way
to have both of them except to do it the way described above.
It just feels wrong to do a select for my search results and then go to
a whole other page (or maybe the same page different panel) and bind
data back to a set of textboxes for data entry, when the various
controls will do that for me.
Any thoughts on this are appreciated. I am concerned I am still
thinking in classic asp terms. I cannot find any good examples on the
Internet other than what I have already described. Thank you.
empty and there is a save button. If this is an existing record, I
have a search form, a datagrid and the user selects form the datagrid
and the same set of textboxes now populates for editing with an update
button.
I know I can set up a datalist or datagrid to do this "automatically,"
but I want two things. I want the search list to look like a datagrid,
that is the rows, datasheet look, and a nice form. I don't see a way
to have both of them except to do it the way described above.
It just feels wrong to do a select for my search results and then go to
a whole other page (or maybe the same page different panel) and bind
data back to a set of textboxes for data entry, when the various
controls will do that for me.
Any thoughts on this are appreciated. I am concerned I am still
thinking in classic asp terms. I cannot find any good examples on the
Internet other than what I have already described. Thank you.