Manuel de León
New member
I want to show the files a user already uploaded to a database, but I dont want to show all the records of the table, I just want to show the records that match the current logged user, in other words I want the user feels that he is in his own portal and not in a shared one.
I am using the same database generated by Visual Web Developer when you create a new project, I added a table called FILES to that database, FILES table contains this fields:
idFile
nameFile
contentFile
uploadhourFile
uploaddateFile
User_id.................................foreign key for User_id on USERS table
I want to fill the GridView with the following fields:
dateFile, hourFile and nameFile
For example:
dateFile hourFile nameFile Download View Delete
10/10/2010 02:00 invoice.xml Download View Delete
11/10/2010 13:40 invoice.xml Download View Delete
I am using the same database generated by Visual Web Developer when you create a new project, I added a table called FILES to that database, FILES table contains this fields:
idFile
nameFile
contentFile
uploadhourFile
uploaddateFile
User_id.................................foreign key for User_id on USERS table
I want to fill the GridView with the following fields:
dateFile, hourFile and nameFile
For example:
dateFile hourFile nameFile Download View Delete
10/10/2010 02:00 invoice.xml Download View Delete
11/10/2010 13:40 invoice.xml Download View Delete