I have to read very large data, approximately 300000 lines, from SQL tables and write it to a text file in my application (.net application and using C#). I have a stored procedure to read that data, and I am using DataAdapter
and DataSet
in my code to get that data, but I am getting the error
The wait operation timed out
when it executed dataAdapter.Fill(dataSet)
. I tried to change value of timeout, but it didn't work. I tried different approaches, but nothing seems to work. It works for few lines, but it doesn't work for large data. I can't grab small data because they need whole data in one text file