Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Datagrid examples - Make all rows editable and Building an add section into your datagrid. - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

Datagrid examples - Make all rows editable and Building an add section into your datagrid.

I've been doing a lot of ASP.NET 1.1 work over the last couple of weeks and the key thing I have worked on is the datagrid/datalist/repeater controls.  First off, I want to say thanks to Scott Mitchell of 4guysfromrolla.com.  Scott has a great set of articles on the datagrid.  I've been using article 17 regarding how to make the datagrid editable.  It has been very instructive to me.  I don't have everything completed quite yet, but what he has in his article so far has been very helpful to me.

Another really helpful article is in the MSDN Help Files.  It is at ms-help://MS.MSDNQTR.2005APR.1033/dv_vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl.htm. The article is titled "Top Questions abotu the DataGrid Web Server Control."  There was one really good suggestion that I had not thought of when I started working with some of my datagrids.  I had started by building an add section separte from my datagrids.  There was a suggestion to create an add, merely put a "phony" record into the datasource before binding.  I have tried that and so far, it seems to be working very well.

Wally

Comments

Alex Lowe said:

You should pick up a copy of Scott's book 'ASP.NET Data Web Controls' because he goes into more detail on all of these topics. Great read. Oh, and I tech edited the whole book so I feel very biased, er qualified, to recommend it. =)
# March 17, 2005 1:54 PM

TrackBack said:

# March 24, 2005 9:01 AM

Weblog said:

I have a dropdownlist (aka drop down list) box within a repeater. When the index change event fires,...

# October 3, 2006 6:12 PM

... said:

..Rather helpful information you have here. Grazie!

# March 6, 2007 6:36 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)