how can insert an image path using formview control
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
i have a 'pic' field of varchar in my database table where i want to store image path . how can i insert a path of a image using 'file upload' control in 'formview' insertitemtemplate.
Chohan
+ Specify a ControlParameter in the datasource control that you use with the FormView, and you can point the parameter to the FileUpload control. + You can simply use a general Parameter and get reference to the FileUpload control in the FormView using the FindControl method to the read the file path.