Home > Net >  How to rewrite the Delete and Update methods based on new DataSet binding?
How to rewrite the Delete and Update methods based on new DataSet binding?

Time:10-22

I have added a new column to my DataSet and after adding, visual studio asked me if I want to rewrite my updating methods and I said yes. Now, My Delete method is broken and I can not use it like before. What should I do ?

CodePudding user response:

Amirhesam You have to manually configure your Delete method like below Table Adapter Properties -> Delete Command -> CommandText enter image description here

  • Related