后台:
public ActionResult Index()
{
string s = "select substring(ftype,1,1) as ftype from acc_sum GROUP BY substring(ftype,1,1)";
ViewBag.DropDownList1DataSource = Cpmro.DBL.SqlHelper.getData(s);
return View();
//=================================================================
请问这里怎样可以触发DropDownList1_SelectedIndexChanged事件
还有EmptyText("请选择")没有显示出来。
//==================================================================