Article

Beginning ASP.NET Using VB.NET - Chapter 14: ASP.NET Server Controls

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Next

4. Now hit the Edit link for the first row:

14_51_1.jpg

Notice how the row has changed -- instead of just text, we now have text boxes allowing us to edit the text. The links in the last column have also changed, now indicating we can either cancel the changes, or update the data with our changes.

5. Try making some changes to the text and hitting the Cancel button. Notice how the changes you typed in are ignored. Try the Edit link again, and this time the Update link -- the changes are now saved.

6. Now try the Add new event link:

14_52_1.jpg

Notice how an extra row has been added, with empty values for you to type in the new data. Try pressing Cancel, and you see that the empty row disappears. Add another row and this time press Update to save the changes.

14_53_1.jpg

If you liked this article, share the love:
Print-Friendly Version Suggest an Article

Sponsored Links