Hi ,
how generate data 500MB more second file generate in C# using data table.
Regards,
Pratik
Hi ,
how generate data 500MB more second file generate in C# using data table.
Regards,
Pratik
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jithu ThomasPosted Aug 14, 2024, 2:12 PM
You will need to serialize the
DataTableinto a file and check the file size as you write. If it exceeds 500 MB, you should close the current file and start a new one. Also you can use aStreamWriterto write to files. Keep track of the file size and create new files as needed.