3
Reply

DataTable dt = (DataTable)Session["name"]; unable to cast

dipti prasad

dipti prasad

Dec 12 2014 12:03 AM
850
Unable to cast object of type 'System.String' to type 'System.Data.DataTable'.
Please help me how to resolved this error
my code
ctx.TempLedgerBranches.Add(postData);
Session["postData"] = postData;
DataTable mdt = (DataTable)Session["postData"]; error show on this line
 

Answers (3)