1) Display a text at its index in drop down list.
ddl_idtype.SelectedIndex = ddl_idtype.Items.IndexOf(ddl_idtype.Items.FindByText("String"));
ddl_idtype.SelectedIndex = ddl_idtype.Items.IndexOf(ddl_idtype.Items.FindByText("String"));
Setting column values as column names in the SQL query result Problem Statement : id col1 col2 1 Pending 30 1 Resolved 48 ...
No comments:
Post a Comment