Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
Unable to cast object of type 'System.DBNull' to type 'System.String'. while saving in the database
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Desi Gal
15y
11.7k
1
Reply
I am trying to manually create a strongly typed data row
DataSet.PersonRow personRow;
personRow=dataset.Person.NewPersonARow();
personRow.MiddleName=(string)GridView.GetFocusedRowCell("Middlename");
Unable to cast object of type 'System.DBNull' to type 'System.String'. while saving in the database
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Autocomplete
Accessing Dynamic Controls in Repeater