cmd = New SqlCommand("sp_Whatever", conn)
cmd.CommandType = CommandType.StoredProcedure
...may be superior to...
cmd = New SqlCommand
cmd.Connection = conn
cmd.CommandType = CommandType.StoredProcedure
cmd.CommandText = ("sp_Whatever")
Note:
- XSS is an acryonym for Cross-Site Scripting.
- Please forgive the VB Script. :(
No comments:
Post a Comment