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…
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 …
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…
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…
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.
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…
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 != "" &&…
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…
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…
'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…
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…
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…
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…
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…
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?
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"…
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?
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…
How to configure application insight logins in Asp .Net Mvc applciation. (Not in .Net Core)
I need to do logging inside the controller methods.
![](https://techprofile.blob.core.windows.net/images/9br_lVNzskCNQt61U0Odeg.png?8DC730)
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 -…