none
Can Linq work with SQLcomands on the same form RRS feed

  • Question

  • Goodday

    I have a windows form with VB  and SQL database ,and i find that once i have written some Linq queries that the SQL queries do not work anymore . Is there any reaon for this and if so how can i overcome it?

    THanks Rob


    rh
    Friday, October 15, 2010 5:18 PM

Answers

  • hi robhare

     

    you can work with both of them, but it's recommended to work with one of them, however if you really want to use both , just take care of your queries not to conflict.(ex: update a record with linq after it has been deleted by a sqlCommand!)


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. Regards, Alireza
    • Marked as answer by robhare Saturday, October 16, 2010 3:09 PM
    Saturday, October 16, 2010 9:35 AM