|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
|
Visual Basic.NET and XML
Hi I have this school assignment, and I really need some help here.
I'm supposed to create a ASP.NET web application, and I'm having a problem with the login system. Here's a simplified version of my problem: When a user registers as a new member, his details are saved in two XML documents: user_detail.xml (user_id, address, phoneno, dateloggedin) login_detail.xml (user_id, loginname, password) the user_id columns basically contain the count of the rows, eg. user1 will have "1", user2 will have "2", and so on. Each user has a unique user_id. when a user is registered and logs in, the current date is recorded in the user_detail.xml's "dateloggedin" column, for that particular user. so the problem is, how do I get it to record the current date and time for that particular user? what I have done so far.. - passed the user_id of the person logging in into a string "i" - declared a DataSet for user_detail.xml what I wish to do (in pseudo code) is: Search user_detail.xml's user_id column for the string "i" , and return the row THEN add Date.Now into the "dateloggedin" column for that particular row. I know it's rather impolite to be asking homework help around here, but I really need some help here! thanks! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|