<script language="javascript">
res = "&res="+screen.width+"x"+screen.height+"&d="+screen.colorDepth
top.location.href="Login.aspx?action=set"+res
</script>
Source Error:
An unhandled exception was generated during the execution of the current web request,Information regarding origin and location exception can be identified using the exception stact trace below.
Stack trace:
[Null ReferenceException: object reference not set to an instance of an object.]
page_Load(object sender EventArgs e)+143
and next from System.Web
基於屏幕分辨率iam設置登錄網頁。我如何避免空引用異常?空引用有時會拋出異常
你從哪裏得到它?你可以發佈一些stacktrace plz嗎? – Juri
哪個瀏覽器出現此錯誤? – Ryan
請將您的頁面加載事件代碼 –