Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在ASP页面中使用配置文件属性_C#_Asp.net_.net_Profile_Imageurl - Fatal编程技术网

C# 在ASP页面中使用配置文件属性

C# 在ASP页面中使用配置文件属性,c#,asp.net,.net,profile,imageurl,C#,Asp.net,.net,Profile,Imageurl,我希望在配置文件属性中的aspx文件中有一部分URL地址和我的图像的目录名。在本例中,该属性称为ThemeDir,如下所示: <asp:Image ID="MyImage" runat="server" ImageUrl="/UserResources/" + Profile.ThemeDir + "/Save.png" /> 可能使用Eval或

我希望在配置文件属性中的aspx文件中有一部分URL地址和我的图像的目录名。在本例中,该属性称为ThemeDir,如下所示:

  <asp:Image ID="MyImage" runat="server" ImageUrl="/UserResources/" 
+ Profile.ThemeDir + "/Save.png" />
可能使用Eval或<

由于某些特定的原因,我不想在服务器端这样做, 它必须在同一个aspx文件中