示例#1
0
    protected void CourseDataMaterial_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        myframe.Visible = true;
        if (e.CommandName == "Select")
        {
            int rowIndex = Convert.ToInt32(e.CommandArgument);

            GridViewRow row = CourseDataMaterial.Rows[rowIndex];

            string country = row.Cells[2].Text;

            TakeAssessment.Visible = true;

            UserBO ob = new UserBO();
            ob.userid     = Session["User"].ToString();
            ob.coursecode = Session["CourseSelected"].ToString();
            clsBLL obj = new clsBLL();
            obj.onupdateQuantifierBLL(ob);

            myframe.Attributes.Add("src", country);
        }
    }