ASP.NET C# User management

Hi,

I have a website where users can register with the system.To implement this I have use CreateUserWizard and Login control.

After user login to the system he can place and orders.Every user must be registered with the system.

After user place and order and login to the system again I want to show his previous order details.

So how can I implement this.When user login to the system how can I grab his order details and show it to him.

Waiting for your answer

[477 byte] By [Hungry_Minder] at [2008-2-22]
# 1

You can get the users login name from Context.User.Identity.Name.

From that you can use a database lookup to find the persons previous orders.

I'm assuming that you have a database already setup to store the persons previous orders once they checkout.

Colin Brown

WL MVP

Hackers0ft at 2007-9-13 > top of Msdn Tech,Windows Live Developer Forums,Windows Live Controls Development...

Windows Live Developer Forums

Site Classified