Instantiate a SqlDataSource object in your code, probably in your
code-behind.
SqlDataSource sdsData = new SqlDataSource();
There are two other constructors for SqlDataSource. Look at the MSDN
documentation for more information.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
<st****@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hello!
I would like to set the SqlDataSource in the code behind file and not
to have it in the aspx file. How can I do that?
Regards,
Staeri