Use FileUpload to Add information to DataBase and View Result in GridView
This Example By Ameer Sameer Hamood
Ok Now Lets go ... :)
1- Create info1 table in SQL Server DataBase Thats' name infoDB .
2- Create Label,TextBox : Name ,Age, Address and Button Add in Home.aspx page .
3- Write Code behind With name space and add reference SweapSQL.dll and connection InfoCS.
4- add SQL Server DataBase and connect with GridView in View.aspx page.
5- add TemplateField in GridView and then execute .
6- add Picture Label and FileUpload into Home.aspx page .
7- add images folder to root directory and then add img field to info1 table .
8- change code behind and insert some methods check_upload ,generate_imgName .
9- Now execute .