public string StringQuery(string sql, SQLiteParameter[] parameters)
{
string result = string.Empty;
try
{
SQLiteDBHelper dbHelper = new SQLiteDBHelper();
DataTable data = dbHelper.ExecuteDataTable(sql, parameters);
if (data != null && data.Rows.Count > 0)
{
result = data.Rows[0][0].ToString();
}
}
catch
{
}
return result;
}