Help with Datagrid or something...

  • Thread starter Thread starter chuckdfoster
  • Start date Start date
C

chuckdfoster

I have an database with a list of deparments (tblDepts). I need a web page
that lists these departments with a textbox beside them for a score. I then
need the user to score each department and press submit which would put all
of these scores into a scores table (tblScores).

Can someone help me get started on this? I know that you can make a
datagrid have a blank textbox column, but I'm confused about how to get that
data into a different table.

Any help is GREATLY appreciated! Thanks in advance.
 
Can someone help me get started on this? I know that you can make a
datagrid have a blank textbox column, but I'm confused about how to
get that data into a different table.

When the user updates the data, you would iterate through each textbox and
update the table accordingly.

You can catch the event ItemCommand (if there is an update button beside
each column) or perhaps with PageIndexChanged (as the user flips through
each page) or a combination of both events.
 
How would you go about iterating through the textboxes in a datagrid? Can
you supply some sample code?
 
Back
Top