How To Remove This Error..!!!!!!

Posted by Rock_Monu under ASP.NET on 11/11/2013 | Points: 10 | Views : 2814 | Status : [Member] | Replies : 3
I Make A Windows Application In ADO.NET.When Uploading an Image in picture box and Then Click On Save Button then I got This Error...
Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'....!!!!!
Please Urgent Help..And Give Proper Solution...!!!!!1




Responses

Posted by: Allemahesh on: 11/11/2013 [Member] [MVP] Silver | Points: 25
Posted by: Bandi on: 11/11/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
If you post code part where you got error... we can suggest the work around
Refer
http://forums.asp.net/t/1441500.aspx
http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=312~-1

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sourav.Kayal on: 11/11/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
This is type conversion error. when we want to save image in DB, at first we need to convert it in Byte array. In conversion time the error is occurring.

Read my blog here
http://ctrlcvprogrammer.blogspot.in/

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response