Author: renatobessa | Posted on: 10/11/2010 6:14:57 PM | Views : 335

Hello everyone


Thank you for your time..


I´m trying to load one field from the table using Lambda


 public void Search()
        {
            ddlcity.DataSource = companiesBLL.Find(e => e.city.Equals(e.ID_COMPANY)).ToList();
            ddlcity.DataBind();
        }



ddlcity = dropdown
id_city = main Id (primarykey of that table)


but i want to only load the city field from the table Company.


I´d appreciate if anyone could help me.


=)

 public void Bairro()

Go to the complete details ...