Robert McLaws: FunWithCoding.NET

Public Shared Function BrainDump(ByVal dotNet As String) As [Value]

News

<script type="text/javascript"><!-- google_ad_client = "pub-4330602465258980"; google_hints = "ASP.NET, VB.NET, C#, C#.NET, WindowsForms, .NET Framework, VS2005, Visual Studio, XAML, WinFX, Windows Workflow, WPF, WCF, Atlas, NetFX3, Visual Studio Orcas"; google_ad_width = 120; google_ad_height = 240; google_ad_format = "120x240_as"; google_ad_type = "text_image"; google_ad_channel ="4997399242"; google_color_border = "B6C9E7"; google_color_bg = "EFEFEF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "002C99"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<!--
-->

You should feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever. That said, I will most likely only delete abusive, profane, rude, or annonymous comments, so keep it polite, please.

Blogroll

Cool .NET Articles

My .NET Tools

My Builder.com Articles

My MSKB Articles

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

Comments

TrackBack said:

: ShowUsYour-Blog!
# February 28, 2003 10:40 AM

TrackBack said:

Dewayne Mikkelson and his Radio WebDog, Shadow
# December 2, 2003 5:47 PM

TrackBack said:

Robert McLaws has posted his favorite posts from his first year of blogging. Now I can delete a few bookmarks since he was nice enough to collect them in one place for us; hopefully he'll be just as preductive in his second year.
# December 3, 2003 12:58 PM