Click here to Skip to main content
15,886,567 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
In ASP.NET MVC 3
I wanted to write a function in the "Home controller" returns a string,
For example:

public string ABC (int id)
{
string x = ...
....
....
return x;
}


Now, in the Index page, the beginning, it always call the ABC and result to the screen.
Imagine how it is like to use the WinForm that timer_ticks
Help me.
Posted
Updated 14-Apr-11 12:11pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900