Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-20-2003, 10:05 AM   #1
Member (7 bit)
 
Join Date: Sep 2000
Posts: 72
Send a message via ICQ to sAlt_sHaKer
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!
sAlt_sHaKer is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:05 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2