Accessing the second content page and calling the function for a specified stored procedure
this is for school project. I have a master page and 2 content pages.
My first content page has 4 buttons. Each buttons correspond to a stored procedure that will be used to access database. My second content page will display the data from the data based based on the button clicked. I am at lost as to which property or data can I use for the session variable to make it happen.
First Content page button "Get Problems By ID" and "Get Problems by Client"
protected void btnProbByProduct_Click(object sender, EventArgs e)
Session.Contents["ProductID"] = strProduct;
Response.Redirect("./ReportDisplay.aspx");
protected void btnProbByClient_Click(object sender, EventArgs e)
Session.Contents["Branch"] = strTech;
Response.Redirect("./ReportDisplay.aspx");
Second Content Page has the code below in the Page_Load that depending on the button clicked, it should call the stored procedure associated to the button.
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Below are my function above.
//******
private void GetProblemsByProduct()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByProduct();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
//****
private void GetProblemsByClient()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByClient();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
Below are the stored procedure.
CREATE PROCEDURE [dbo].[uspProblemsByProduct]
AS
--*********************************************************************
--** Get costs by Product
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
CONVERT(varchar,pr.ProductId) AS ProductId,
RTRIM(pr.ProductDesc) AS Product,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN Products pr ON pr.ProductId = p.ProductId
GROUP BY pr.ProductId, pr.ProductDesc
ORDER BY 3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
CREATE PROCEDURE [dbo].[uspProblemsByClient]
AS
--*********************************************************************
--** Get costs by client
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
c.Institution,
c.Branch,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN ServiceEvents se ON se.TicketID = r.TicketID
INNER JOIN Clients c ON c.ClientID = se.ClientID
GROUP BY c.Institution, c.Branch
ORDER BY 2,3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
c# asp.net stored-procedures
add a comment |
this is for school project. I have a master page and 2 content pages.
My first content page has 4 buttons. Each buttons correspond to a stored procedure that will be used to access database. My second content page will display the data from the data based based on the button clicked. I am at lost as to which property or data can I use for the session variable to make it happen.
First Content page button "Get Problems By ID" and "Get Problems by Client"
protected void btnProbByProduct_Click(object sender, EventArgs e)
Session.Contents["ProductID"] = strProduct;
Response.Redirect("./ReportDisplay.aspx");
protected void btnProbByClient_Click(object sender, EventArgs e)
Session.Contents["Branch"] = strTech;
Response.Redirect("./ReportDisplay.aspx");
Second Content Page has the code below in the Page_Load that depending on the button clicked, it should call the stored procedure associated to the button.
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Below are my function above.
//******
private void GetProblemsByProduct()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByProduct();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
//****
private void GetProblemsByClient()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByClient();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
Below are the stored procedure.
CREATE PROCEDURE [dbo].[uspProblemsByProduct]
AS
--*********************************************************************
--** Get costs by Product
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
CONVERT(varchar,pr.ProductId) AS ProductId,
RTRIM(pr.ProductDesc) AS Product,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN Products pr ON pr.ProductId = p.ProductId
GROUP BY pr.ProductId, pr.ProductDesc
ORDER BY 3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
CREATE PROCEDURE [dbo].[uspProblemsByClient]
AS
--*********************************************************************
--** Get costs by client
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
c.Institution,
c.Branch,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN ServiceEvents se ON se.TicketID = r.TicketID
INNER JOIN Clients c ON c.ClientID = se.ClientID
GROUP BY c.Institution, c.Branch
ORDER BY 2,3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
c# asp.net stored-procedures
add a comment |
this is for school project. I have a master page and 2 content pages.
My first content page has 4 buttons. Each buttons correspond to a stored procedure that will be used to access database. My second content page will display the data from the data based based on the button clicked. I am at lost as to which property or data can I use for the session variable to make it happen.
First Content page button "Get Problems By ID" and "Get Problems by Client"
protected void btnProbByProduct_Click(object sender, EventArgs e)
Session.Contents["ProductID"] = strProduct;
Response.Redirect("./ReportDisplay.aspx");
protected void btnProbByClient_Click(object sender, EventArgs e)
Session.Contents["Branch"] = strTech;
Response.Redirect("./ReportDisplay.aspx");
Second Content Page has the code below in the Page_Load that depending on the button clicked, it should call the stored procedure associated to the button.
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Below are my function above.
//******
private void GetProblemsByProduct()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByProduct();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
//****
private void GetProblemsByClient()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByClient();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
Below are the stored procedure.
CREATE PROCEDURE [dbo].[uspProblemsByProduct]
AS
--*********************************************************************
--** Get costs by Product
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
CONVERT(varchar,pr.ProductId) AS ProductId,
RTRIM(pr.ProductDesc) AS Product,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN Products pr ON pr.ProductId = p.ProductId
GROUP BY pr.ProductId, pr.ProductDesc
ORDER BY 3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
CREATE PROCEDURE [dbo].[uspProblemsByClient]
AS
--*********************************************************************
--** Get costs by client
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
c.Institution,
c.Branch,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN ServiceEvents se ON se.TicketID = r.TicketID
INNER JOIN Clients c ON c.ClientID = se.ClientID
GROUP BY c.Institution, c.Branch
ORDER BY 2,3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
c# asp.net stored-procedures
this is for school project. I have a master page and 2 content pages.
My first content page has 4 buttons. Each buttons correspond to a stored procedure that will be used to access database. My second content page will display the data from the data based based on the button clicked. I am at lost as to which property or data can I use for the session variable to make it happen.
First Content page button "Get Problems By ID" and "Get Problems by Client"
protected void btnProbByProduct_Click(object sender, EventArgs e)
Session.Contents["ProductID"] = strProduct;
Response.Redirect("./ReportDisplay.aspx");
protected void btnProbByClient_Click(object sender, EventArgs e)
Session.Contents["Branch"] = strTech;
Response.Redirect("./ReportDisplay.aspx");
Second Content Page has the code below in the Page_Load that depending on the button clicked, it should call the stored procedure associated to the button.
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Below are my function above.
//******
private void GetProblemsByProduct()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByProduct();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
//****
private void GetProblemsByClient()
lblError.Text = "";
dsData = clsDatabase.GetProblemsByClient();
if (dsData == null)
lblError.Text = "Error retrieving Ticket list1";
else if (dsData.Tables.Count < 1)
lblError.Text = "Error retrieving Ticket list2";
dsData.Dispose();
else
gvProb.DataSource = dsData.Tables[0];
gvProb.DataBind();
dsData.Dispose();
Below are the stored procedure.
CREATE PROCEDURE [dbo].[uspProblemsByProduct]
AS
--*********************************************************************
--** Get costs by Product
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
CONVERT(varchar,pr.ProductId) AS ProductId,
RTRIM(pr.ProductDesc) AS Product,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN Products pr ON pr.ProductId = p.ProductId
GROUP BY pr.ProductId, pr.ProductDesc
ORDER BY 3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
CREATE PROCEDURE [dbo].[uspProblemsByClient]
AS
--*********************************************************************
--** Get costs by client
--*********************************************************************
SET NOCOUNT ON;
DECLARE @ErrCode int;
SELECT COUNT(*) AS NumberOfProblems,
c.Institution,
c.Branch,
SUM(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS TotalExpense,
AVG(ISNull((r.Hours * r.CostHours),0) + ISNULL((r.Mileage *
r.CostMiles),0) +
ISNULL(r.Supplies,0) + ISNULL(r.Misc,0)) AS AverageExpense
FROM Problems p
INNER JOIN Resolutions r ON r.TicketID = p.TicketID AND r.IncidentNo =
p.IncidentNo
INNER JOIN ServiceEvents se ON se.TicketID = r.TicketID
INNER JOIN Clients c ON c.ClientID = se.ClientID
GROUP BY c.Institution, c.Branch
ORDER BY 2,3;
SET @ErrCode = @@ERROR;
SET NOCOUNT OFF;
RETURN @ErrCode;
c# asp.net stored-procedures
c# asp.net stored-procedures
edited Dec 26 at 16:08
Cœur
17.4k9102144
17.4k9102144
asked Nov 11 at 18:26
Shiela L
215
215
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Sorry cant type in comments yet
In This Code:
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Have you checked that your Id/ Name / Identifier are being sent to the functions? usually params are fed into the Functions inside the ()'s.
Again I don't have the rep required to comment so I will be just editing this post to respond if it becomes necessary.
Responses Start Here
Hmm... I believe there is a setting that can be turned on that will enable you to "penetrate" into function calls, but you should be able to put breakpoints inside of the functions perhaps on the lines where you do the DB call? see if you are getting data from the DB or if the error is occurring before that populates, if it is populating you can follow the flow from there till you hit the error.
Hi Royal, Thank you for the info. I did try checking but when I click any button, it checks the parameters in the session content but it skips. :(
– Shiela L
Nov 12 at 23:17
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53251835%2faccessing-the-second-content-page-and-calling-the-function-for-a-specified-store%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sorry cant type in comments yet
In This Code:
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Have you checked that your Id/ Name / Identifier are being sent to the functions? usually params are fed into the Functions inside the ()'s.
Again I don't have the rep required to comment so I will be just editing this post to respond if it becomes necessary.
Responses Start Here
Hmm... I believe there is a setting that can be turned on that will enable you to "penetrate" into function calls, but you should be able to put breakpoints inside of the functions perhaps on the lines where you do the DB call? see if you are getting data from the DB or if the error is occurring before that populates, if it is populating you can follow the flow from there till you hit the error.
Hi Royal, Thank you for the info. I did try checking but when I click any button, it checks the parameters in the session content but it skips. :(
– Shiela L
Nov 12 at 23:17
add a comment |
Sorry cant type in comments yet
In This Code:
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Have you checked that your Id/ Name / Identifier are being sent to the functions? usually params are fed into the Functions inside the ()'s.
Again I don't have the rep required to comment so I will be just editing this post to respond if it becomes necessary.
Responses Start Here
Hmm... I believe there is a setting that can be turned on that will enable you to "penetrate" into function calls, but you should be able to put breakpoints inside of the functions perhaps on the lines where you do the DB call? see if you are getting data from the DB or if the error is occurring before that populates, if it is populating you can follow the flow from there till you hit the error.
Hi Royal, Thank you for the info. I did try checking but when I click any button, it checks the parameters in the session content but it skips. :(
– Shiela L
Nov 12 at 23:17
add a comment |
Sorry cant type in comments yet
In This Code:
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Have you checked that your Id/ Name / Identifier are being sent to the functions? usually params are fed into the Functions inside the ()'s.
Again I don't have the rep required to comment so I will be just editing this post to respond if it becomes necessary.
Responses Start Here
Hmm... I believe there is a setting that can be turned on that will enable you to "penetrate" into function calls, but you should be able to put breakpoints inside of the functions perhaps on the lines where you do the DB call? see if you are getting data from the DB or if the error is occurring before that populates, if it is populating you can follow the flow from there till you hit the error.
Sorry cant type in comments yet
In This Code:
if (Session.Contents["ProductId"] != null)
GetProblemsByProduct();
if (Session.Contents["Branch"] != null)
GetProblemsByClient();
Have you checked that your Id/ Name / Identifier are being sent to the functions? usually params are fed into the Functions inside the ()'s.
Again I don't have the rep required to comment so I will be just editing this post to respond if it becomes necessary.
Responses Start Here
Hmm... I believe there is a setting that can be turned on that will enable you to "penetrate" into function calls, but you should be able to put breakpoints inside of the functions perhaps on the lines where you do the DB call? see if you are getting data from the DB or if the error is occurring before that populates, if it is populating you can follow the flow from there till you hit the error.
edited Nov 27 at 13:32
answered Nov 12 at 17:02
Royal Kitsune
233
233
Hi Royal, Thank you for the info. I did try checking but when I click any button, it checks the parameters in the session content but it skips. :(
– Shiela L
Nov 12 at 23:17
add a comment |
Hi Royal, Thank you for the info. I did try checking but when I click any button, it checks the parameters in the session content but it skips. :(
– Shiela L
Nov 12 at 23:17
Hi Royal, Thank you for the info. I did try checking but when I click any button, it checks the parameters in the session content but it skips. :(
– Shiela L
Nov 12 at 23:17
Hi Royal, Thank you for the info. I did try checking but when I click any button, it checks the parameters in the session content but it skips. :(
– Shiela L
Nov 12 at 23:17
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53251835%2faccessing-the-second-content-page-and-calling-the-function-for-a-specified-store%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown