Hi.
i have taken my database from access and my table look like this.
Example. object description words
ball round, big, orange, big
pencil long, blue, big, long
ambulance alert, emergency, high emergency, alert emergency
phone incoming message, message alert, high alert, message incoming, emergency, alert
i am doing a search words which for example when i search for big.
Object that contain the word big will appear and thus calculate the number of words big and so how do i eliminate those that i do not want and after that including the wordcount that i have counted.
Finally at the end, sending the result all back to access on a new table.
This is what i did,
Console.WriteLine(reader.GetValue(1).ToString() + " = " + reader.GetValue(3).ToString());
string s=reader.GetValue(3).ToString();
string[] ss=s.Split(new char[]{','},StringSplitOptions.RemoveEmptyEntries);
int count = 0;
for (i = 0; i < ss.Length; i++)
{
if (ss[i].Equals(searchtext.text))
{
count++;
}
}
Console.WriteLine("count : "+count);
so how do i return my database together with the count. Thanks for the help