Ejemplo n.º 1
0
        private void GetRequesterEmail()
        {
            try
            {
                DataTable dtEmail;

                using (DataStuff sn = new DataStuff())
                {
                    dtEmail = sn.ProjectGetRequesterEmail(ServerName, ProjectName);

                    if (dtEmail != null)
                    {
                        if (dtEmail.Rows.Count > 0)
                        {
                            RequesterEmailAddress = dtEmail.Rows[0]["EmailAddress"].ToString();
                            RequesterName         = dtEmail.Rows[0]["UserName"].ToString();
                        }
                    }
                }
            }

            catch
            {
            }
        }