| Author: Digvijay Singh 27 Sep 2008 | Member Level: Bronze | Rating: Points: 1 |
Hi Index means int value,you can declare index as int,but no problem you can use this ddl_min.SelectedIndex = int.parse(index.Tostring();
|
| Author: puneet 27 Sep 2008 | Member Level: Bronze | Rating: Points: 1 |
ddl_min.SelectedIndex = index.ToString();
|
| Author: puneet 27 Sep 2008 | Member Level: Bronze | Rating: Points: 1 |
ddl_min.SelectedIndex = Convert.ToInt32(index); sorry for last wrong reply ! Consider it only !
|
| Author: Mithun 29 Sep 2008 | Member Level: Silver | Rating:  Points: 2 |
Wat is the datatype of 'index'. DropDownList.SelectedIndex is int property.
if 'index' is string then use Convert.ToInt32(index)
|