public static myCommon GetLayer() { Type trp = System.Web.Compilation.BuildManager.GetType(MODULE_NAME, true); myCommon de = (myCommon)Activator.CreateInstance(trp); return(de); }
public static string[] returnSenderEmails() { string[] myArr = null; Char myChar = Char.Parse(";"); string str = string.Empty; myCommon de = myCommonHelper.GetLayer(); str = de.GetSenderEmails; myArr = str.Split(myChar); return(myArr); }
public static string ConnectionString() { myCommon de = myCommonHelper.GetLayer(); return(de.GetConnection); }