Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
AnswerRe: WinService issues Pin
Heath Stewart16-Oct-05 0:25
protectorHeath Stewart16-Oct-05 0:25 
QuestionRead until "- -" ??? Pin
WetRivrRat15-Oct-05 13:06
WetRivrRat15-Oct-05 13:06 
AnswerRe: Read until "- -" ??? Pin
Robert Rohde15-Oct-05 22:29
Robert Rohde15-Oct-05 22:29 
AnswerRe: Read until "- -" ??? Pin
Scott Serl16-Oct-05 15:00
Scott Serl16-Oct-05 15:00 
Questionvideo streaming, Is it possible Pin
serguey_haftrige15-Oct-05 12:23
serguey_haftrige15-Oct-05 12:23 
AnswerRe: video streaming, Is it possible Pin
leppie15-Oct-05 23:24
leppie15-Oct-05 23:24 
QuestionPersistence Pin
Sled Dog15-Oct-05 11:27
Sled Dog15-Oct-05 11:27 
AnswerRe: Persistence Pin
Rob Philpott16-Oct-05 1:14
Rob Philpott16-Oct-05 1:14 
Simplest approach I'd have thought was to store the dataset in the Session:

private void Page_Load(object sender, System.EventArgs e)
{
// try to retreive an existing dataset from the Session
DataSet dataSet = (DataSet)Session.Contents["myDataset"];

// if there isn't one
if (dataSet == null)
{
// create it
dataSet = new DataSet();

// populate the dataset
// ...

// add it to the session, ready for retrievel next time
Session.Contents.Add("myDataset", dataSet);
}

// do stuff with the dataset here
}


Rob Philpott
GeneralRe: Persistence Pin
Sled Dog16-Oct-05 3:54
Sled Dog16-Oct-05 3:54 
GeneralRe: Persistence Pin
Rob Philpott16-Oct-05 4:19
Rob Philpott16-Oct-05 4:19 
GeneralRe: Persistence Pin
Sled Dog16-Oct-05 4:37
Sled Dog16-Oct-05 4:37 
GeneralRe: Persistence Pin
Rob Philpott16-Oct-05 4:54
Rob Philpott16-Oct-05 4:54 
Question"Public Shared" equivalent in VB & Global Pin
Sled Dog15-Oct-05 9:52
Sled Dog15-Oct-05 9:52 
AnswerRe: "Public Shared" equivalent in VB & Global Pin
Sled Dog15-Oct-05 9:59
Sled Dog15-Oct-05 9:59 
AnswerRe: "Public Shared" equivalent in VB & Global Pin
Sled Dog15-Oct-05 11:08
Sled Dog15-Oct-05 11:08 
QuestionDetermining DNS servers with C# Pin
Rob Philpott15-Oct-05 7:45
Rob Philpott15-Oct-05 7:45 
AnswerRe: Determining DNS servers with C# Pin
leppie15-Oct-05 21:24
leppie15-Oct-05 21:24 
GeneralRe: Determining DNS servers with C# Pin
Rob Philpott15-Oct-05 23:54
Rob Philpott15-Oct-05 23:54 
QuestionStill locked in first TextBox Pin
Anonymous15-Oct-05 6:16
Anonymous15-Oct-05 6:16 
JokeRe: Still locked in first TextBox Pin
leppie15-Oct-05 7:10
leppie15-Oct-05 7:10 
GeneralRe: Still locked in first TextBox Pin
Anonymous15-Oct-05 9:16
Anonymous15-Oct-05 9:16 
GeneralRe: Still locked in first TextBox Pin
Anonymous15-Oct-05 11:33
Anonymous15-Oct-05 11:33 
AnswerRe: Still locked in first TextBox Pin
leppie15-Oct-05 21:30
leppie15-Oct-05 21:30 
GeneralRe: Still locked in first TextBox Pin
Guffa15-Oct-05 12:07
Guffa15-Oct-05 12:07 
GeneralRe: Still locked in first TextBox Pin
Anonymous15-Oct-05 12:20
Anonymous15-Oct-05 12:20 

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.