Dim p As New saleupdate()
p.CustomerName = txtcustomername.Text.Trim()
db.saleupdates.InsertOnSubmit(p)
db.SubmitChanges()
gvMember.DataBind()
txtcustomername.Text = ""
ขอบคุณครับ
Tag : .NET, Ms SQL Server 2008, VBScript, Web (ASP.NET), VS 2008 (.NET 3.x)