TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 122

Professional in C# and Visual Basic Part 122. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 25 File I O and Streams Filestream resources as Close does it can be very useful if you are going to perform multiple write operations and do not want to release and then reacquire the resources for each write operation. As you can see so far reading and writing to files is really quite easy. The good thing is that as mentioned earlier because .NET uses the same basic stream model for a variety of data stores you can use these same techniques for reading and writing to any of the stream derived classes. Listing 25-15 shows how you can use the same basic code to write to a Memorystream and Listing 25-16 demonstrates reading a Telnet server response using the Networkstream. Listing 25-15 Writing to a MemoryStream VB Dim data As Byte This is a string Dim ms As New data 0 C byte data This is a string ms new data 0 Listing 25-16 Reading from a NetworkStream VB Dim client As New Note You can find a large list of Telnet accessible BBs systems at http telnet The WCs Online BBs http Dim addr As Dim endpoint As New addr 23 endpoint Dim ns As If Then Dim data As Byte data 0 Dim response As string data End If C client new Note You can find a large list of Telnet accessible BBs systems at http telnet The WCs Online BBs http addr endpoint new .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.