đặc biệt là kiểm soát xử lý DayRender Lịch sự kiện, làm cho các trang nhìn một chút đẹp hơn khi các stylesheet được áp dụng. | Debugging and Error Handling Conversion Function Return Datatype Decimal 16 bit signed Integer 32 bit signed Integer 64 bit signed Integer Single String The following code shows the syntax for using the ToString method of the Convert class SomeVariable SomeInteger Convert Integer to String Try to Break Your Code This can be a more difficult task than expected. It is often difficult for the developer to anticipate all the unusual things a user might attempt to do with the application such as accidentally typing in letters when numbers are required or supplying an answer that was longer than anticipated or even deliberately trying to break it. So when it is time to test your application try to think like a user who isn t too computer literate. You can break down your testing strategy into two main approaches Be nice to your program Supply your program with legal values or values that your program is designed to expect and handle. For instance if your program contains an age field supply only numbers not letters. Watch how your program behaves - does it respond as you expect it to with the legal values supplied to it Try to break your program This is the fun part. Supply your program with illegal values. For instance provide string values where integers are expected. This ensures that your program handles all illegal values appropriately. Depending on the kind of data you are expecting in your program you could to do anything from a simple numeric or alphabetic check to a validity check such as inserting invalid dates into a date field . If your program spans several pages then surf to some of the pages out of the expected sequence. Both these techniques can be used to help standardize and improve the readability of your code. Many basic errors can be avoided in this way. However even if you follow all these suggestions your code still can t be .