Simple Graph Chart Required For Asp.net c# MS SQL
Hello This is my table data /****** Object: Table [dbo].[Table_2] Script Date: 03/28/2024 11:06:28 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Table_2]( [ID] [int] IDENTITY(1,1) NOT NULL, [JAN] [float]…
remove from textbox
Hello In textbox user enter something like this ABFREE on insert sql query from C# i have to remove this special charater I already used trim but not working cmd1.Parameters.Add(new SqlParameter("@CodeName",…
Error creating an Asp.Net MVC project with Microsoft Identity
Using VS 2022, I created a sample Asp.Net MVC project with Microsoft Identity (.net 4.8) and toward the end of the setup it wanted to configure the Microsoft identity platform. This step fails with the following error message below: Errordotnet tool…
show label data based on gridview data
Hello I have girdivew1 in that i have this data forexample And i have one dropdownlist and one label if i select from dropdownlist MANGO it has to in label as 10 if i select from dropdownlist APPLE it has to in label as 4 how to do so
unhandled exception script
Traceback (most recent call last): File "app.py", line 40, in <module> File "database_manager.py", line 19, in load_data_to_memory File "encrypt_decrypt.py", line 11, in decrypt File…
Visual Studio 2022 considering Desktop application as ASP.Net & generating errors
I have developed a desktop application using Visual Studio 2022. I then developed a web application ASP.net with Visual Studio 2022. Now, whenever I launch the desktop application, VS considers it an ASP.net application, and is generating errors by the…
Setting Gridview color and font from database value
I am trying to set color in my gridview grid lines and also set font in my gridview from a database value. I tried a workaround is to do this by using the GridView's RowDataBound event but the color value from database did not apply in the gridview. At…
How to save session id and validate it with another session id when user log in to the application from new browser
Hi Support, I want to save the UserId and SessionID. When the user logs into the application with the same URL in another browser then I need to validate that the SessionID is not the same when logging into the application in another browser. I tried…
Is it true that .aspx (WebForms) is old technology and will be absent in all future asp.net versions?
I wonder that people say that WebForms is old/legacy/outdated technology, and that everyone should create MVC/.Core projects, which have no .aspx pages. Is it true that .aspx technology (WebForms) is not developed any more? I like visual design in…
How to remove html tags and line break plain text
I wish to re format the email html page text below to a plain text style in a legible presentation with line breaks where breaks are present. The regularExpression example i am following for simplification, does not seem to work? ```Note, i am…
How to send all listview databound data to itemcommand event
I would like to retrieve all listview bound data in code behind when i click a button. I have tried itemcommand event while using select command although i only able to retrieve the control bound data for this event. whereas i could do with retrieving…
Change Label Data In to QR code For Free
Hello This is my gridview data <asp:TemplateField HeaderText="NAME"> <ItemTemplate> <asp:Label ID="PN" runat="server" ForeColor="Black" Text='<%# Bind("process_name")…
in asp.net c# Process.start not working after publish in IIS local host
code is System.Diagnostics.Process.Start(@"\web1\"); Error is Exception Details: System.ComponentModel.Win32Exception: Access is denied Stack Trace: [Win32Exception (0x80004005): Access is denied] …
Unclear exception captured
Hi, The exception captured is mentioning the error on 1st line of the event below. If I remark 1st line of the event, it will further mention the other parts that is after such "if part". I do not know why the exception is making the issue…
Azure B2C Authentication with OWIN for ASP.NET MVC Application - Login is not prompting for credential after successful Logout
We have an application that is built using ASP.NET MVC. We have implemented Azure B2C authentication with OWIN (Open Id Connect) framework. Login functionality is working fine for the first time however, we have another requirement that the application…
[Question] What is the root cause of Event Code: 3005 HttpException Request format is unrecognized.
I would like to learn and understand more about the error (HTTP Error 503. The service is unavailable) that I am getting when attempting to access the URL. When I checked my IIS, the application was in a Stop state. Did it crash or something? See below…
ASP.NET - xmlformatter
I have software that was developed for me. It is ASP.NET which I have no experience with thus the development. This was delivered a long while ago. I need to make changes and am struggling. This is a webservice with an api that you can call externally…
show financial year from date and to date
Hello I have two requriements 1) Current financial year Is Apr-2023 TO Mar-2024 In asp.net dropdownlist it has to show previous 3 years financial format as below for example on pageload Apr-2023 TO Mar-2024 Apr-2022 TO Mar-2023 Apr-2021 TO Mar-2022 …
How to send complex objects from one Razor page to another
I am working on an ASP.NET Core 6.0 Identity project. I want to pass an ApplicationUser object to the LoginWith2fs.cshtml page from the Login.cshtml page. The following is my code: Code in Login page: return RedirectToPage("./LoginWith2fa",…
Send email form Gmail account using C#
When sending an email using the followng code, I'm getting an error, I'm asking for your help. Authentication Required. Learn more at string adSoyad = txtAdSoyad.Text; string konu = "Koçaslanlar Web Konu başlığı"; string epostaAdresi =…