2nd Article on Builder.com

My second in a series of attempts to bring some legitimacy to the .NET area of Builder.com is now online. This article discusses the subject of deleting data in an paging DataGrid. This is a fairly common task but one that has not yet been discussed elsewhere.

Maybe someone can answer for me the one question I could not get answered while writing the article:

When handling the delete postback, why do I have to set the PageIndex back 2 before I run the delete routine? The logical way to do it would be to run your delete routine, re-run your DataSource function, and re-bind the data. You would think that in a decoupled system like .NET that this method would work just fine. Unfortunately this is not the case, and caused me quite a bit of confusion.

Anyway, here is the article for your perusal. Be sure to check out the previous one linked in the first paragraph if you need to get up to speed.

http://builder.com.com/article.jhtml?id=u00220030217MCL01.htm&fromtm=e065

No Comments