[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

i need system.xml.ling.dll file

Posted on 2010-01-04
11
Medium Priority
?
819 Views
Last Modified: 2012-05-08
i need system.xml.ling.dll file send me soon.....
0
Comment
Question by:sunda2010
  • 6
  • 5
11 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 26178211
I assume you need system.xml.linq.dll

Did you install framework 3.5 on your system ?

http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en
0
 

Author Comment

by:sunda2010
ID: 26178305
thank u....
0
 

Author Comment

by:sunda2010
ID: 26178373
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....
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 53

Expert Comment

by:Dhaest
ID: 26178377
Glad I could help you
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 500 total points
ID: 26178382
add this line into web config where other assembly's are

<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 26178383
in Visual Studio ( "Website" menu | "Add Reference..." | ".NET" tab | ...
0
 

Author Comment

by:sunda2010
ID: 26178676
Error      1      The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)      D:\WebSite4\RandomImage.aspx.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.aspx.cs      12      18      D:\WebSite4\



I need The proper solution for the above errors... Reply soon....
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 500 total points
ID: 26178698
1. Did you add the reference to your project ?
(added the reference to the project by going to the Solution Explorer right click on the project name and select "Add Reference". When the Add Reference window comes up select the .Net tab on top and find and select the dll System.Xml.Linq. Once that is selected click on the OK button and then recompile your code.)

2. Did you add the using-statement into your page ?
using System.XML.Linq;
0
 

Author Comment

by:sunda2010
ID: 26178980
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();
    }
}
0
 

Author Comment

by:sunda2010
ID: 26179004
Thanks for your help.. I solved the problem....
0
 

Author Closing Comment

by:sunda2010
ID: 31672797
Your Answers was very useful..
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses
Course of the Month18 days, 4 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question