private void FillDataInGrid()
        {
            string PortalId = ddlPortalList.SelectedValue;
            int    isadmin  = Convert.ToInt32(Session["IsSuperUser"].ToString());

            if (PortalId != string.Empty)
            {
                TabController tab_obj = new TabController();
                dt = tab_obj.GetListByPortalId(PortalId, isadmin);

                if (dt.Rows.Count > 0)
                {
                    GridView1.DataSource = dt;
                    GridView1.DataBind();
                    //GridView1.HeaderRow.Attributes["style"] = "display:block";
                    //GridView1.UseAccessibleHeader = true;
                    //GridView1.HeaderRow.TableSection = TableRowSection.TableHeader;
                }
                else
                {
                    dt.Rows.Add(dt.NewRow());
                    GridView1.DataSource = dt;
                    GridView1.DataBind();

                    int TotalColumns = GridView1.Rows[0].Cells.Count;
                    GridView1.Rows[0].Cells.Clear();
                    GridView1.Rows[0].Cells.Add(new TableCell());
                    GridView1.Rows[0].Cells[0].ColumnSpan = TotalColumns;
                    GridView1.Rows[0].Cells[0].Text       = "No Record Found";
                }
            }
        }