[Mono-bugs] [Bug 74804][Nor] Changed - Datagrid error when bound to a IDataReader that is empty select result

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 9 May 2005 20:04:41 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by cmorgan@alum.wpi.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=74804

--- shadow/74804	2005-05-09 19:51:27.000000000 -0400
+++ shadow/74804.tmp.9636	2005-05-09 20:04:41.000000000 -0400
@@ -46,6 +46,45 @@
 Shouldn't the datagrid should be populated with no rows but with the
 columns of the return set?
 
 ------- Additional Comments From cmorgan@alum.wpi.edu  2005-05-09 19:51 -------
 Using mono 1.1.7, xsp 1.0.9, mod_mono 1.0.9, compiled with .net 2.0
 preview enabled and using Npgsql sql provider.
+
+------- Additional Comments From cmorgan@alum.wpi.edu  2005-05-09 20:04 -------
+Stack trace:
+
+System.Web.HttpException: DataGrid_NoAutoGenColumns: partsGrid
+in 0x0068a;
+System.Web.UI.WebControls.DataGrid:AutoCreateColumns
+(System.Web.UI.WebControls.PagedDataSource source)
+in 0x00113
+System.Web.UI.WebControls.DataGrid:CreateColumnSet
+(System.Web.UI.WebControls.PagedDataSource source, Boolean useDataSource)
+in 0x003cc
+System.Web.UI.WebControls.DataGrid:CreateControlHierarchy (Boolean
+useDataSource)
+in 0x0003f
+System.Web.UI.WebControls.BaseDataList:OnDataBinding (System.EventArgs e)
+in 0x00023 System.Web.UI.WebControls.BaseDataList:DataBind ()
+in 0x00082 apm.PartBrowser:BindGrid ()
+in 0x0001d apm.PartBrowser:Page_Load (System.Object sender,
+System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs)
+in 0x00056 System.Web.UI.Control:OnLoad (System.EventArgs e)
+in 0x00026 System.Web.UI.Control:LoadRecursive ()
+in 0x00083 System.Web.UI.Control:LoadRecursive ()
+in 0x00083 System.Web.UI.Control:LoadRecursive ()
+in 0x00083 System.Web.UI.Control:LoadRecursive ()
+in 0x00083 System.Web.UI.Control:LoadRecursive ()
+in 0x00083 System.Web.UI.Control:LoadRecursive ()
+in 0x00083 System.Web.UI.Control:LoadRecursive ()
+in 0x00083 System.Web.UI.Control:LoadRecursive ()
+in 0x0020c System.Web.UI.Page:InternalProcessRequest ()
+in 0x000a6 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext
+context)
+in 0x00233 System.Web.HttpApplication+ExecuteHandlerState:Execute ()
+in 0x0007c System.Web.HttpApplication+StateMachine:ExecuteState
+(IStateHandler state, System.Boolean readysync)
+-->