But I can write some Pseudo Code:
Expand|Select|Wrap|Line Numbers
- if (username == "director_it")
- {
- name.Visible = true;
- changename.Visible = false;
- changename.Value = "manager/officelocation/employeename/Phonenumber";
- }
- reqdate.Text = DateTime.Now.Month.ToString() + " - ";
- reqdate.Text += DateTime.Now.Day.ToString() + " - ";
- reqdate.Text += DateTime.Now.Year.ToString();
This is just one instance of this there are more for the managers in each dept. But thats not the half of it. What I want to do is have a table with information already filled in Ex:
Expand|Select|Wrap|Line Numbers
- Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
- usenamelbl.Text = Page.User.Identity.Name
- loclbl.Text = Page.User.
- datetimelbl.Text = Date.Today
- nametxt.Text = Page.User.Identity.Name
- datetext.Text = Date.Today
- phonetext.Text = Page.UniqueID(I am not sure how to do this one)
- emailtext.Text = Page.User.Identity.Email(example purposes only)
- End Sub
Thanks in Advance.