Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello, I am developing a Web Part that filters a ListViewByQuery through the HTML form.
3 textbox;
5 listBox (multiple selections);

I wonder how I do to make the filter without doing CAML query?

C#
SPContext.Current.Web.Lists SPList list = ["Issues"];
MyCustomView.List = list;
string query = null;
 
SPQuery qry = new SPQuery (list.DefaultView);
qry.Query =?;
qry.RowLimit = 30;
MyCustomView.Query = qry;
Posted
Updated 28-May-13 9:36am
v2
Comments
David_Wimbley 28-May-13 18:33pm    
What does " I wonder how I do to make the filter without doing CAML query?" that mean?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900