|
Hi , I am usingDataGridView of window control and to load data in DtaGridViewusing thread in Page Load. Also usingthread.sleep(50000) time to loaddata. It isopened in first time but after some time It return 'Object reference not set an instance of an object' ' and some x big image in DataGridView. Details error are as , at System.Windows.Forms.DataGridViewBand.GetHeightInfo(Int32 rowIndex, Int32& height, Int32& minimumHeight) at System.Windows.Forms.DataGridView.PaintRows(Graphics g, Rectangle boundingRect, Rectangle clipRect, Boolean singleHorizontalBorderAdded) at System.Windows.Forms.DataGridView.PaintGrid(Graphics g, Rectangle gridBounds, Rectangle clipRect, Boolean singleVerticalBorderAdded, Boolean singleHorizontalBorderAdded) at System.Windows.Forms.DataGridView.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.DataGridView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Can any one please help me to resolved this issue or is this error with DataGridView Control ??
Thanks & regards , Nawnit - Changed TypeAland LiMSFT, ModeratorTuesday, September 15, 2009 2:39 AMNo reply
-
|