using (SqlDataAdapter da = new SqlDataAdapter("SomeInsertQuery")) { using (DataSet ds = new DataSet()) { da.Fill(ds); //here i need to check whether insertion is successful or not so that i can display proper error message... if (!String.IsNullOrEmpty(successMsg)) { PSVMsgBox.ShowDALMsgBox(successMsg); } } } Thanks in Advance.
Fill
Quote:Return Value Type: System.Int32 The number of rows successfully updated from the DataSet.
DataSet
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)