Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ASP
Posted by: Mario Lopes
Added: Oct 8, 2018 4:24 PM
Views: 10
Faz primeiro item como select
  1. protected void DropDownList1_DataBound(object sender, EventArgs e)
  2.   {
  3.       DropDownList1.Items.Insert(0, new ListItem("--Selecione--", "0"));
  4.       DropDownList1.SelectedIndex = 0;
  5.   }