Add row to Gridview
-
Hi, I have a gridview and file upload control. When the user attaches a file then I need to add that file name to gridview. In grdiview i have 2 columns one for title and date added. Title is title of the file and date is Datetime.Now How to add that information as a row to Gridview when they upload the file. Thanks
-
Hi, I have a gridview and file upload control. When the user attaches a file then I need to add that file name to gridview. In grdiview i have 2 columns one for title and date added. Title is title of the file and date is Datetime.Now How to add that information as a row to Gridview when they upload the file. Thanks
The idea i can give you is that when you uplaod ur file save the name of file in the database and after that bind the table with gridview. Hope it will work for you. :) Sucess needs one Master Stroke :) Thanks and Regards Aavesh Agarwal
-
Hi, I have a gridview and file upload control. When the user attaches a file then I need to add that file name to gridview. In grdiview i have 2 columns one for title and date added. Title is title of the file and date is Datetime.Now How to add that information as a row to Gridview when they upload the file. Thanks
ya i also agree with Aavesh..
-
Hi, I have a gridview and file upload control. When the user attaches a file then I need to add that file name to gridview. In grdiview i have 2 columns one for title and date added. Title is title of the file and date is Datetime.Now How to add that information as a row to Gridview when they upload the file. Thanks
Mahimam wrote:
How to add that information as a row to Gridview when they upload the file.
According to me it would be better if you can store the filenames in an ArrayList, after the file is finished uploading, and then bind this arraylist to the GridView. Simple isn't it?:)