Search

You searched for the word(s): userid:812401

Matching Posts

  • Re: Invalid character in the given encoding

    Good answer. I was just unsure because perhaps there is something I could do display the data anyway. I don't create the XML but I'm going to pass it up that whoever is creating it should please make sure they are using UTF-8 encoding.
  • Re: Invalid character in the given encoding

    I took a look at that post and unfortunately I don't understand how that can help me.
  • Invalid character in the given encoding

    Hi All, I have been given the location of an XML file. I have no control over how this file is created, all I have to do is display the information that I am being passed. However within this XML file are some Invalid Characters and it keeps crashing my web form. Is there something I can do to display these "Invalid Characters" or is it actually the responsibility of the people creating the XML document? Originally they created the XML without the "encoding="UTF-8" which
    Posted to XML and XmlDataSource Control (Forum) by mongoose_za on 10/27/2009
    Filed under: xml, invalid character, utf-8
  • loop through reader or dataset?

    Hi there, My table has these column: ID, Menu, MenuURL I want to loop through each record and create a Hyperlink using the info from the table. How do I do this? Must I load it into a SqlDataReader or DataSet? Then more importantly how do I loop through either of these? It's in VS2005 so I must not use LINQ in this project. Thanks for your help.
    Posted to Data Access and ObjectDataSource Control (Forum) by mongoose_za on 9/23/2009
    Filed under: dataset, Reader, loops
  • Re: I can't refactor with the "var" type present

    public IEnumerable<tblCompetitionEntry> GetTempCompetitionEntries() { IEnumerable<tblCompetitionEntry> tempDS = from compEntries in db.tblCompetitionEntries join comp in db.tblCompetitions on compEntries.CompetitionId equals comp.CompetitionId join title in db.tblTitles on compEntries.TitleId equals title.TitleId join province in db.tblProvinces on compEntries.ProvinceId equals province.ProvinceId orderby compEntries.FirstName descending select new tblCompetitionEntry { CompetitionEntryId
    Posted to Getting Started (Forum) by mongoose_za on 7/15/2009
  • Re: I can't refactor with the "var" type present

    Hi there, I tried your advise with my original piece of code. I get this error: Error 1 Cannot implicitly convert type 'System.Linq.IQueryable<AnonymousType#1>' to 'System.Collections.Generic.IEnumerable<tblCompetitionReferal>'. An explicit conversion exists (are you missing a cast?) public IEnumerable<tblCompetitionReferal> GetTempCompetitionEntries() { IEnumerable<tblCompetitionReferal> tempDS = from compEntries in db.tblCompetitionEntries join comp in db
    Posted to Getting Started (Forum) by mongoose_za on 7/13/2009
  • Re: I can't refactor with the "var" type present

    Hi Trax72, If I return a different datatype lets take IQueryable or IEnumerable<T> then I can't shape the query. I can do something simple like: Iqueryable<car> ds = from c in db.Cars select c; but if I do something a little more complex like: Iqueryable<car> ds = from c in db.Cars select new { car.carMake, car.carPrice }; I get the type error.
    Posted to Getting Started (Forum) by mongoose_za on 7/8/2009
  • using multi dimensional string arrays

    Hi there, I've a simple problem. I don't know how to access the information I've stored into a 2level'd string array. I need to store a a name and an email address for a friend. I have 6 friend records and have loaded all of their details into the string array. How do I access it though to store it to the database.. Here is my code. string friendName1 = TextBoxFriendName1.Text; string friendEmail1 = TextBoxFriendEmail1.Text; string friendName2 = TextBoxFriendName2.Text; string friendEmail2
    Posted to Getting Started (Forum) by mongoose_za on 7/7/2009
    Filed under: string array
  • Re: can't add ADO.NET Entity Model object

    Hi, I start up VS2008. Click Add New Project . Select ASP.NET MVC template C# Then when the project has loaded I right click on the website and select Add new item . On the left side I select Data and look for the ASP.NET Entity model which doesn't appear to exist.
  • Re: can't add ADO.NET Entity Model object

    Hi I reinstalled the VS2008 Service Pack 1 and the .NET3.5 SP1. Rebooted and now I'm all good.
Page 1 of 9 (89 items) 1 2 3 4 5 Next > ... Last ยป