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,375
    Likes Received:
    388
    Trophy Points:
    83
    What error does compiler give.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice