BindDataControls

Set DataSource for controls. For LookupGrids without Sql-Statement, the DataSource needs to be set programatically, and the method needs to be called every time a retrieve takes place;

protected override void BindDataControls()
{
    base.BindDataControls();
    
    Bind();
}
public virtual void Bind()
{
    lgKstGrp.DataSource = Sql.SelectTable("select id, suchwort from kst where typ = 70");
}

Last updated