CSV return value

I have a simple CSV file like this:

model,mat,price
pippo,giallo,300
pippo,rosso,500
gigi.giallo,400
gigi,rosso,600

i need script for search value like this:
first search pippo, second search giallo and finally return me price.
How can i do this? How can i find some tutorial or sample?
Using CSV is right way?

S.
Thanks.

After 3 hour I add this code on update in CSVreader script…
It is a research by row (material) and column (model) and this return me index position for price…

the CSV is:

model, mat1,mat2,mat3;
pippo,100,200,300;
gino,1000,2000,3000;

and the code is:

...
for (int i = 0; i < grid.GetUpperBound(1); i++) {
			if (grid [i, 0] == mat) {
				x = i;	
			}
		}

		for (int j = 0; j < grid.GetUpperBound(0); j++) {
			if (grid [0, j] == model) {
				y = j;	
			}
		}

		price = grid [x, y];
...

I know… It is simple, but for the moment i can have manage a little database…
Now i try with biggest file…
Hope this work with web player, iOS ,android and can download with www…
Suggestion are appreciate…