What happens to objects that are started by an ASPX page if they are started on a server and the user does not return?
Such as the dataset and sqladaptor objects in the code below.
If they are created when the page loads ,and then for example the user closes the browser?
Thanks in advance for the help and also for reading through the code.
public partial class _Default : System.Web.UI.Page
{
string hcnzConnString;
DataSet ds;
SqlDataAdapter da;
protected void Page_Load(object sender, EventArgs e)
{
hcnzConnString=" Data Source=GIGABYTE;Initial Catalog=hcnz;Integrated Security=True;Pooling=False";
da = new SqlDataAdapter("SELECT*FROM Clients",hcnzConnString);
ds = new DataSet();
da.Fill(ds);
ds.WriteXml(@"C:\home\HCNZsite\ClientFile.xml", XmlWriteMode.IgnoreSchema);
}
protected void gridV ...
Go to the complete details ...