<BR>protected void Application_Error(Object sender, EventArgs e)<BR>{<BR>Exception x = new Exception();<BR>Server.Transfer("Error.aspx?ErrNum="+x.Message+"&ErrMessage="+x.Message);<BR>}<BR>
<BR>private void Page_Load(object sender, System.EventArgs e)<BR> {<BR> if(Page.IsPostBack)<BR> {<BR> setError("No error to display");<BR> setErrorNumber("No error number");<BR> }<BR> else<BR> {<BR> string errorMessage = Request.QueryString["ErrMessage"];<BR> string errorCode = Request.QueryString["ErrNum"];<BR> setError(errorMessage);<BR> setErrorNumber(errorCode);<BR> }<BR> }<BR> public void setError(string error)<BR> {<BR> if(error == "Exception of type System.Exception was thrown.")<BR> {<BR> lblError.Text = "The page, file, download, image, software program, <BR>or user you are looking for does not exists, give it another try!";<BR> }<BR> else<BR> {<BR> lblError.Text = error;<BR> }<BR> }<BR> public void setErrorNumber(string number)<BR> {<BR> if(number == "Exception of type System.Exception was thrown.")<BR> {<BR> lblErrorCode.Text = "00 - Server Error";<BR> }<BR> else<BR> {<BR> lblErrorCode.Text = number;<BR> }<BR> }<BR>
staceyw wrote:Great. Always good to hear Anders. Looking forward to the c# Data concepts. Will that be talked about at TechEd?
MikeS wrote:It's always great to listen to Anders, but when are we going to be able to SEE HIM!!! Isn't it about time we had Anders# instead of Background#? Not only is he blurry and you can read his book titles fine, but in a lot of the shots by the whiteboard - sorry grayboard - Anders is actually BLACK! When are you guys going to learn how to use your video camera? Come on! Go get "Video Cameras for Dummies" and figure out how to press a couple of buttons to lock the exposure and focus.It's really not that hard!
Strange, for me the worst thing about the birthday videos is that for some reason they are very very blocky. Has something changed with the encoding or something else that could affect the image quality? WMP says the bitrate is 291 K bits/second. How about having some 1000+ Kbit/s version of the Bill Hill hike video?