Menu
×

Được chứng nhận

Ghi lại kiến ​​thức của bạn

Đăng nhập Đăng ký

Tạo Tài khoản Example.com.vn miễn phí để cải thiện trải nghiệm học tập của bạn

Người tìm đường và việc học của tôi

Theo dõi tiến độ học tập của bạn tại Example.com.vn và thu thập phần thưởng

Nâng cấp

Trở thành người dùng PLUS và mở khóa các tính năng mạnh mẽ (không có quảng cáo, lưu trữ, hỗ trợ, ..)

Bắt đầu từ đâu

Bạn không chắc chắn muốn bắt đầu từ đâu? Đi theo con đường được hướng dẫn của chúng tôi

Trình chỉnh sửa mã (Dùng thử)

Với trình chỉnh sửa mã trực tuyến của chúng tôi, bạn có thể chỉnh sửa mã và xem kết quả trong trình duyệt của mình

Video

Tìm hiểu những điều cơ bản về HTML qua video hướng dẫn thú vị và hấp dẫn

Mẫu

Chúng tôi đã tạo một loạt mẫu trang web đáp ứng mà bạn có thể sử dụng - miễn phí!

Web hosting

Lưu trữ trang web của riêng bạn và chia sẻ nó với mọi người với Example.com.vn Spaces

Tạo một máy chủ

Tạo máy chủ của riêng bạn bằng Python, PHP, React.js, Node.js, Java, C#, v.v.

Làm thế nào để

Bộ sưu tập lớn các đoạn mã cho HTML, CSS và JavaScript

Khung CSS

Xây dựng các trang web nhanh và phản hồi bằng cách sử dụng khung W3.CSS miễn phí của chúng tôi

Thống kê trình duyệt

Đọc xu hướng dài hạn của việc sử dụng trình duyệt

Tốc độ gõ

Kiểm tra tốc độ đánh máy của bạn

Đào tạo AWS

Tìm hiểu dịch vụ web của Amazon

Bộ chọn màu

Sử dụng công cụ chọn màu của chúng tôi để tìm các màu RGB, HEX và HSL khác nhau. Bánh xe màu hình tròn thể hiện sự chuyển màu trong quang phổ

Trò chơi mã

Trò chơi mã hóa W3Schools! Giúp linh miêu thu thập nón thông Logo Lynx

Đặt mục tiêu

Nhận hành trình học tập được cá nhân hóa dựa trên các kỹ năng và mục tiêu hiện tại của bạn

Bản tin

Tham gia bản tin của chúng tôi và có quyền truy cập vào nội dung độc quyền mỗi tháng

Việc làm

Thuê những tài năng công nghệ hàng đầu. Hợp lý hóa quy trình tuyển dụng của bạn để có đội ngũ phù hợp hoàn hảo

Lớp học

Hãy liên hệ để sử dụng Example.com.vn Plus và các chứng chỉ với tư cách là một tổ chức giáo dục

×
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP CÁCH W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS AN NINH MẠNG DỮ LIỆU KHOA HỌC

Hướng dẫn ASP

TRANG CHỦ ASP

Hướng dẫn WP

Trang web Giới thiệu Trang web Dao cạo Bố cục trang web Trang web Thư mục Trang web Trang web toàn cầu Biểu mẫu Trang web Đối tượng Trang web Tệp Trang web Cơ sở dữ liệu Trang web Trình trợ giúp Trang web WebGrid Trang web Biểu đồ Trang web Email Trang web Bảo mật Trang web Xuất bản trang web Ví dụ về trang web Lớp học

Dao cạo ASP.NET

Dao cạo Giới thiệu Dao cạo Cú pháp Dao cạo C# Biến Dao cạo C# Vòng lặp Dao cạo C# Logic Dao cạo VB Biến Dao cạo VB Vòng lặp Dao cạo VB Logic

ASP cổ điển

Giới thiệu ASP Cú pháp ASP Biến ASP Thủ tục ASP Điều kiện ASP Vòng lặp ASP Biểu mẫu ASP ASP Cookie Phiên ASP Ứng dụng ASP ASP #include ASP Global.asa ASP AJAX ASP e-mail ASP Ví dụ về Chứng chỉ ASP

Tham khảo ASP

Chức năng ASP VB ASP VB Từ khóa ASP Phản hồi ASP Yêu cầu ASP Ứng dụng ASP Phiên ASP Máy chủ ASP Lỗi ASP Hệ thống tệp ASP TextStream Ổ đĩa ASP Tệp ASP Thư mục ASP Từ điển ASP ASP AdRotator ASP BrowserCap Liên kết nội dung ASP Công cụ quay vòng nội dung ASP Tham chiếu nhanh ASP

Hướng dẫn ADO

ADO Giới thiệu ADO Kết nối ADO Recordset ADO Hiển thị ADO Truy vấn ADO Sắp xếp ADO Thêm ADO Cập nhật ADO Xóa

Đối tượng ADO

Lệnh ADO Kết nối ADO Lỗi ADO Trường ADO Tham số ADO Thuộc tính ADO Bản ghi ADO Tập bản ghi ADO Luồng ADO Kiểu dữ liệu ADO

Trang web ASP.NET - Lớp học


Tham khảo các lớp ASP.NET

Method Description
AsBool(), AsBool(true|false) Converts a string value to a Boolean value (true/false). Returns false or the specified value if the string does not represent true/false.
AsDateTime(), AsDateTime( value ) Converts a string value to date/time. Returns DateTime. MinValue or the specified value if the string does not represent a date/time.
AsDecimal(), AsDecimal( value ) Converts a string value to a decimal value. Returns 0.0 or the specified value if the string does not represent a decimal value.
AsFloat(), AsFloat( value ) Converts a string value to a float. Returns 0.0 or the specified value if the string does not represent a decimal value.
AsInt(), AsInt( value ) Converts a string value to an integer. Returns 0 or the specified value if the string does not represent an integer.
Href( path [, param1 [, param2]] )Creates a browser-compatible URL from a local file path, with optional additional path parts.
Html.Raw( value )Renders value as HTML markup instead of rendering it as HTML-encoded output.
IsBool(), IsDateTime(), IsDecimal(), IsFloat(), IsInt()Returns true if the value can be converted from a string to the specified type.
IsEmpty()Returns true if the object or variable has no value.
IsPostReturns true if the request is a POST. (Initial requests are usually a GET.)
LayoutSpecifies the path of a layout page to apply to this page.
PageData[ key ], PageData[ index ], PageContains data shared between the page, layout pages, and partial pages in the current request. You can use the dynamic Page property to access the same data, as in the following example:
RenderBody()(Layout pages) Renders the content of a content page that is not in any named sections.
RenderPage( path , values )
RenderPage( path[, param1 [, param2]] )
Renders a content page using the specified path and optional extra data. You can get the values of the extra parameters from PageData by position (example 1) or key (example 2).
RenderSection( sectionName [, required = true|false ] )(Layout pages) Renders a content section that has a name. Set required to false to make a section optional.
Request.Cookies[ key ] Gets or sets the value of an HTTP cookie.
Request.Files[ key ] Gets the files that were uploaded in the current request.
Request.Form[ key ] Gets data that was posted in a form (as strings). Request[ key ] checks both the Request.Form and the Request.QueryString collections.
Request.QueryString[ key ] Gets data that was specified in the URL query string. Request[ key ] checks both the Request.Form and the Request.QueryString collections.
Request.Unvalidated( key )
Request.Unvalidated().QueryString|Form|Cookies|Headers[ key ]
Selectively disables request validation for a form element, query-string value, cookie, or header value. Request validation is enabled by default and prevents users from posting markup or other potentially dangerous content.
Response.AddHeader( name , value )Adds an HTTP server header to the response.
Response.OutputCache( seconds [, sliding] [, varyByParams] )Caches the page output for a specified time. Optionally set sliding to reset the timeout on each page access and varyByParams to cache different versions of the page for each different query string in the page request.
Response.Redirect( path ) Redirects the browser request to a new location.
Response.SetStatus( httpStatusCode ) Sets the HTTP status code sent to the browser.
Response.WriteBinary( data [, mimetype] )Writes the contents of data to the response with an optional MIME type.
Response.WriteFile( file ) Writes the contents of a file to the response.
@section( sectionName ) { content }(Layout pages) Defines a content section that has a name.
Server.HtmlDecode( htmlText ) Decodes a string that is HTML encoded.
Server.HtmlEncode( text ) Encodes a string for rendering in HTML markup.
Server.MapPath( virtualPath ) Returns the server physical path for the specified virtual path.
Server.UrlDecode( urlText ) Decodes text from a URL.
Server.UrlEncode( text ) Encodes text to put in a URL.
Session[ key ]Gets or sets a value that exists until the user closes the browser.
ToString()Displays a string representation of the object's value.
UrlData[ index ]Gets additional data from the URL (for example, /MyPage/ExtraData ).


×

Liên hệ bán hàng

Nếu bạn muốn sử dụng dịch vụ của Example.com.vn với tư cách là một tổ chức giáo dục, nhóm hoặc doanh nghiệp, hãy gửi email cho chúng tôi:
[email được bảo vệ]

Báo cáo lỗi

Nếu bạn muốn báo cáo lỗi hoặc nếu bạn muốn đưa ra đề xuất, hãy gửi email cho chúng tôi:
[email được bảo vệ]

Example.com.vn được tối ưu hóa cho việc học tập và đào tạo. Các ví dụ có thể được đơn giản hóa để cải thiện khả năng đọc và học. Các hướng dẫn, tài liệu tham khảo và ví dụ liên tục được xem xét để tránh sai sót, nhưng chúng tôi không thể đảm bảo tính chính xác hoàn toàn của mọi nội dung. Khi sử dụng W3Schools, bạn đồng ý đã đọc và chấp nhận các điều khoản sử dụng , chính sách cookie và quyền riêng tư của chúng tôi.

Bản quyền 1999-2024 của Refsnes Data. Đã đăng ký Bản quyền. Example.com.vn được cung cấp bởi W3.CSS .