PDA

View Full Version : بایند(bind) کردن یک کنترل



حامد فراست
دوشنبه 29 شهریور 1389, 23:04 عصر
با سلام
چطوری میشه DropDownList را به یک آرایه درون برنامهBind کرد

Ali_M.Eghbaldar
دوشنبه 29 شهریور 1389, 23:44 عصر
سلام


Dim str(3) As String
str(0) = "AS"
str(1) = "213"
str(2) = "21321"
str(3) = "Asd234"
DropDownList1.DataSource = str
DropDownList1.DataBind()