public static void AddNewItem2PickList(string tblName, string NewListItem) { string FilePath = HttpContext.Current.Server.MapPath("content\\PickList.xlsx"); ExcelFile ef = new ExcelFile(FilePath); ef.InsertPickListItem(tblName, NewListItem); }