Hi,
I am looking for the most efficient way to fill a combo box .
UnwindManufacturerCollection manf = new UnwindManufacturerCollection();
manf.GetMulti(null);
this.DataSource = manf;
this.DisplayMember = "ManuFacturerName";
this.ValueMember = "ManuFacturerId";
this.SelectedIndex = -1;
I was hoping to only ask the collection pull out of the database the following fields:
ManuFacturerId
ManuFacturerName
instead of the whole collection. Can this be done in LLBLGen Pro ?
My ideas were to make a database view in SQL server ? or create stored procedure myself.
But I was hoping there would be way to specify specific fields in the collection class to pull from . Is there a chance I can ? Or should be using Views or something complete different.
;-)
Any help would be cool ;-)
James