Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
V

venkaa

@venkaa
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Issue with DatabaseFactory.CreateDatabase
    V venkaa

    Hello friends, I have the following piece of code to call a stored procedure in SQL database: Database db = DatabaseFactory.CreateDatabase(_DatabaseInstanceName); DBCommandWrapper cmdWrapper = db.GetStoredProcCommandWrapper(spName); cmdWrapper.AddInParameter("c_WksID", DbType.Int32, c_WksID); .... In line 1 where I call the DatabaseFactory, I am not getting a good connection string to my database. If I interrogate db, in the watch window, I see that Connection String has an "error: Cannot obtain value" against it. I have lot of stored procedures wrapper in my code and everything works except this. Can someone please please help me? Thanks. -arvind

    .NET (Core and Framework) database help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups