Welcome to AspAdvice Sign in | Join | Help

October 2008 - Posts

In GridView RowUpdating Event Handler, e.NewValues and e.OldValues are null

I use custom data objects to populate data controls. Typically, I'll create a factory object and factory method that returns a List<> collection of "ConcreteProducts". For example, RegistrationRuleFactory f = new RegistrationRuleFactory(connectionString);

GridView Delete With Confirmation

Recently I undertook the creation of a GridView control for which I wanted Edit, Delete, Update and Cancel buttons. There are a couple of out-of-the-box ASP.Net solutions for this problem. The first is to simply use the "AutoGenerate" attributes