How to pass list as a parameter in response.redirect

后端 未结 3 2133
予麋鹿
予麋鹿 2021-01-26 10:28

Prob1:I have 2 lists which i want to access in the next page which i will be redirecting. Current result, When i pass my result, in the url it shows the List data type.

<
3条回答
  •  渐次进展
    2021-01-26 10:59

    Prob1. Add a public property to current page with type List. On the next page (target page of redirect()), add prevoiusPageType tag in ASPX file. Now you can access Page.PreviousPage.ListToAccess.

    Prob2. Add false as param for redirect like Response.Redirect("

提交回复
热议问题