NinethSense oWnZ mE!: Praveen’s drawing book

Choose a Topic:

Wed
23
Aug '06

ADO.NET Passing parameters to SQL queries

 
 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”
The CodeProject Microsoft Developer Network Official ASP.NET Forums Microsoft .NET Framework Community Microsoft Most Valuable Professional Kidoos forums Microsoft Visual Studio Developer Home Professional Information Technology Solutions Microsoft Research Home Kerala Microsoft Users Group Community Website