Got my code working. All I had to do was this-->
public void PopulatePickerItems()
{
objdbh=new DBHandler();
this._pickerSource=new
PickerDataModelSource(objdbh.FetchFacility ());
}
and
this.PopulatePickerItems ();
this.Picker.Source=this._pickerSource;
this.Picker.Model=this._pickerSource;
PickerView being populated just as expected.
Case Closed.
Thanks again.
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Implementing-UIPickerView-with-data-from-Database-tp4655796p4655922.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch