Thursday, 5 May 2016

Drop Down list operations

1) Display a text at its index in drop down list.
ddl_idtype.SelectedIndex = ddl_idtype.Items.IndexOf(ddl_idtype.Items.FindByText("String"));

No comments:

Post a Comment

SQL Table : Change Row As Column and Group Them... ( Setting column values as column names in the SQL query result )

Setting column values as column names in the SQL query result Problem Statement : id col1 col2 1 Pending 30 1 Resolved 48 ...