i want text of label when it in datalist
in .net , i have a problem . i want the text of label in datalist and i cant use id because its in datalist in its id is not available in c# or js .i don’t can use for to my label because i don’t now user click to Which linkbutton.
. this is my code :
How to fix empty datatable in C# ASP.NET Core MVC?
My datatable is not shown when I enter the products page. I deleted the foreach loop which can access all the data but my datatable does not work too. How can solve it?
I Can’t sign in with HtmlContext.Session in .Net 8.0
I can not sign in with using htmlcontext.session, it redirects me again in log in page. I have searched many articles in online but nothing solved my problem and I do not want to use JWT Token for this. Project videos which I work on it, recorded 2 years ago and trainer used FormsAuthentication class for session but now I cant use it. Probably because of it was updated but unfortunately, I could not solve it.