ASP.NET 1.0 and 1.1 BasicsASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Below is the code i wrote, you'll find where the error is at below "bold & red" the error states... "property access must assign to the property or use its value."
what does that mean????
Dim cn As New SqlConnection
Dim cmd As New SqlCommand
Dim dad As New SqlDataAdapter
Dim dset As New DataSet
Try
cn = New SqlConnection("Server=localhost;database=CMS;Integ rated Security=SSPI")
cmd = New SqlCommand("PRO_VEND_TRANSACTION_DDL")
If cn.State = ConnectionState.Closed Then
cn.Open()
End If
cmd.Parameters.Clear()
cmd.CommandText = "PRO_VEND_TRANSACTION_DDL"
cmd.CommandType = CommandType.StoredProcedure
dad.SelectCommand = cmd
dad.Fill(dset, "Accenture")
ddlvendname.DataSource = dset.Tables("Accenture")
ddlvendname.DataBind()