Beispiel #1
0
 protected void InitiateFunderList()
 {
     FunderList.DataSourceID   = "FunderDataSource";
     FunderList.DataTextField  = "fundername";
     FunderList.DataValueField = "funderid";
     FunderList.DataBind();
     FunderList.Items.Insert(0, "-Select Funder-");
 }
 protected void InitiateFunderList()
 {
     FunderList.DataSourceID   = "FunderDataSource";
     FunderList.DataTextField  = "fundername";
     FunderList.DataValueField = "funderid";
     FunderList.DataBind();
     FunderList.Items.Insert(0, "-Select Funder-");
     FunderDataSource.SelectCommand = "SELECT * FROM [funders] ORDER BY [fundername]";
     FunderDataSource.DataBind();
 }