tailieunhanh - ASP.NET Bible 2002 PHẦN 9

Ngoài ra, chương này bao gồm làm thế nào để xuất bản một dịch vụ web để người tiêu dùng tiềm năng có thể xác định vị trí các dịch vụ thông qua DISCO và / hoặc UDDI. Bạn sẽ tìm hiểu thêm về quá trình phát hiện từ quan điểm của người tiêu dùng một dịch vụ web khi chúng tôi thảo luận về chủ đề này trong Chương 28, "Tiêu thụ các dịch vụ Web." | Field Name Data Type TopicID Primary Key AutoNumber Name Text The Threads table is a little more complicated but not much see Table 30-2 . Table 30-2 The Threads table Field Name Data Type ThreadID Primary Key AutoNumber Name Text Topic Number The Topic column holds the TopicID of the row in the Topics table with which this thread is associated. The Name column holds the name of the thread. It should have some specific attributes set as specified in Table 30-3. Table 30-3 The Thread s Name column attributes Attribute Value Required Yes Allow Zero Length No Indexed Yes No Duplica tes By setting these attributes you assure that whenever a new row is added the Name field is filled in and that it is filled in with a value that is different from any of the other names already in the table. In other words all threads must have a unique name. The same attributes could have been set for the Topics table s Name field but because it s the site administrator and not users who will be filling that table in you can probably assume that the administrator will assure that the topics are right. The Messages table has the most columns see Table 30-4 . Table 30-4 The Messages table Field Name Data Type MessageID Primary Key AutoNumber Subject Text Message Memo Author Text Posted Date Time Thread Number As in an e-mail message the Subject line is used to title and summarize the contents of the message itself. The author of the message will be stored in Chatty as the e-mail address they enter. If your site authenticates its users then you ll be able to put their username or their chosen handle into the Author field instead. The Posted column is important. It enables you to organize the messages in the right order within a thread. Finally Thread holds the ThreadID of the row in the Threads table with which this message is associated. Creating the Database Once you ve decided to go with a relational database you re going to have to figure out how you want to organize the information .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã 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.