why's the error not found namespace or class ? RRS feed

  • Question

  • You see the example below why the error not found namespace or class ?

    I have an error not finding the derived class: 
    GridView1.DataSource = clsConnecSQL.FillDatatable(sSQL); //It's not find ???

    Saturday, May 4, 2019 6:45 AM

All replies

  • Hello,

    The correct way to post a project is in a .zip file, not .rar file and upload the .zip file to Microsoft OneDrive. Login to OneDrive with the same user name and password as done for these forums.

    In the mean time you can type in the full namespace to access the class rather than depending on a using statement in your form, if that does not work then you most scope your class so it's available to where you are using it such as in the last line of your post.

    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    profile for Karen Payne on Stack Exchange

    Saturday, May 4, 2019 9:40 AM
  • I sent link new!AjyNqMx8JcCKbRhiv0eCsb2JmJ4
    Tuesday, May 7, 2019 7:44 AM