if (list.options[i].selected) {
listval=list.options[i].value +"," + listval
}
if muliple items are slected then there is no issue but if only one item is selected i get i double times
did not get
code i have
select name as theName from tab;le1 where name='"+textbox1.text+"'"; ddlValues; ddlValues = cmd.ExecuteReader(); DropDownList1.DataSource = ddlValues; DropDownList1.DataValueField = "theName"; DropDownList1.DataTextField = "theName"; DropDownList1.DataBind(); cmd.Connection.Close(); cmd.Connection.Dispose();
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.