Help creating web form tied to SQL

  • Thread starter Thread starter hartbypass
  • Start date Start date
H

hartbypass

Trying to determine the best way to do this. I have a table that has
about 16 columns of free form text and one column that needs to be
updated by an enduser. Instead of trying to put the data in a
datagrid, I wanted to created something like an input form where the 16
columns were readyonly and the 17th was a text box that could be
updated.

I need a next and back type button to navigate the data. I am not sure
what the best way to approach this is. The old DataControl (i think
thats what it was called) in VB6 is kind of the gist of what I am
trying to do. Where you could tie the fields on the screen to
databasefields and do the movefirst, back, next, movelast type of
thing.

Any thoughts?
 
hartbypass said:
Trying to determine the best way to do this. I have a table that has
about 16 columns of free form text and one column that needs to be
updated by an enduser. Instead of trying to put the data in a
datagrid, I wanted to created something like an input form where the 16
columns were readyonly and the 17th was a text box that could be
updated.

I need a next and back type button to navigate the data. I am not sure
what the best way to approach this is. The old DataControl (i think
thats what it was called) in VB6 is kind of the gist of what I am
trying to do. Where you could tie the fields on the screen to
databasefields and do the movefirst, back, next, movelast type of
thing.

Any thoughts?


You were going in the write direction with the datagrid. You can easily
build an updateable datagrid that contains the textboxes with a button to
click that will submit the data back to the server. The datagrid control
has paging that has to be enabled to navigate back and forth between data.
You can customize the paging style with in the data grid.

Jeff
 
Thanks Jeff.

Would you have any kind of example in C# to demonstrate this? Even if
it only contains one text box and a submit button.

Greg
 
Back
Top