Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
Getting error when am inserting drop down list value in db
suman goud
Aug 12 2016 2:23 AM
283
Reply
am binding data to drop down from database,
then i want to insert those selected value in another table
but am getting error as
An exception of type 'System.NullReferenceException' occurred in App_Web_2himjopn.dll but was not handled in user code
Additional information: Object reference not set to an instance of an object.
@Html.DropDownListFor(u => u.AccountListModel, Model.AccountListModel, new { @style = "width:150px;height:22px;", @id = "ddlAccount" })
getting error here
but values are saving in database table
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
How to hide input parameters from a WebService[ASMX]
How to display user login in Report viewer