Hi, I know this seems very simple, I have the datatable filled with the records and all i want is to increment it. My code looks like this:
Is this code correct?Code:SqlDataAdapter da = new SqlDataAdapter(cmd); //this is creating a data table DataTable dt = new DataTable(); int invNum = da.Fill(dt); invNum = invNum + 1;




Reply With Quote