public struct SearchParams public string chk_Menswear_S get set Accept

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
public struct SearchParams
{
public string chk_Menswear_S { get; set; }
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult SearchWithParams(SearchParams searchParams)
{
if (ValueProvider.Count > 0)
{
ICollection<ValueProviderResult> values = ValueProvider.Values;
//Mscorlib_DictionaryValueCollectionDebugView<string,System.Web.Mvc.ValueProviderResult>
for (int i = 0; i < ValueProvider.Count; i++)
{
}
}
//for (int i = 0; i < Menswear.
//bool s = (bool)ViewData["Menswear_S"];
//string on = chk_Menswear_S;
return View();
}