Menu

HELP

Help
Stedy
2007-01-21
2013-04-23
  • Stedy

    Stedy - 2007-01-21

    Cant see where the connection to my SQL database are done in the genereted Class? do i have to change somthing in Sharpcore code? or do i have to put the connection string somwhere in the generated code?
    SqlClientUtility.ExecuteNonQuery("AC450Delete", dBDUMP, aC450); this is generated whit your tool.. but where do i specify the server to conect to?

     
    • abigail armijo

      abigail armijo - 2008-06-20

      I use the class like that

              public SalesBD bd = new SalesBD("Conexion");

      where Conexion is the name of my conecction in the app.config or web.config

      and i Use the object like that

              List<Sales> datos;
              datos=bd.SelectAll();

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.