How to dynamically assign values for a list

johnjohn123

New member
Joined
Nov 23, 2010
Messages
1
Programming Experience
Beginner
i am new to asp.net mvc , i have created a simple project for asp mvc, but i have the follwoing question ,

now after the user login , i need to assign this use name as a global varliable, and then i want to select from a table in the sql server that have

select first_name,last_name from dependincies where user id = global_value

and then to add the first name and last name , to a list will should have different values according to the global varible values.

So i need some help in understading how i can do this for my mvc project.
 
Back
Top