Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy Question

Status
Not open for further replies.

lawlegacy

IS-IT--Management
Jun 5, 2006
53
US
I have a aspx file with the code in a separate ascx.cs file. I want to print the results of a function (in ascx file) to the page. How do I do this?
 
The ASP.NET way to do it is to use a Literal or Label control, then set its Test property to the result of your function (assuming a single value gets returned from your function).

MCP, MCTS - .NET Framework 2.0 Web Applications
 
Yes Thank you. I figured it out shortly after I posted. I'm a former PHP coder so it takes me a while to understand ASP's idiosyncracies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top