Hey, I have been at this for hours and have been searching online all day! I really hope somebody can help me.
I have a few users who are in my database. When the user logs in I save their username as a cookie so I can retreive it anytime I like.
Each user who logs in can store information about thier car into the database.
When a specific user logs in, I have a gridView showing all of the data that each user has inputted about their car.
My question is, from the user who is currently logged in, how can I display just their data.
This is what the GridView code is like:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1" Height="199px">
<Columns>
<asp:BoundField DataField="CarID" HeaderText="CarID" Insert ...
Go to the complete details ...