how to get the last row values from data set
I think it is datatable as dataset doesn't contain any rows directly.
This gives the last row of the datatable.
datatable.Rows[datatable.Rows.Count - 1]
DataSet.Tables[0].Rows[DataSet.Tables[0].Rows.Count -1]