12149 0
Understanding ASP.NET Gridview control with an example
In this article, I have explained about how we can create gridview in asp.net and how to bind gridview with data in Sql server database, with an example.
Type
Article
12137 2
How to clean and build solution in visual studio code (.net core2)

Hi, I want to build and clean my project solution in visual studio code, but I can't find the option of clean and build in visual studio code, like we clean the project by clicking right project and click on "Clean" or "Build" in Visual Studio.

How can I do the same thing in visual studio code. Thanks.

...
Type
Question
12105 1
Form Submit in ASP.NET MVC C# (HTML.BeginForm Example)
In this article, I have explained about HTML.BeginForm in ASP.NET MVC and how to submit form in asp.net mvc C# using simple example.
Type
Article
12051 2
disable browser back-forward button after logout in MVC

how can I disable browser back-forward button after logging out from asp.net MVC C# web application, I have tried this javascript code

...
Type
Question
12018 0
OutputCache in ASP.NET MVC ( Caching in MVC)
This article will help you in understanding the usage of OutputCache with its filter parameters and how to improve the performance of your web application using OutputCache with an example.
Type
Article

12014 1
Pass checkbox values to Controller and show confirmation before deleting data in MVC C#

Hi, I want to pass multiple checkbox values for deleting data like

checkbox1: a,b,c,d  checkbox2: e,f,g,h

and pass it to the controller and want to show modal popup before sending Data to the controller:

Are you sure, you are going to delete 2 items? (Delete/No)

the modal pop-up will contain the only count of selected data and delete button for confirmation?

Delete button will delete all selected data

should I pass the data in JSON format or in the string?

Right now, I am passing the data like : var a = {values = CommaSeperatedValues}
In the controller Method passing argument as List<string> values and fetched values but I am getting an error like unexpected char at JSON

...
Type
Question
11982 0
File Upload in ASP.NET (Web-Forms Upload control example)
In this article, I have explained how we can upload file in asp.net web-forms using asp file upload control, step by step.
Type
Article
11978 0
Use of Ajax.BeginForm in ASP.NET MVC C#
This article gives a brief introduction to Ajax.BeginForm & explains how to use it in ASP.NET MVC C#
Type
Article
11942 1
Create Captcha in asp.net with refresh button (Code with example)
In this Article, I will Explain how to add and validate Captcha Image in Asp.Net Application using Mscaptcha dll Example with refresh button
Type
Article
11922 2
How can I add new SelectListItem at first position of a List in C# MVC?

I have already created a List in my ASP.NET MVC Controller, now I would like to add new Element at first position of the sorted list, how can I add it using ASP.NET MVC C#?

Here is the current C# code.

...
Type
Question

Page 7 of 31