is my code but it will give an error message like
unhandled exception of type 'System.NullReferenceException' occurred in PhoneApp1.dll"
would I do?
Since your question is more asp.net specific, I suggest you post in
asp.net forums where you can get fast and direct help.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?