Posted on: 10/30/2013 3:19:18 AM | Views : 248

public partial class SurveyQuestions : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { foreach (DataListItem item in DataList1.Items) { TextBox TextBox1 = (TextBox)item.FindControl("TextBox1"); Label MCQ_TYPELabel = (Label)item.FindControl("MCQ_TYPELabel"); string mcq = MCQ_TYPELabel.Text; RadioButtonList ExcellentRb = (RadioButtonList)item.FindControl("ExcellentRb"); string excellent = ExcellentRb.Text; RadioButtonList YesNoRb = (RadioButtonList)item.FindControl("YesNoRb"); string yesno = YesNoRb.Text; Label RespnseCatIDLabel = (Label)item.FindControl("RespnseCatIDLabel"); string sqn = RespnseCatIDLabel.Text; if (RespnseCatIDLabel.Text == " ...

Go to the complete details ...