DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   Dataview Rowfilter not working (http://www.daniweb.com/forums/thread160390.html)

sebastian3 Dec 2nd, 2008 5:05 am
Dataview Rowfilter not working
 
Hi everyone, hope ur all.
After a long time i m posting here.
M in a problem abt. dataview.rowfilter. Matter is i have to create datareader from dataset, thats ok. The dataset is being filled up,no probs. After that i m applying rowfilter which is not working :
            da.Fill(s);
            s.Tables[0].DefaultView.RowFilter = " user_id=1 ";
                       
            dr = s.Tables[0].CreateDataReader();

No error is thrown, but its not working. I feel thrs sum logical error.Can anyone make it out.

Thanks all.


All times are GMT -4. The time now is 4:01 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC