How to insert only some rows?
Sorry for my bad English.
I'm using C# WinForms in VS2008 and SQL Server 2008.
I have a grid with some rows with Price = null.
I want to insert only the rows with Price != null when I update the database, without delete the rows with Price = null from the grid.
How can I do it?
Thank you.
Norberto

Norberto Kelijman7 reputationPosted Jun 6, 2009, 5:35 AM EDT
Rodick Wu118 reputationPosted May 27, 2009, 11:42 PM EDT
Norberto Kelijman7 reputationPosted May 28, 2009, 6:06 AM EDT
Rodick Wu118 reputationPosted May 28, 2009, 6:53 AM EDT
Norberto Kelijman7 reputationPosted May 28, 2009, 8:14 AM EDT
Satyanarayan Bajoria12 reputationPosted Dec 10, 2009, 12:58 AM EST
You can achieve this by creating DataView.