To retrieve the values included in a query string, you use the QuerySt dịch - To retrieve the values included in a query string, you use the QuerySt Việt làm thế nào để nói

To retrieve the values included in

To retrieve the values included in a query string, you use the QueryString property of the Request object as illustrated in the fourth example. The two statements in this example retrieve the two values passed by the query string in the second and third examples.
The fifth example shows that you can also use query strings in the URLs that you code for Redirect, RedirectPermanent, or Transfer methods. Here, the URL contains a query string with a single attribute that contains a category ID. You should also realize that you can code query strings in the PostBackUrl attribute of a button control, although you’re not likely to do that.
The last example shows a relatively new way to store information in a URL. This type of URL is often called an SEO-friendly URL, or just & friendly URL, because search engines won’t archive the query strings in normal URLs. With friendly URLs, though, the search engines will archive the entire URLs. They are also called friendly URLs because they’re easier for users to read and remember.
Although SEO-friendly URL’s require some additional coding, ASP.NET has a routing framework that makes them easy to work with. You’ll learn more about this in chapter 11
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
To retrieve the values included in a query string, you use the QueryString property of the Request object as illustrated in the fourth example. The two statements in this example retrieve the two values passed by the query string in the second and third examples.The fifth example shows that you can also use query strings in the URLs that you code for Redirect, RedirectPermanent, or Transfer methods. Here, the URL contains a query string with a single attribute that contains a category ID. You should also realize that you can code query strings in the PostBackUrl attribute of a button control, although you’re not likely to do that.The last example shows a relatively new way to store information in a URL. This type of URL is often called an SEO-friendly URL, or just & friendly URL, because search engines won’t archive the query strings in normal URLs. With friendly URLs, though, the search engines will archive the entire URLs. They are also called friendly URLs because they’re easier for users to read and remember.Although SEO-friendly URL’s require some additional coding, ASP.NET has a routing framework that makes them easy to work with. You’ll learn more about this in chapter 11
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Để lấy các giá trị trong một chuỗi truy vấn, bạn sử dụng các tài sản của đối tượng Request QueryString như được minh họa trong ví dụ thứ tư. Hai câu lệnh trong ví dụ này lấy hai giá trị thông qua các chuỗi truy vấn trong các ví dụ thứ hai và thứ ba.
Ví dụ thứ năm cho thấy rằng bạn cũng có thể sử dụng chuỗi truy vấn trong URL là bạn mã cho Redirect, RedirectPermanent, hoặc các phương pháp Transfer. Ở đây, các URL có chứa một chuỗi truy vấn với một thuộc tính duy nhất có chứa một loại ID. Bạn cũng sẽ nhận ra rằng bạn có thể mã chuỗi truy vấn trong các thuộc tính PostBackURL của một nút điều khiển, mặc dù bạn không có khả năng để làm điều đó.
Ví dụ cuối cùng cho thấy một cách tương đối mới để lưu trữ thông tin trong một URL. Đây là loại URL thường được gọi là URL SEO thân thiện, hoặc chỉ & URL thân thiện, bởi vì công cụ tìm kiếm sẽ không lưu trữ các chuỗi truy vấn trong URL bình thường. Với URL thân thiện, mặc dù, các công cụ tìm kiếm sẽ lưu trữ toàn bộ URL. Họ cũng được gọi là các URL thân thiện bởi vì họ dễ dàng hơn cho người dùng để đọc và ghi nhớ.
Mặc dù SEO thân thiện với URL của yêu cầu một số mã hóa bổ sung, ASP.NET có một khuôn khổ định tuyến mà làm cho họ dễ dàng để làm việc với. Bạn sẽ tìm hiểu thêm về điều này trong chương 11
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: