C# why is int value keep getting reset to 0?
Goal: Keep value of int (professorIndex) reachable when I get to the button click method (btnUpdateAvailability_Click())
Goal: Keep value of int (professorIndex) reachable when I get to the button click method (btnUpdateAvailability_Click())
I wanted to read and parse a .txt file by calling it in the project’s folder.
this is the read code
I have an ASP.NET MVC application and I cannot connect to the local SQL Server database that is hosted on my machine.
I am unfamiliar with select dropdowns and links. If I have:
This is the first time i am deploying an ASP web api. The api runs smoothly in Debug/Release section but i got an error when first deployed it.
In my page load based on certain condition i call UserMsgBox(“user Not Authorize”) and it is working. while if i call Response.Redirect(“Home.aspx”) after that it is not showing alert message.
I have exported about 1K users from an Umbraco database. We have emails and hashed_passwords for each. There appears to be no per-user salt.
I’ve got a set of buttons in my ASP.NET webpage that look like this:
I’m trying get get only the last part of a file name in a server folder between the “_” and “.pdf” in order to delete specific files only.
The files in the invoices folder are like this: Invoice_12345.pdf, Invoice_2345.pdf, Invoice_5555.pdf, etc. I need to extract the “12345”, “2345”, and “5555”, then I need to delete the file if it is not contained in a database query.
I am working on a project created as “Web Application Project” in C#, I am trying to implement new functionality to existing pages. Changes done on aspx page are working properly but when I add code into code behind file, changes are not reflecting. Things I have tried: