1
我试图在Session对象中存储一个url,但它引发了一个错误。会话对象在WebService中抛出异常
Session["Url"]= linkDetails.Url;
的URL值显示为
http://www.mnn.com/earth-matters/space/photos/10-places-on-earth-that-resemble-alien-planets/etosha-pan-namibia
的例外是
Object reference is not set an instance of the object
是什么'Session'? –
检查'linkDetails'是否为空 –
否它不为空..值显示在那里 –