Markus, to declare a DataSet as global variable, do this :
protected DataSet myDS; in C#
public myDS as DataSet in VB.NET
| Mathieu Clerte
| DBA & Development , MCP
| E-mail: mathieuc@i...
| Statistics Institute of French Polynesia (ISPF)
| mail: BP 395 Papeete - Tahiti - French Polynesia 98713
| tel: (689) 543 232
| fax: (689) 427 252
| email: ispf@i...
| web: <http://www.ispf.pf>
----------------------------------------------------------------------
Subject: RE: store data in DataSet
From: "Chris Sano" <t-csano@m...>
Date: Fri, 22 Jun 2001 15:25:39 -0700
X-Message-Number: 5
I apologize for my careless answer in my previous post. I re-read the
question and realized you weren't asking how to bind to a data control.
You should declare the dataset object as a global variable. This will
enable the data set to be accessed from anywhere in the application.
-----Original Message-----
From: markus.schmidt@c... [mailto:markus.schmidt@c...]
Sent: Friday, June 22, 2001 3:50 AM
To: ASPX_Professional
Subject: [aspx_professional] store data in DataSet
Hello,
I know how to fill a dataset with data. But my problem is, that the data
are
not realy store in the dataset. For example when I fill the dataset in a
buttonclick-function the data of dataset are only available in this
function. But how to store them, that i can use them in every function ?
Thanks in advance
Markus