Author: isjf | Posted on: 8/31/2008 9:28:10 AM | Views : 376

I use VS2003 C# 

In my .aspx the page layout looks like below

 Name: TextBox ( ID:txtName)

 Tel    :  TextBox (ID:txtTel)

 Pic   :   FileUpload 

 Button (ID: btnSubmit)

 

the FileUpload I would like to allow user to upload 3 picture

and when user click the Button for submit

I want to save txtName.Text and txtTel.Text and the picture user upload to DataBase

In my DataBase the table schema

ID  NAME   TEL    PIC

 Name = txtName.Text

TEL  = txtTel.Text

PIC = the path of picture ( how to upload picture to the path and save path to database?)

How to do can save Text information and picture together?

 

please help ... thank you very much
...

Go to the complete details ...