hi everyone. how can i upload image using asp.net with vb.net
batoolhussain 0 Light Poster
Recommended Answers
Jump to PostYou can upload the image directly to the database too.
Aspx Page
<asp:FileUpload ID=FileUpload1 runat=server ></asp:FileUpload>
<asp:Button ID="btnUpload" runat="server" Text="Upload"
OnClick="btnUpload_Click" ></asp:Button>
<br />
<asp:Label ID="lblMessage" runat="server" Text=""
Font-Names = "Arial"></asp:Label>VB.Net Code
Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As EventArgs) …
All 3 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.