TAILIEUCHUNG - Professional ASP.NET 1.0 Special Edition- P18
Professional Special Edition- P18:Those of us who are Microsoft developers can't help but notice that .NET has received a fair amount of visibility over the last year or so. This is quite surprising considering that for most of this period, .NET has been in its early infancy and beta versions. I can't remember any unreleased product that has caused this much interest among developers. And that's really an important point, because ignoring all the hype and press, .NET really is a product for developers, providing a great foundation for building all types of applications | value of the column and not the Original value Dim objInsertCommand As New OleDbCommand BookAuthorInsert objConnect objParam ISBN 12 ISBN objParam Title 100 Title objParam PublicationDate PublicationDate objParam FirstName 50 FirstName objParam LastName 50 LastName And finally we can specify that this Command object is the insert command by assigning it to the DataAdapter object s Insertcommand property objInsertCommand Creating the DeleteCommand Parameters The third and final stored procedure is used to delete rows from the source table. It requires three parameters that specify the Original row values and the code to create them is very similar to that we ve just been using with the other Command objects Dim objDeleteCommand As New OleDbCommand BookAuthorDelete objConnect objParam ISBN 12 ISBN objParam FirstName 50 .
đang nạp các trang xem trước