svn path=/trunk/mcs/; revision=63151
+2006-07-30 Andrew Skiba <andrews@mainsoft.com>
+
+ * FormView.cs: init DataKeys and fix null reference.
+
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TreeView.cs: several changes to improve compatibility with MS.
int pageCount = 0;
public FormView ()
- {
+ {\r
+ key = new DataKey (new OrderedDictionary ());\r
}
public event EventHandler PageIndexChanged {
}
protected virtual void ExtractRowValues (IOrderedDictionary fieldValues, bool includeKeys)
- {
+ {\r
+ if (Row == null)\r
+ return;
+
DataControlRowState rowState = Row.RowState;
IBindableTemplate bt;