// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
-// (C) 2004 Novell, Inc (http://www.novell.com)
+// (C) 2004-2010 Novell, Inc (http://www.novell.com)
//
//
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
-
using System.Collections.Specialized;
namespace System.Web.UI.WebControls
{
public class DetailsViewInsertedEventArgs : EventArgs
{
- private int rowsAffected;
- private Exception e;
- private bool exceptionHandled;
- private bool keepInsertedMode;
+ int rowsAffected;
+ Exception e;
+ bool exceptionHandled;
+ bool keepInsertedMode;
+ IOrderedDictionary values;
public DetailsViewInsertedEventArgs (int affectedRows, Exception e)
{
this.keepInsertedMode = false;
}
+ internal DetailsViewInsertedEventArgs (int affectedRows, Exception e, IOrderedDictionary values): this (affectedRows, e)
+ {
+ this.values = values;
+ }
+
public int AffectedRows {
get { return rowsAffected; }
}
public Exception Exception {
- get { return e };
+ get { return e; }
}
public bool ExceptionHandled {
}
public IOrderedDictionary Values {
- get { return new NotImplementedException(); }
+ get { return values; }
}
}
}
-#endif