How to solve this issues in URL?

Posted by Ayyappan.Anbalagan on Stack Overflow See other posts from Stack Overflow or by Ayyappan.Anbalagan
Published on 2010-05-26T05:21:54Z Indexed on 2010/05/26 5:31 UTC
Read the original article Hit count: 340

Filed under:
|
|

I am doing billing project.i am passing invoice number to another .aspx page.

/default.aspx?editid=5 its my url. if i changed my editid no=4 then the records also

changes.how to solve this issue??

page1:

    LinkButton InvoiceEdit = sender as LinkButton;
    string EditId = InvoiceEdit.CommandArgument.ToString();
    Response.Redirect("edit invoice.aspx?EditId=" + EditId);

page2:

    String invoiceId = Request.QueryString["InvoiceId"].ToString();

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET