Can I use the DataTable
class like this:
DataTable client = new DataTable("client");
int primay_key = 1;
DataRow row = null;
row = client.findBy(primary_key);
After findBy
, will the row object contains a row from the database?
I cannot find a example like that on the internet, looks like the .net
built in DataTable
class is not what I thought it was.