Dim param(0) As ParameterBuilder

param(0) = New ParameterBuilder("@CustomerID", DbType.UInt32)
Dim CustomerID As Integer = CInt(InputBox("Enter Customer ID"))
param(0).Value = CustomerID

Dim sql As String = "DELETE FROM Customers WHERE CustomerID=@CustomerID"

VN:F [1.1.6_502]
Rating: 0.0/5 (0 votes cast)
Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • DotNetKicks
  • LinkedIn
  • Live
  • MySpace
  • StumbleUpon
  • Technorati

Related posts:

  1. Build DateTime from values
  2. What is the difference between CAST and CONVERT in SQL?
  3. Get Recognized as MVP
  4. Talk to Me Now!
  5. My name is 0×5052415645454e in SQL ;)