English 中文(简体)
将 as子档案转换成C#
原标题:what converts aspx files into c#

哪些程序或类别负责将编织物文档和数据约束性表述转换成正文?

例如

<%# Eval("XXXXX") %>

转化为:

    public void @__DataBind__control118(object sender, System.EventArgs e)
    {
        System.Web.UI.WebControls.RepeaterItem Container;
        System.Web.UI.DataBoundLiteralControl target;

        #line 383 ""
        target = ((System.Web.UI.DataBoundLiteralControl)(sender));

        #line default
        #line hidden

        #line 383 ""
        Container = ((System.Web.UI.WebControls.RepeaterItem)(target.BindingContainer));

        #line default
        #line hidden

        #line 383 ""
        target.SetDataBoundString(0,
           System.Convert.ToString(Eval("XXXXX"), System.Globalization.CultureInfo.CurrentCulture));

        #line default
        #line hidden
    }

能否加以规范?

问题回答

该工具处理伙伴关系。 http://msdn.microsoft.com/en-us/library/ms229863(VS.80).aspx“rel=“nofollow noreferer”>.aspnet_compiler.exe

我不熟悉这种选择的宽松/分化方案,而我却看到有人在编前现场进行人工部署;这促使我相信,你至少可以撰写其中的一种选择(即使你可以自行选择)。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签