4
Answers

how to search all fields in table using mvc

jothi kumar

jothi kumar

10y
1.2k
1
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)