Page.Databind

H

HockeyFan

I'm fairly new to ASP.Net. All the projects that I've worked on lately have
allowed binding to items on the page, via such as <%#
FunctionReturnsAString() %>. However, I had to do nothing in my codebehind,
other than define the function, to allow this to bind.
Recently, I built a project at home, using Visual Studio 2005 (same as
work), and none of the binding happened until I explicitly called
Page.Databind within the page load event routine of the codebehind. I
actually prefer it this way, as I have more control of when binding happens,
but I am curious as to where it gets set up automatically like at work. I've
asked at work, and no one seems to know. I'd really like to learn about how
to control this binding.
 
B

Bob Barrows [MVP]

HockeyFan said:
I'm fairly new to ASP.Net.

There was no way for you to know it (except maybe by browsing through
some
of the previous questions before posting yours - always a recommended
practice), but this is a classic asp newsgroup.
ASP.Net is a different technology from classic ASP.
While you may be lucky enough to find a dotnet-savvy person here who
can
answer your question, you can eliminate the luck factor by posting your
question to a newsgroup where the dotnet-savvy people hang out. I
suggest
microsoft.public.dotnet.framework.aspnet.
 
H

HockeyFan

If I knew how to get to that group via Microsoft's website, I would. They
don't name them that way and I can't accept nntp servers from work currently.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,142
Messages
2,570,817
Members
47,363
Latest member
eitamoro

Latest Threads

Top