Thread: Filtering data
View Single Post
  #4 (permalink)  
Old June 6th, 2013, 06:26 AM
Erik Severiens Erik Severiens is offline
Authorized User
Points: 51, Level: 1
Points: 51, Level: 1 Points: 51, Level: 1 Points: 51, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2013
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Default Thanks for this prompt reply

Thanks Imar:

When you click Where you get the wizzard for selction: Your book options are:Control, Cookie, Form, Parameter, Profile, Querystring and Session.
My wizzard has Control, Cookie, form, Profile, Query, Session and Route

So I am missing Parameter, which in your book says: you typically set the value through code..... I would like to use RV in my Where SQLDatasource

protected void CBKleur_SelectedIndexChanged(object sender, EventArgs e)
{
Double RV = 0;
for (int i = 1; i < CBKleur.Items.Count; i++)
{
if (CBKleur.Items[i].Selected) { RV += Math.Pow(2, (i - 1)); }
}
}

I will read your other link now :-)

Regards
Erik
Reply With Quote