A way to increase data

zhaozj2021-02-16  52

In ASP.NET, sometimes it can do this when adding records to the database:

DIM Con As New SqlConnection _ ("Server = YourServer; UID = ; pwd = ; database = northwind") DIM DA AS New SqlDataAdapter_ ("Select * from .....", con) Dim mycb as sqlcommandbuilder = new SQLCOMMAVAildBuilder (DA) DIM DS As New Dataset () Con. AS () DA.FILL (DS, "MyImages) DIM Myrow As DataRow Myrow = DS.TABLES (" MyImages "). Newrow () Myrow ("field 1") = "xxx"

Myrow ("Field 2") = xxxx ds.tables ("MyImages"). Rows.add (MyRow) Da.Update (DS, "MyImages")

转载请注明原文地址:https://www.9cbs.com/read-19000.html

New Post(0)