protected void RadGrid1_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
        {
            if (e.CommandName == "UserInfo")
            {
                InfoMeeting.Visible      = false;
                InfoUser.Visible         = true;
                InfoClassDayTime.Visible = false;
                InfoRejectReason.Visible = false;

                string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
                Session["Id"]   = commandArgs[0];
                Session["Name"] = commandArgs[1];

                DataTable DT       = MPB.Get_Customers_Users_InCustomerClass_ByClassId(int.Parse(Session["Id"].ToString()));
                DataTable DTSource = new DataTable();

                DTSource.Columns.Add("ClassName", typeof(string));
                DTSource.Columns.Add("Name", typeof(string));
                DTSource.Columns.Add("Family", typeof(string));
                DTSource.Columns.Add("UserName", typeof(string));
                //DTSource.Columns.Add("Password", typeof(string));
                for (int i = 0; i < DT.Rows.Count; i++)
                {
                    DataRow row = DTSource.NewRow();
                    row["ClassName"] = Session["Name"].ToString();
                    row["Name"]      = DT.Rows[i]["Name"].ToString();
                    row["Family"]    = DT.Rows[i]["Family"].ToString();
                    row["UserName"]  = "******" + DT.Rows[i]["Id"].ToString();

                    //string Ncode = DT.Rows[i]["NationalCode"].ToString();
                    //if (Ncode == "" || Ncode.Length < 8)
                    //    row["Password"] = DT.Rows[i]["UserPass"].ToString();
                    //else
                    //    row["Password"] = DT.Rows[i]["NationalCode"].ToString();

                    DTSource.Rows.Add(row);
                }

                RadGrid3.DataSource = DTSource;
                RadGrid3.DataBind();
            }

            if (e.CommandName == "MeetingInfo")
            {
                InfoMeeting.Visible      = true;
                InfoUser.Visible         = false;
                InfoClassDayTime.Visible = false;
                InfoRejectReason.Visible = false;

                string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
                Session["Id"]   = commandArgs[0];
                Session["Name"] = commandArgs[1];

                DataTable DT       = MPB.Get_Customers_Meeting_ByClassId(int.Parse(Session["Id"].ToString()));
                DataTable DTSource = new DataTable();
                DTSource.Columns.Add("ClassName", typeof(string));
                DTSource.Columns.Add("MeetingLink", typeof(string));

                for (int i = 0; i < DT.Rows.Count; i++)
                {
                    DataRow row = DTSource.NewRow();
                    row["ClassName"] = Session["Name"].ToString();
                    //row["MeetingLink"] = "~/kadobe.iauec.ac.ir"+"/Meeting" + DT.Rows[i]["Id"].ToString();
                    row["MeetingLink"] = "http://kadobe.iauec.ac.ir/Meeting" + DT.Rows[i]["Id"].ToString();
                    DTSource.Rows.Add(row);
                }

                RadGrid2.DataSource = DTSource;
                RadGrid2.DataBind();
            }
            if (e.CommandName == "ClassDayTimeInfo")
            {
                InfoMeeting.Visible      = false;
                InfoUser.Visible         = false;
                InfoClassDayTime.Visible = true;
                InfoRejectReason.Visible = false;

                string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
                Session["Id"]   = commandArgs[0];
                Session["Name"] = commandArgs[1];

                DataTable DT       = MPB.Get_Customers_ClassDayTime_ByClassId(int.Parse(Session["Id"].ToString()));
                DataTable DTSource = new DataTable();
                DTSource.Columns.Add("ClassName", typeof(string));
                DTSource.Columns.Add("DayName", typeof(string));
                DTSource.Columns.Add("BEGIN_HOUR", typeof(string));
                DTSource.Columns.Add("END_HOUR", typeof(string));

                for (int i = 0; i < DT.Rows.Count; i++)
                {
                    DataRow row = DTSource.NewRow();
                    row["ClassName"]  = Session["Name"].ToString();
                    row["DayName"]    = DT.Rows[i]["DayName"].ToString();
                    row["BEGIN_HOUR"] = DT.Rows[i]["BEGIN_HOUR"].ToString();
                    row["END_HOUR"]   = DT.Rows[i]["END_HOUR"].ToString();
                    DTSource.Rows.Add(row);
                }

                RadGrid4.DataSource = DTSource;
                RadGrid4.DataBind();
            }
            if (e.CommandName == "RejectReason")
            {
                InfoMeeting.Visible      = false;
                InfoUser.Visible         = false;
                InfoClassDayTime.Visible = false;
                InfoRejectReason.Visible = true;
                string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
                Session["Id"]   = commandArgs[0];
                Session["Name"] = commandArgs[1];
                lbl_InfoRejectReason_ClassName.Text = "کلاس: " + Session["Name"].ToString() + " به دلایل زیر رد شده است";
                DataTable DTx = MPB.Get_Customers_ClassName_RejectReason(int.Parse(Session["Id"].ToString()));
                txt_Detail.Text = DTx.Rows[0]["Text"].ToString();
            }
        }