asp.net when data is converted to a ASP.net page, most of them are in the form of text. Sometimes in order to output, only use the display or implicit conversion is not, you need this section of the data conversion.
String output:
int intage=21;
String strage=intage.tostring ();
When you convert a datetime value, you can specify the output style for the time by placing an optional argument within the parentheses. Eg:dateCou.ToString ("D");
Format code and its implication:
d--is given in the following format: Thursday,september 21,2001
C # does not limit the size of the array, only memory to limit it, but in practice, when there are more than three-dimensional arrays, you need to consider other solutions, such as objects.
Irregular arrays:
string [] strnre=new string[2][];
String Strnre[0]=new string[8];
String Strnre[1]=new string[2];
2, structure
Definition: struct nameabc{...};
3, enumeration
Enum gender{male=0,female=1};
We'll learn XML together in the next chapter.
Finally found the teaching material I now study the online address:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.