Click here to Skip to main content
15,507,406 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: help asp.net,web.config,connectionstring Pin
Armandt__16-Apr-09 2:59
Armandt__16-Apr-09 2:59 
QuestionFacing problem while accessing data from Active Directory Pin
bishwambhar_sen15-Apr-09 7:09
bishwambhar_sen15-Apr-09 7:09 
AnswerRe: Facing problem while accessing data from Active Directory Pin
ToddHileHoffer15-Apr-09 9:59
ToddHileHoffer15-Apr-09 9:59 
QuestionHow to prevent displaying ID= in my URL querystring? Pin
pzn3xq15-Apr-09 7:00
pzn3xq15-Apr-09 7:00 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
ToddHileHoffer15-Apr-09 9:55
ToddHileHoffer15-Apr-09 9:55 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Baran M16-Apr-09 20:44
Baran M16-Apr-09 20:44 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Yusuf15-Apr-09 14:09
Yusuf15-Apr-09 14:09 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Warp-1015-Apr-09 21:38
Warp-1015-Apr-09 21:38 
Since you are dealing with only an integer, you could store it in the Session on the source page and then do a response.redirect to the new page and read the session value.

SourcePage:

Protected Sub TransferButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles TransferButton.Click

  Session("MyId") = MyID
  Response.Redirect("TargetPage.aspx")
End Sub


TargetPage.aspx:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  Dim MyID as Int = 0  
  If Me.IsPostBack = False then
    MyID = CInt(Session("MyId"))
    Session("MyId") = Nothing  'Clear value from session after retrieving
  End If

End Sub


- Robert Beaubien
- Kool Software LLC
- Try the New Warp10 Code Generator and Framework at https://www.warp-10.com
-

AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Gaurav Mahajan16-Apr-09 2:19
Gaurav Mahajan16-Apr-09 2:19 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Armandt__16-Apr-09 3:07
Armandt__16-Apr-09 3:07 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Warp-1016-Apr-09 6:47
Warp-1016-Apr-09 6:47 
QuestionUser Control fires event - page and all other user controls subscribe to event Pin
Leftyfarrell15-Apr-09 6:47
Leftyfarrell15-Apr-09 6:47 
Questionproper use of repeater control question Pin
icewolf_snowfire15-Apr-09 6:02
icewolf_snowfire15-Apr-09 6:02 
AnswerRe: proper use of repeater control question Pin
ToddHileHoffer15-Apr-09 9:37
ToddHileHoffer15-Apr-09 9:37 
GeneralRe: proper use of repeater control question Pin
icewolf_snowfire15-Apr-09 10:23
icewolf_snowfire15-Apr-09 10:23 
GeneralRe: proper use of repeater control question Pin
ToddHileHoffer15-Apr-09 10:56
ToddHileHoffer15-Apr-09 10:56 
QuestionShare session between soap clients Pin
Vozzie215-Apr-09 3:01
Vozzie215-Apr-09 3:01 
AnswerRe: Share session between soap clients Pin
Yusuf15-Apr-09 5:06
Yusuf15-Apr-09 5:06 
GeneralRe: Share session between soap clients Pin
Vozzie215-Apr-09 12:57
Vozzie215-Apr-09 12:57 
GeneralRe: Share session between soap clients Pin
Vozzie215-Apr-09 13:12
Vozzie215-Apr-09 13:12 
Questionpaging in GRidView when I bind it with an object Pin
indian14315-Apr-09 2:42
indian14315-Apr-09 2:42 
AnswerRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 3:49
professionalVimalsoft(Pty) Ltd15-Apr-09 3:49 
GeneralRe: paging in GRidView when I bind it with an object Pin
Ian McCaul15-Apr-09 4:50
Ian McCaul15-Apr-09 4:50 
AnswerRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 5:04
professionalVimalsoft(Pty) Ltd15-Apr-09 5:04 
GeneralRe: paging in GRidView when I bind it with an object Pin
indian14315-Apr-09 8:40
indian14315-Apr-09 8:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.