p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   General .NET (http://p2p.wrox.com/forumdisplay.php?f=122)
-   -   Index Out of range exception (http://p2p.wrox.com/showthread.php?t=10793)

PbsiGuru March 20th, 2004 03:18 PM

Index Out of range exception
 
Hi all,
I am trying to bind filtered rows of a data table to grid but ended up with index out of range exception error.
The reason i am filtering the rows is, I need to sort the table on first column and display it in the grid.
This is working when Filtering is not done, but not sorted based on first column values.

The sort expression I have given is name of the first column of the data table for which the exception occured.
any help will be appreciated.




bmains March 20th, 2004 09:11 PM

How are you filtering rows? With a DataView? Are you filtering out certain columns?

PbsiGuru March 21st, 2004 01:08 PM

With data view.selecting all the columns.

Quote:

quote:Originally posted by bmains
 How are you filtering rows? With a DataView? Are you filtering out certain columns?

bmains March 22nd, 2004 11:04 AM

Not sure why you are getting index out of range exception... Could you post relevant code?


All times are GMT -4. The time now is 12:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.