Erm, i have a whole list of data in the database call Orderlist which have a column Username.
How do i extract out only data which have the same username as wat the user log into.
Ex if the user is admin, it only extract out data from database which have admin at the username column.
i insert this at the select query SELECT * FROM [OrderList] WHERE( [username] = @username) but is not working.
Did i do anything wrong??
...
Go to the complete details ...