Reading,Writing, Editing BLOBS through DataTables and DataRows
- by Soham
Consider this piece of code:
DataSet ds = new DataSet();
SQLiteDataAdapter Da = new SQLiteDataAdapter(Command);
Da.Fill(ds);
DataTable dt = ds.Tables[0];
bool PositionExists;
if (dt.Rows.Count > 0) { PositionExists = true; }
else { PositionExists = false; }
if (PositionExists)
{
…