private boolean IsRecordExists(int weldnumberValue , int jointnumberValue) { //Select rtnumber from mytable where weldnumber= "+weldnumbeValue +" and jointnumber= "+jointnumberValue+" //Get values in dataset //Check dataset table row count //if 1 return true else false }
if(!IsRecordExists(1,1)) { //Data insert code } else { //Error:Data already available }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)