It would be very handy to add to a couple of indexers to the CodeGridWeb class. With an indexer a programmer would be able to write code like grid1[3,4].Text = "Something"; Without an indexer we would have to write a function to access the cells and the programmer would have to write something like grid1.SetCellText(3,4,Text) which isn't as pretty. So, let's add an indexer to the CodeGridWeb class. To add an indexer to the sample code:
Tip
|