Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 28, 2011 11:01 AM by agiles
Sep 11, 2009 03:00 AM|LINK
bool blnAuthenticate = Authenticate(username.Text.Tostring().ToLower(), password.Text);
Sep 11, 2009 08:38 PM|LINK
Your solution works however if I have username first character as Upper and the rest Lower how would I do that?
For example: Cadeey
Sep 14, 2009 03:15 AM|LINK
It will also work in that case
Sep 17, 2009 08:22 PM|LINK
hi chetan, did you receive my last message regarding the calendar display?
Sep 18, 2009 02:44 AM|LINK
Yes, for that requirement I will suggest take a look at
Sep 22, 2009 03:29 AM|LINK
Have you looked into the url I provided, does it matches to your requirement
Sep 22, 2009 09:23 PM|LINK
The URL you send me give me partial of what I was looking for. I am able to display project due dates on the calendar but I am not able to do that based on loging username.
I need couple of things to happen:
1) Employee logs in then views his/her own projects
This is my code behind for the calendar so far.
protected void Page_Load(object sender, EventArgs e)
Label1.Text = "Welcome, " + Session["UserName"].ToString();
//calls the bind method
protected void BindData()
OracleConnection myConnection = new OracleConnection(ConfigurationManager.AppSettings["DSN"]);
OracleCommand myCommand = new OracleCommand("SELECT DISTINCT a.PROJECT_DUE FROM NEW_PROJECTS a, REGISTER b WHERE b.USER_NAME = '" + Session["UserName"]+ "'", myConnection);
myCommand.CommandType = CommandType.Text;
OracleDataReader dr = myCommand.ExecuteReader();
//assign the calendar control dates already contained in the database
Sep 23, 2009 03:06 AM|LINK
I am able to display project due dates on the calendar but
I am not able to do that based on loging username
can you explain ? is query retrun perfect record that you want
Sep 23, 2009 01:28 PM|LINK
For example, if i login as Cadeey it should only give me all active projects assigned to Cadeey. At the moment it is displaying all projects assigned to everyone when Cadeey logins in. Also, I would like for a teacher to view all assigned employees projects.
Below are the two tables I am using to accomplish this task.
Table 1 = NEW_ASSIGNMENT:
Table 2 = REGISTRATION:
Sep 24, 2009 03:06 AM|LINK
I think this can be done using Role assignment, for whom to display all project (loke Project Manager) and for Employee only displaytheir project