3,417 questions with ASP.NET tags

Sort by: Updated
4 answers One of the answers was accepted by the question author.

How to design patterns from scratch using C# asp.net MVC

I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,643 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-04-19T14:27:10.4633333+00:00
coder rock 296 Reputation points
accepted 2024-06-21T18:41:50.0666667+00:00
coder rock 296 Reputation points
3 answers One of the answers was accepted by the question author.

How to achieve key/value pair max accurately with simple string using c#

I have simple string value line which contain below content. logo Name raj mobile 9038874774 address 6-98 india bill auto generated Now I am trying key/Value pair to achieve my detail and the pair value output expecting like below [0] Key: Name …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2023-11-16T21:05:40.3933333+00:00
coder rock 296 Reputation points
accepted 2024-06-21T18:38:51.3+00:00
coder rock 296 Reputation points
1 answer One of the answers was accepted by the question author.

How to achieve Named Entity Recognition (NER) using C# asp.net

When we read a text, we naturally recognize named entities like people, values, locations, and so on. For example, in the sentence “Mark Zuckerberg is one of the founders of Facebook, a company from the United States” we can identify three types of…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-18T09:45:00.54+00:00
coder rock 296 Reputation points
accepted 2024-06-21T18:37:17.86+00:00
coder rock 296 Reputation points
1 answer

Save All GridView PageIndex Rows showing Duplicate rows in Database

Please help. How to Browse all 3 GridView Pages above and INSERT all rows into DB on Save Button click. Using below code is showing Duplicate row on last gridview page which is having only one record in its page 3. Thanks public void SaveButton(int…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-18T15:39:35.17+00:00
Imoleayo Emmanuel 20 Reputation points
commented 2024-06-21T09:57:46.4333333+00:00
QiYou-MSFT 4,311 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

System.NullReferenceException: 'Object reference not set to an instance of an object.' when trying to run new View.

Can someone please have a look at my code and help me understand why I'm getting this error? I have set up a controller and model, but when trying to run this view I get this error.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2022-09-23T04:42:24.867+00:00
Mel 21 Reputation points
commented 2024-06-21T09:31:45.6266667+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
2 answers

Combine 2 Solutions in to 1

I have 2 separate MVC applications (Project1.sln, Project2.sln) using Entity Framework in VS 2019. Both applications work fine if the project/solution is loaded separately. When I add Project2 in Project1, I get a long list of errors. What's the best way…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-06-12T05:31:39.46+00:00
Malam Malam 226 Reputation points
commented 2024-06-21T06:06:50.5633333+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
2 answers

aspx update button not updating all fields

I have an update button and when clicked, it updates all the fields in my sql table except for the "Channel" field. protected void btnupdate_Click(object sender, EventArgs e) { if (TextBox1.Text != "" &&…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-06-20T14:40:27.4766667+00:00
Walter Graulich 0 Reputation points
commented 2024-06-21T06:04:02.5866667+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Getting error while passing ajax control date (dd/MM/yyyy) as parameter in ASP.NET

I am using AJAX Calendar control inside the gridview control. I have set the date format as "dd/MM/yyyy" and my SQL column as "DOJ" field data type is nvarchar(10). End user want always the format like "dd/MM/yyyy". I am…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-20T13:59:43.9666667+00:00
BeUnique 2,112 Reputation points
commented 2024-06-20T17:35:44.0033333+00:00
BeUnique 2,112 Reputation points
1 answer One of the answers was accepted by the question author.

What is the best way to sending mail from gridview check box checked row

I am using gridview and it contains checkboxes. when i click submit button, i am sending mail to the customer for every checking record. if i save record without mail, data will be saving more accurate and fast. But, when i send mail for every records…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-18T08:37:52.73+00:00
BeUnique 2,112 Reputation points
accepted 2024-06-20T13:45:33.79+00:00
BeUnique 2,112 Reputation points
1 answer

'System.Web.UI.WebControls.GridView' does not contain a definition for 'ItemType'

We're using asp.net framework 4.8 and when publishing it, the aspnet_compiler.exe outputs this error multiple times: 'System.Web.UI.WebControls.GridView' does not contain a definition for 'ItemType' and no extension method 'ItemType' accepting a first…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-06-19T01:32:28.64+00:00
Carl_278 0 Reputation points
commented 2024-06-20T08:23:01.4566667+00:00
XuDong Peng-MSFT 10,341 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Gridview checkbox validation not working properly in asp.net

i am using gridview and it contains checkbox. i am not using any paging in the grid. I used submit button for the customer new request. whenever customer submit the request, it should validate and check 'atleast one checkbox" The validate is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-20T02:53:43.72+00:00
BeUnique 2,112 Reputation points
commented 2024-06-20T05:31:14.5733333+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
3 answers

How to eliminate if end user open the same ASP.NET page in another tab

This is simple question. I am developing ASP.NET application and sharing the hosted URL to end user. some times end user opens the same page in multiple tab. i want to control, either should not allow the same page in another tab or redirect some…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-18T14:39:10.5133333+00:00
BeUnique 2,112 Reputation points
commented 2024-06-19T02:42:53.65+00:00
QiYou-MSFT 4,311 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to Run Asp.net website project as a web Application Project

Hello, I have just assumed a duty to take over development of a asp.net project. It happened that the project is a asp.net website project, and I discovered the the former developer did not create App_code folder, when I brought the solution to my VS…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-17T13:06:17.44+00:00
Emeka Okoye 86 Reputation points
accepted 2024-06-18T20:47:40.9+00:00
Emeka Okoye 86 Reputation points
1 answer One of the answers was accepted by the question author.

Error 3002: Problem in mapping fragments in .EDMX

I have only one table in model's .edmx file. I updated the table in SQL Server by adding a column to it, opened up the .edmx file and used "update Model from Database" to update. The updated .edmx does show newly added field but I get a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,353 questions
asked 2024-06-18T06:04:21.64+00:00
Malam Malam 226 Reputation points
commented 2024-06-18T14:22:37.8233333+00:00
Soaad Nahas 0 Reputation points
3 answers One of the answers was accepted by the question author.

An error occurred on the server when processing the URL. Please contact the system administrator ?

An error occurred on the server when processing the URL. Please contact the system administrator. This is the error I receive in the localhost inetpub trying to launch a asp portal.Why?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2022-03-10T18:44:42.477+00:00
Albay Commandante 21 Reputation points
commented 2024-06-18T12:34:15.56+00:00
IS 0 Reputation points
2 answers One of the answers was accepted by the question author.

Losing GridView Textbox value after GridView Pagination Changes

Please help look into what i need to modify in my code. My textbox is losing values typed into its control after gridview pagination click. Thanks and code below <asp:GridView ID="GridView1" runat="server"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,642 questions
asked 2024-06-16T01:03:18.18+00:00
Imoleayo Emmanuel 20 Reputation points
accepted 2024-06-18T12:12:14.8533333+00:00
Imoleayo Emmanuel 20 Reputation points
3 answers

Change cookie path

In my ASP.NET application, I want to change the cookie path from the root to some specific folder. How can I do that?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-06-13T11:23:12.5066667+00:00
Adeel Mirza 21 Reputation points
commented 2024-06-18T07:28:06.71+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
1 answer

to adapt an html site to mobile or smartphone screen

Hello, I develop an html site and my site is not much visible on mobile phones, the texts are smalls and the body screen is not adjusted. I'm trying to use the viewport meta balise but there is no change, the texts are smalls and the body screen is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-11-22T06:15:44.923+00:00
marc-antoine yonga 81 Reputation points
answered 2024-06-18T06:50:06.5+00:00
Jim Climb the Mountain 10 Reputation points
2 answers

How to configure application insight logins in Asp .Net Mvc applciation. (Not in .Net Core)

I need to do logging inside the controller methods.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-06-05T13:36:00.81+00:00
Athula Chandrawansha 20 Reputation points
commented 2024-06-18T05:31:51.8766667+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
1 answer

ASP.NET azure hosted app / sql server Works on localhost only

When I run my simple CRUD app on localhost it works really good. Hint: It is using SQL server to insert data and server is hosted on my Azure Subscription inside same Resource Group Deployed app : myAzureWebsitesLink.net Not working route : School -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
850 questions
asked 2024-06-11T20:15:24.4333333+00:00
Anel Hodžić 0 Reputation points
commented 2024-06-18T05:17:19.6033333+00:00
Zohaib khan 0 Reputation points