//Function to Get Branch ID from Branch Name to Front End public DataTable GetAllBranchIDByBranchName(string BranchName) { try { DataTable dt = bd.GetAllBranchIDByBranchName(BranchName); return(dt); } catch (Exception) { throw; } }