I want to know if it is available in pocket pc programming using C# to do the following :

(if a user wanna open a file he clicks it, i want my program to not-open the file but first looks up the parameters of the open function (name of file) in a database then the decision whether to open the file or not is based on a specific criteria)


if this is aplicable, plz i want somebody to tell me how ,, if not plzzzzz, send me an alternative to it.... thanx in advance

Note: this is a piece in my graduation project , which really makes me mad and i need ur help really soooooooooooon