S
Stephan Steiner
Hi
I'm wondering what you'd suggest on how to implement the following scenario:
A table based date entry/editing having 5 columns. One is an SQL bound
dropdown, another one a simple text item dropdown, the third one a numerical
entry box with a limited number range, the 4th is a read only textfield
whose content is recalculated according to changes made in the first and
third column and each time the first or third column is being changed
(performing an additional query on the SQL Datasource and then making a
quick calculation), and finally a free form text entry field (just plain
text, no formatting).
I need to have the functionality to delete an existing line, as well as
adding one, and an option to fill the table with some default values (by
default that's three entries with the same item selected in the first
dropdown, a different one in the second dropdown and an entry in the
numerical entry textbox). In the end, all entries need to end up in an SQL
DB (just a single table).
I'm currently considering two approaches. One based on basically writing the
table out programmatically. Clearly not a pretty solution. The other would
be starting out with a GridView, but I see a lot of work coming may way as
well. If you suggest that option, are there any useful samples out there to
give me a head start (preferably for ASP.NET 2.0).
Regards
Stephan
I'm wondering what you'd suggest on how to implement the following scenario:
A table based date entry/editing having 5 columns. One is an SQL bound
dropdown, another one a simple text item dropdown, the third one a numerical
entry box with a limited number range, the 4th is a read only textfield
whose content is recalculated according to changes made in the first and
third column and each time the first or third column is being changed
(performing an additional query on the SQL Datasource and then making a
quick calculation), and finally a free form text entry field (just plain
text, no formatting).
I need to have the functionality to delete an existing line, as well as
adding one, and an option to fill the table with some default values (by
default that's three entries with the same item selected in the first
dropdown, a different one in the second dropdown and an entry in the
numerical entry textbox). In the end, all entries need to end up in an SQL
DB (just a single table).
I'm currently considering two approaches. One based on basically writing the
table out programmatically. Clearly not a pretty solution. The other would
be starting out with a GridView, but I see a lot of work coming may way as
well. If you suggest that option, are there any useful samples out there to
give me a head start (preferably for ASP.NET 2.0).
Regards
Stephan