Click here to Skip to main content
15,923,902 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Refer to html controls in Javascript Pin
Vasudevan Deepak Kumar8-Aug-07 5:19
Vasudevan Deepak Kumar8-Aug-07 5:19 
GeneralRe: Refer to html controls in Javascript Pin
peacefulmember8-Aug-07 5:34
peacefulmember8-Aug-07 5:34 
QuestionTransfer gridview's datas, which are selected from checkboxes, to the another gridview which is in the other web page??? Pin
tahsinates8-Aug-07 5:10
tahsinates8-Aug-07 5:10 
AnswerRe: Transfer gridview's datas, which are selected from checkboxes, to the another gridview which is in the other web page??? Pin
Talal Sultan8-Aug-07 5:27
Talal Sultan8-Aug-07 5:27 
GeneralRe: Transfer gridview's datas, which are selected from checkboxes, to the another gridview which is in the other web page??? Pin
tahsinates8-Aug-07 5:34
tahsinates8-Aug-07 5:34 
GeneralRe: Transfer gridview's datas, which are selected from checkboxes, to the another gridview which is in the other web page??? Pin
Talal Sultan8-Aug-07 6:06
Talal Sultan8-Aug-07 6:06 
GeneralRe: Transfer gridview's datas, which are selected from checkboxes, to the another gridview which is in the other web page??? Pin
tahsinates8-Aug-07 6:27
tahsinates8-Aug-07 6:27 
GeneralRe: Transfer gridview's datas, which are selected from checkboxes, to the another gridview which is in the other web page??? Pin
Talal Sultan8-Aug-07 9:11
Talal Sultan8-Aug-07 9:11 
As far as I know, there is no other way than to use the session. You won't need to deal with session IDs. Don't forget that as soon as the you leave the page, all variables declared in that page will be lost. You can use Cache if you want but there is no guarantee how long the data will remain in the server memory before being removed. Session is, in my opinion, the best choice as the data will remain in it for as long as the session persists on the server. All you have to do is put all the data you need in a DataTable and save the datatable in the session.

On the first page, you would have something like this:

DataTable dt = new DataTable("somename");
// populate datatable
Session["myData"] = dt;


On the second page, you would need to retrieve the data with something like this:

DataTable dt = (DataTable)Session["myData"];


Good luck Smile | :)

Talal

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

GeneralRe: Transfer gridview's datas, which are selected from checkboxes, to the another gridview which is in the other web page??? Pin
tahsinates8-Aug-07 11:02
tahsinates8-Aug-07 11:02 
QuestionTagging emails to create a dialogue? Pin
matsnas8-Aug-07 4:04
matsnas8-Aug-07 4:04 
QuestionMembership API data corruption???? Pin
Xpnctoc8-Aug-07 3:52
Xpnctoc8-Aug-07 3:52 
AnswerRe: Membership API data corruption???? Pin
ToddHileHoffer8-Aug-07 4:02
ToddHileHoffer8-Aug-07 4:02 
GeneralRe: Membership API data corruption???? Pin
Xpnctoc8-Aug-07 4:08
Xpnctoc8-Aug-07 4:08 
AnswerRe: Membership API data corruption???? Pin
kubben8-Aug-07 4:34
kubben8-Aug-07 4:34 
Questionmenu control in my aspx page Pin
Raghvendra Kumar Roy8-Aug-07 3:32
Raghvendra Kumar Roy8-Aug-07 3:32 
AnswerRe: menu control in my aspx page Pin
ToddHileHoffer8-Aug-07 4:00
ToddHileHoffer8-Aug-07 4:00 
GeneralRe: menu control in my aspx page Pin
Raghvendra Kumar Roy8-Aug-07 19:03
Raghvendra Kumar Roy8-Aug-07 19:03 
QuestionAbt Iframe in aspx page Pin
A.Muthunagai8-Aug-07 2:54
A.Muthunagai8-Aug-07 2:54 
AnswerRe: Abt Iframe in aspx page Pin
Talal Sultan8-Aug-07 3:58
Talal Sultan8-Aug-07 3:58 
AnswerRe: Abt Iframe in aspx page Pin
Vasudevan Deepak Kumar8-Aug-07 5:21
Vasudevan Deepak Kumar8-Aug-07 5:21 
QuestionInclude .asp file to .aspx file Pin
vimal_yet8-Aug-07 2:48
vimal_yet8-Aug-07 2:48 
AnswerRe: Include .asp file to .aspx file Pin
peacefulmember8-Aug-07 4:57
peacefulmember8-Aug-07 4:57 
QuestionCOM references unpredictable failures Pin
orinoco778-Aug-07 2:46
orinoco778-Aug-07 2:46 
Questionplz help me regarding globalization Pin
lrajuk8-Aug-07 2:28
lrajuk8-Aug-07 2:28 
AnswerRe: plz help me regarding globalization Pin
kubben8-Aug-07 2:48
kubben8-Aug-07 2:48 

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.