TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Azm Amn
NA
108
17.7k
Upload image and save in database
Aug 1 2015 10:01 PM
I want to upload the data and it should be saved in the database. I havent done anything in the back code. My DB attributes are: Judgement_ID (varchar (50) not Null), Judgement ( image datatype Not Null),JudgementAppeal_ID varchar (50) Allow Null, AppealedJudgement(image) Allow NuLL
Design Code:
<body>
<h1 style="text-align: center">Create Court Judgement</h1>
<form id="form1" runat="server">
<div style="text-align: center">
Judgement ID: <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<br />
<br />
Judgement:
<asp:FileUpload ID="FileUpload1" runat="server" />
<br />
<br />
Judgement Appeal ID:
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<br />
<br />
Appealed Judgement:
<asp:FileUpload ID="FileUpload2" runat="server" />
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="Save" />
<asp:Button ID="Button2" runat="server" Text="Back" />
</div>
</form>
Please help i need the image that is uploaded to be saved in the DB. must be able to upload data on both file uploads and save. It would be kind enough if it is possible to give me the code using my parameters and attributes.
Reply
Answers (
1
)
Accessing image button created in code behind file on aspx
Change Password