티스토리 뷰

정보 보관 ver1.0

Html.Action VS Url.Action

James Wetzel 2013. 4. 4. 17:02

Html.Action


Controllers

public string GetReplyCount(int no)

        {


            return no.ToString();

        }


View

<%: Html.Action("GetReplyCount", new { no = row["no"] })%>


vs =========================================================================== vs


Url.Action




















728x90
반응형