Dataview Rowfilter not working

Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: May 2008
Posts: 43
Reputation: sebastian3 is an unknown quantity at this point 
Solved Threads: 1
sebastian3 sebastian3 is offline Offline
Light Poster

Dataview Rowfilter not working

 
0
  #1
Dec 2nd, 2008
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.
Last edited by sebastian3; Dec 2nd, 2008 at 5:06 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC