Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How to avoid updating SELECT from dropdown list into db
Priya Bm
Jul 2 2015 5:26 AM
459
Reply
Hi,
I have a dropdownlist in grid
<asp:DropDownList ID="ddlstatus" runat="server">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Approved</asp:ListItem>
<asp:ListItem>Reject</asp:ListItem>
</asp:DropDownList>
During update if i wont select any value , first value i.e. Select is getting update into db. which should not happen
How to avoid this in c#?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
WHAT IS PARAMEATER ?
how to pass form as a variable to function