You can retrieve data from your database using
DataTable.
After that you can access to the desired column just like this:
DataTable dt = GetDataTableFromDB();
string values = dt.Rows["mobile_no"].ToString();
Saves the content of
values in your txt file using
StreamWriter.
Hope it helps.