I want to create text file and write data to it.
emp1 A present
i want to write the text in a text file by checking emp1 is present/not in gridview when a button is pressed.
I am using C# windowsform Application
Can anyone help me to solve this problem.