HOMEWORK#3: due on 6th May 2009

advertisement
HOMEWORK#3: due on 6th May 2009
1. Using radio button to design a network voting system which has five candidates in
the form. The total number of votes increments one whenever you make a vote to
somebody .Note that you need to show the current total number of the votes in the
parenthesis after the name of candidates.
2. Modify those codes of Page 3-5( \Ch03\Table.aspx) in our textbook to make a 9*9
table showing as in table.bmp file.
3. Using SQL SERVER to create a data table called SCORE which has following
fields: NAME, STUDENT ID, CHINESE(3 credits),ENGLISH(3
credits),MATH(4 credits),AVERAGE,RANK. Assumed that we only have ten
student records. Write a program to compute AVERAGE field (of course, you
need to create some data for CHINESE, ENGLISH, MATH fields) and determine
its rank by sorting. Finally show all the data of the SCORE on the screen.
HINT: using sqldatasource as data source control item , GridView as data
control item and two Buttons, one for AVERAGE event and the other for RANK
event, as click control item to design your problem!!!
Download