Last post Apr 23, 2009 04:51 AM by Deepak Kothari
Mar 14, 2007 05:19 AM|the_man_is_hot|LINK
can someone PLEASE refresh my memory. where does your connection string from you .config file go within SQLHelper so that that it can be fired off when you are doing all kinds of SQL actions throughout your application (such as firing off sps etc.) It
has been a long time since i've coded and just forgot where it went within the SQLHelper class.
using v2 of the DAAL
thanks in advance everyone.
Apr 23, 2009 04:51 AM|Deepak Kothari|LINK
This may be of help:
public class Config
private static string _ServerDB=string.Empty;
_ServerDB = ConfigurationManager.ConnectionStrings["AshiServer"].ConnectionString;
public static string ServerDB
Welcome for further querries
data application block
Microsoft Application Block