vendredi 24 avril 2015

How to write test case to check .xlsx and .xls in C#

I am trying to write test case, which should allow only excel files(".xlsx",".xls") to pass through, for every other extensions the pass should fail.How can I restrict when I choose other extension,how to write the test case for the same in C# unit test.Any help for the same will be useful.

Aucun commentaire:

Enregistrer un commentaire