protected void BindTemplateType() { WsSystem ws = new WsSystem(); TextValueInfo[] vts = ws.ListBindTemplateType(); for (var i = 0; i < vts.Length; i++) { DropDownList1.Items.Add(new ListItem(vts[i].Text, vts[i].Value)); } }