protected void ddltheatre_SelectedIndexChanged(object sender, EventArgs e)
    {
        try
        {
            DataTable Dt = TheatresLogicLayer.GetAllIDWiseTheatresDetials(ddltheatre.SelectedValue.ToString());

            if (Dt.Rows.Count > 0)
            {
                //ddltheatre.DataSource = Dt;
                //ddltheatre.DataTextField = "TheatresName";
                //ddltheatre.DataValueField = "TheatresNameId";
                //ddltheatre.DataBind();
                StMap.Attributes.Add("src", Dt.Rows[0]["LocDetail"].ToString());
                //StMap.InnerHtml = "";
            }
        }
        catch (Exception)
        {
        }
    }
    protected void GridView_RowUpdating(object sender, GridViewUpdateEventArgs e)
    {
        GridViewRow row = (GridViewRow)GridView1.Rows[e.RowIndex];
        HiddenField hfCampaignIdDeleted = (HiddenField)row.FindControl("hfMobileBrandId");

        string s = hfCampaignIdDeleted.Value;

        try
        {
            DataTable CamaignDetail = TheatresLogicLayer.GetAllIDWiseTheatresDetials(s);
            hfMobileBrandId1.Value = s;
            TxtAddress.Text        = CamaignDetail.Rows[0]["Address"].ToString();
            TxtTheatreName.Text    = CamaignDetail.Rows[0]["TheatresName"].ToString();
            ddlCity.SelectedValue  = CamaignDetail.Rows[0]["CityId"].ToString();
            BtnSave.Text           = "UPDATE";
            //btn_save.Text = "UPDATE";
            TableAccessoriesBrand.Visible = true;
            BtnNew.Visible = false;
        }
        catch (Exception)
        {
        }
    }