Kelvin007

Members
  • Content count

    5
  • Joined

  • Last visited

Posts posted by Kelvin007


  1. I have the old apostrophe problem. My problem is that I am loading my charts in ASP C# from a drop-down list box that is populated by the variable that contains the apostrophe. if I Use the 's It populates the Chart perfectly (the variable id store name and will almost always contain an apostrophe. Alas by taking this approach the drop-down list contains fields that look like this "Kelvin's SuperMart" not a good look..

     

    I am parsing the Storename into SQL via String StoreName = Convert.ToString(StoreListDropDown.SelectedItem.ToString());

     

    This is quite annoying however I think your product is otherwise great. Hope someone can help as I an trying to sell the concept next week.

     

    Cheers Kelvin

     

     


  2. Hi Gentle Persons.

     

    I have a major problem as identified by the error messages above. I am not an experienced ASP developer but have been working on this project with some succes for some time and all has been going swimmingly. I was tidying up the app ready for a data show in the immediate future and the whole thing has fallen over. I am getting the message "Compiler Error Message: CS0103:" when I view in browser. This has just occured. I was deleting some unwanted pages that had been excuded from the project for a week or so and this has just popped up.

     

    I get in my code behind the underlining of the following line with the red squiggly line under the ChartXML fragment, which of course means that the code cannot find the ChartXml.cs`file even though it is installed in the App_Code directory.

     

    String strXMLData = ChartXml.csSingleSeriesData(strSQL, "{0:MMM yyyy}", "DateTime");

     

    The namespace is coded thus.

     

     

    usingSystem;

     

     

     

    using

     

     

     

    System.Data;

     

     

     

    using

     

     

     

    System.Data.SqlClient;

     

     

     

    using

     

     

     

    System.Configuration;

     

     

     

    using

     

     

     

    System.Collections.Generic;

     

     

     

    using

     

     

     

    System.Web;

     

     

     

    using

     

     

     

    System.Web.UI;

     

     

     

    using

     

     

     

    System.Web.UI.WebControls;

     

     

     

    using

     

     

     

    System.Text;

     

     

     

    using

     

     

     

    System.Web.Security;

     

     

     

    using

     

     

     

    InfoSoftGlobal;

     

     

    Sorry wont wrap properly. I don't know what I have done wrong and am in a mild state of panic.

     

    Please help as am thouroghly confused.

     

    Kind Regards Kelvin