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'是否爲空 –
否它不爲空..值顯示在那裏 –