I am using this code to bind news to the repeater using XMLDataSource. I want to ask, is it possible to have multiple XMLDataSources bineded to the same repeater so it will have xmlNews1, xmlNews2, xmlNews3, etc?
hi,my webapplication has ben changed outputpath,but show error msg:"Could not load file or assembly" in runtime,why?
<addname="DirectRequestModule"type="Ext.Net.DirectRequestModule, Ext.Net"/> //Could not load file or assembly
<addname="WebSite.HttpModule"type="Framework.Common.HttpModule, Framework.Common"/> //Could not load file or assembly
This was working fine in windows 2000 server.
Now we are upgrading to windows 2003 server. In this it is not giving print.
Also I'm not getting any exception or any logs. Logs were created as everything working fine.
Also in 2003 server this is working from command prompt and
from console application also it is working, but when user logged in.
If no one is logged in again the print is not working.
To Master Page? Way to adding picture to master or Web Form, are same. If you want to add image via HTML, write this code: <img id="pic" runat="server" alt="" />
And to code behind add following code:
... pic.Src="path to the picture";
Of course, you can add image via asp:Image, but adding image by HTML is better solution, because ASP.NET server control add a some value to _VIEWSTATE, add prefix before id...
Adding image to normal webpage and masterpage are same. At times, you might face issue with image display because of the image relative path issue because of page hierarchies.
For such cases, you would need to make sure that the path is correct such that file is found and used.