ASP.NET: Bulk Editing with DropDownList in DataGrid

Before getting to the point, allow me to bang my head against the wall one more time:

Me: I can do this in Ruby on Rails or I can do this in .NET.

Client: Which would you prefer?

Me: Thanks for asking! I personally prefer Rails. Development will take half the time, and will cost you half the money. Plus I think adding new features, as well as AJAX special effects, is much easier.

Client: Interesting idea. Let’s go with .NET.

That said, some of you other poor souls may have been wondering how to make a .NET control that:

  1. Lets you update multiple records of table A at once.
  2. For each row in A, allows selection using a DropDownList populated from table B.
  3. The DropDownList must display the existing selection for each record of table A.

There is a very good C# solution here. I have translated it into VB, so if anyone needs that, give a holler and I’ll post it.

This entry was posted in Technology. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted August 10, 2007 at 12:36 pm | Permalink

    I feel your pain (*cough* Java *cough*).

  2. m
    Posted August 10, 2007 at 1:29 pm | Permalink

    I don’t get it, I really don’t!

  3. Posted August 10, 2007 at 2:15 pm | Permalink

    wait… a client asks you what the best thing to do is, then tells you to do something else? No Way! That doesn’t sound like EVERY CLIENT I’VE EVER WORKED WITH!!!!

  4. gth
    Posted August 13, 2007 at 8:10 pm | Permalink

    please don’t bang too hard!! at least this type of banging. we don’t want to lose you!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>