hi
i have this code for fast search
Tmp = "";
MAK = "";
DES = "";
Cmd.CommandType = CommandType.TableDirect;
Cmd.CommandText = "Ham";
Cmd.IndexName = "B";
Cmd.SetRange(DbRangeOptions.Match , new object[] { txtMa.Text }, null);
SqlCeDataReader read = Cmd.ExecuteReader();
while (read.Read())
{
Tmp = read[2].ToString();
MAK = read[0].ToString();
DES = read[1].ToString();
}
read.Dispose();
if (Tmp == "")
{
return false;
}
else
{
txtDes.Text = DES;
return true;
}
it works excellent - but the problem is
when i search ABC
and when i search abc
i get the same resault
how to separate between them ?
thank's in advance