Hello,
I have a table which contains row data as links to .txt files. I want to display the data contained in the .txt file as output in c# MVC .
the table looks like below.
tablefile
\\Isilon\tablefileSCANS\inc\1\nct\2011\08\20110816134516.txt
\\Isilon\tablefileSCANS\inc\1\nct\2011\08\20110801113335.txt
\\Isilon\tablefileSCANS\inc\1\nct\2011\08\20110816134516.txt
\\Isilon\tablefileSCANS\inc\1\nct\2011\08\20110801113335.txt
\\Isilon\tablefileSCANS\inc\1\nct\2011\02\20110221143603.txt
.....
.....
....
Please help me with this.
Palak PatilPosted Sep 17, 2019, 1:37 PM
Hello Sonu ,
Thanks for the links. I need the application to read the .txt files dynamically. When you look at the below output.
Sonu GuptaPosted Sep 17, 2019, 12:16 PM
Palak PatilPosted Sep 17, 2019, 10:14 AM
Hello Amit, thanks a lot for helping on this.
It did work but the .txt data is displayed in a small pop up wondow as below.
Amit MohantyPosted Sep 17, 2019, 12:14 AM
Palak PatilPosted Sep 16, 2019, 8:37 AM
Thank you Amit,
'Network\\Isilon\\IBEXSCANS\\inc\\1\\nct\\2011\\08\\20110816134516.txt'Here is what I added to the controller and View.
{ return View();[HttpPost]{return Content(text);Amit MohantyPosted Sep 13, 2019, 1:21 AM
ASP.NET
Palak PatilPosted Sep 12, 2019, 7:13 AM
Thank you for the replies. I think the answers are concerned with only one .txt file.
which contains different .txt files in each row. So when the user clicks on one link he should get the data contained in that text file.When he clicks the next link he should contain data in that .txt file and so on...
Amit MohantyPosted Sep 11, 2019, 11:52 PM
@TempData["Code"]
Vincent Maverick DuranoPosted Sep 11, 2019, 6:25 PM