3
Answers

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

Photo of dipti prasad

dipti prasad

10y
1.3k
1
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)

Next Recommended Forum