A
Andy
Hello,
I have a datagrid which contains DropDownList as follow:
<Columns>
<asp:TemplateColumn >
<ItemTemplate>
<aspropDownList id=ProductName
onSelectedIndexChanged=ProductName_IndexChange>....
Now, in the method ProductName_IndexChange I want to write codes to
handle when user select the dropdown list. Assume there are 10 rows in
my datagrid, how do I know which row the user select from? Is there a
property in datagrid that gives me the item index when an event
happens?
Thanks so much.
I have a datagrid which contains DropDownList as follow:
<Columns>
<asp:TemplateColumn >
<ItemTemplate>
<aspropDownList id=ProductName
onSelectedIndexChanged=ProductName_IndexChange>....
Now, in the method ProductName_IndexChange I want to write codes to
handle when user select the dropdown list. Assume there are 10 rows in
my datagrid, how do I know which row the user select from? Is there a
property in datagrid that gives me the item index when an event
happens?
Thanks so much.