1.

Explain Peek method in Tempdata in ASP.Net MVC?

Answer»

Similar to Keep method we have one more method called "Peek" which is used for the same purpose. This method used to read data in Tempdata and it maintains the data for subsequent request.

string A4str = TempData.Peek("TT").ToString();


Discussion

No Comment Found