Amofa,
When VS.NET builds a new webform for you, the code behind
module is
automatically built with a handler for the PageLoad event.
The method is named
"Page_Load".
Put your code here and it will be executed everytime the
page loads. If you want
it to happen only the first time the page loads, put the
following code in your
"Page_Load" method:
If (!IsPostBack)
{
// do my XSLT stuff here ...
}
Cheers!
-----Original Message-----
From: Amofa Kodom baffoe [mailto:kodom.baffoe2 mail.dcu.ie]
Sent: Tuesday, August 01, 2006 9:46 AM
To: aspnet-databases aspadvice.com
Subject: [aspnet-databases] Databases, XML XSLT
Hi All,
I am working on college project using Visual Studio.net. I
need to get some
data from Sql Server 2005 Express edition in XML format and
transform the
data using XSLT. How can I do all these instantly on page
load?
Hope to get some feedback, thanks.
regards,
Amofa Kodom Baffoe,
School of Computing,
Dublin City University,
Glasnevin, Dublin 9
Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com
Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com
|