Author: rajsedhain | Posted on: 9/22/2010 11:40:17 AM | Views : 492

Hi,
I have a web form where user can upload image and store to SQL database. (SQL tables has a relation like one title has multiple images fields).
Title: <asp:TextBox ID="txtTitle" runat="server" Width="300px"></asp:TextBox>
Image Name:<asp:TextBox ID="txtImage" runat="server" Width="200px"></asp:TextBox>
<asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnSubmit" runat="server" Text="Submit Information" onclick="btnSubmit_Click" />

aspx.cs code:
protected void btnSubmit_Click(object sender, EventArgs e) {

 Go to the complete details ...