Click here to Skip to main content
16,018,916 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my master page having a one grid view and my content page having different image buttons on click on that particular image button that particular data source are bind to that master page grid view...
and at i wants to perform a edit,update and select operations on that grid view for different data sources that will bind in content page

for example ..this is a content page code
C#
protected void ibtnOwner_Click(object sender, ImageClickEventArgs e)
  {
      DataSet mydata = (DataSet)Session["owner"];
      Ownerbind();
      ScriptManager.RegisterStartupScript(this, this.GetType(), "Pop", "openModal();", true);

  }


this is a master page code
C#
protected void grdview_RowEditing(object sender, GridViewEditEventArgs e)
    {
        if (Session["owner"] != null)
        {
            grdview.EditIndex = e.NewEditIndex;

        }


i use session...but this is not work properly...
Posted
Comments
ZurdoDev 23-Oct-15 7:47am    
What exactly is your question?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900