I have a database in ms-access and wanted to select from it,
I know my question is very simple but I couldn't find the solution for it
this is how I want to select:
public static void SearchRationCreatorName(string RationCreator)
{
string StrCon = System.Configuration.ConfigurationManager....
OleDbConnection Connection = new OleDbConnection(StrCon);
OleDbDataAdapter DataA = new OleDbDataAdapter
("Select * from tRations where tRations.RationCreator= [RationCreator]", Connection);
DataTable Dtable = new DataTable();
DataA.Fill(Dtable);
but instead of selecting one row it select all of records in that table