Today, I have encountered a netizen asking the problem of DataGrid paging. It is obvious that this netizen is also an ASP. In fact, many friends who have just gated often because they encounter such small problems, spend a long time to solve, especially when there is no friend, I can discuss it, I understand this kind of mood, given this situation, I intend to post a page in a classmate record I wrote, this page mainly involves the DataGrid paging problem. I hope that our small rookie family will make progress together, and strive to be no dish soon, huh, huh.
Ok, gossip less, the following is the code:
Name td> | gender font> td> < TD> Home Phone font> td> | office phone font> td> | Mobile phone font> td> | residential address font> td> | company name font> TD> | Company address font> td> | position font> td> | Operation td> tr> <% do while not xif and size
| <% = rs ("name")%> font> td> <% = rs ("SEX")%> font> td> < TD> <% = rs ("home_tel")%> td> | <% = rs ("Company_TEL")% > font> td> | <% = rs ("Mobile")%> font> td> | <% = rs ("Home_address")%> td> | <% = = rs ("Company_NAME")%> font> td> < TD> <% = rs ("company_address")%> td> | <% = rs ("zhiwei")% > font> td> | Modify Font> td> | delete < / font> td> tr> <% = size 1LOOP%> font> table> center> div> |
|