Search code examples
c#.netwinformsdataset

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


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 ?


Solution

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