Setting label text in datalist control by clicking on radiobutton in same datalist

Dec 13 2009 3:20 AM
Hi, I am in trouble again :-p i have a datalist...in which is bound to some data from data source...each row of datalist contains product and each product contains different prices of diffrent manufacturers and a radio button jst for each price....now i want to select a particular price of the product and set it to the selected product label"lblfinalPrice" here is the page source code
S.No: <%# i++ %> Price to be quoted: - (Add This Product To Quote List)
Name:
Cat No:
Our Price:
Price: -
Price: -
Price: -
Other Price:
Specification:
i want to know the c#code for any radiobutton selecte for ex: protected void rbOurPrice_CheckedChanged(object sender, EventArgs e) { RadioButton oRb1 = (RadioButton)sender; val = getValue(oRb1.Text); // write code to set the label to the selected radio button price.... } thanks ....

Answers (1)