In this, My Dataset is Null. Please help me in this topic.
Error in Insert Images into database in ASP.NET
Sir, I am in the midst of a Image inserting problem. While I try to insert image into database, I getting an error:-

In this, My Dataset is Null. Please help me in this topic.
In this, My Dataset is Null. Please help me in this topic.

VulpesPosted Dec 17, 2013, 7:02 PM
cmd.Parameters["@Photo"].Value = filename;
to:
cmd.Parameters["@Photo"].Value = FUP.FileBytes;