sunda2010
asked on
i need system.xml.ling.dll file
i need system.xml.ling.dll file send me soon.....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for replying. I have downloaded .net framework3.5 software and installed. Now How to add system.xml.linq.dll references in my asp.net with c# program. Reply me immediately....
Glad I could help you
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
in Visual Studio ( "Website" menu | "Add Reference..." | ".NET" tab | ...
ASKER
Error 1 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) D:\WebSite4\RandomImage.as px.cs 5 14 D:\WebSite4\
Error 2 The type or namespace name 'Linq' does not exist in the namespace 'System.Xml' (are you missing an assembly reference?) D:\WebSite4\RandomImage.as px.cs 12 18 D:\WebSite4\
I need The proper solution for the above errors... Reply soon....
Error 2 The type or namespace name 'Linq' does not exist in the namespace 'System.Xml' (are you missing an assembly reference?) D:\WebSite4\RandomImage.as
I need The proper solution for the above errors... Reply soon....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ya i done both...but the images are not displaying?
My code is
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls ;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls. WebParts;
using System.Xml.Linq;
public partial class RandomImage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Random objRnd = new Random();
int intRnd = objRnd.Next(4) + 1; //set it to your images count, i use 6 images.
ImageRandom.ImageUrl = "~/images/" + intRnd.ToString() + ".jpg";
ImageRandom.AlternateText = "Picture" + intRnd.ToString();
}
}
My code is
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.
using System.Xml.Linq;
public partial class RandomImage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Random objRnd = new Random();
int intRnd = objRnd.Next(4) + 1; //set it to your images count, i use 6 images.
ImageRandom.ImageUrl = "~/images/" + intRnd.ToString() + ".jpg";
ImageRandom.AlternateText = "Picture" + intRnd.ToString();
}
}
ASKER
Thanks for your help.. I solved the problem....
ASKER
Your Answers was very useful..
ASKER