jothi kumar

jothi kumar

  • 1.3k
  • 107
  • 56.3k

how to search all fields in table using mvc

Jul 25 2014 5:34 AM
hi to all,
Here i'm searching one fields to retrieve relevant records But now i want to search all fields in my tables..
 

DESCRIPTION:
 
In my module i'm searching only contactperson name to retrieve relevant record but now i want to search all fields like name,Contactname,country,state,city all fields
 

Here i using this code for searching one fields:
 
@Html.TextBox("Branch_Name", ViewBag.branch_NameFilter as string, new { @class = "form-control control-text" })                           @Html.ValidationMessageFor(model => model[0].Branch_Name)
 

i use this code for searching single field.

Answers (4)