views:

35

answers:

3

Using ASP.Net, VB.Net

In my web page, i want to attach the file.

How to attach the file

Need code help

+1  A: 

you can use asp upload control

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx

anishmarokey
How to attach the file
Gopal
Look at the code sample in the link he provided. This shows you how to do it.
David Stratton
+1  A: 

anishmarokey might be referring to the FileUpload control.

Jordan
A: 

Alternatively, you can use input tag in HTML with type=file to create file upload object with a text box and Browse button.

For Ex. <input type="file">

More information at this MSDN article

Mayur