I'm quite fluent in .NET, but i do hardly ANY ASP.NET Development. In a recent project i've run into a simple task (in winfroms dev) that apparently is not simple in ASP.NET:
Binding a dataset to a datagrid, displaying the grid with template columns, and saving/updating the changes. not to one row, but the entire dataset.
in windows apps this is incredibly easy, as the dataadatper.update command looks at rows with the .haschanges = true and submits the updates. Yet, in ASP.NET the ONLY way ive found is to go ROW by ROW(in the datagrid, not dataset) and update each and every row in the dataset correspondingly, then issue the update command. There HAS to be a better way. What am I missing?
Binding a dataset to a datagrid, displaying the grid with template columns, and saving/updating the changes. not to one row, but the entire dataset.
in windows apps this is incredibly easy, as the dataadatper.update command looks at rows with the .haschanges = true and submits the updates. Yet, in ASP.NET the ONLY way ive found is to go ROW by ROW(in the datagrid, not dataset) and update each and every row in the dataset correspondingly, then issue the update command. There HAS to be a better way. What am I missing?