1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please clear this doubt in vb.net-- a beginner in vb.net

Discussion in 'Meet and Greet' started by sreyasanthosh, May 20, 2010.

  1. sreyasanthosh

    sreyasanthosh New Member

    Joined:
    Apr 30, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Dim EditProductDataAdapter As New SqlDataAdapter("select * from ProductDetails where ProductName=" + comboVal, BillingDBConn)
    Dim EditProductDataSet As New DataSet
    BillingDBConn.Open()
    EditProductDataAdapter.Fill(EditProductDataSet,
    "ProductDetails") ..> at this point i got an exception ..
    whats wrong with my first line given above
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    What error does compiler give.
     

Share This Page