public List <string> FamerNameCodeArea(string Value, int TypeOfOperation) { List <string> list = new List <string>(); DataTable dt = Farmer_DL.FamerNameCodeArea(Value, TypeOfOperation); foreach (DataRow dr in dt.Rows) { list.Add(dr[0].ToString()); } return(list); }