python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to handle duplicate records in Asp.net Web API
I have implemented CRUD operations using ASP.net. Every API method is working fine but the problem is , in the front end - if someone is putting same primary key its giving a particular Exception erro...

Suprateem Bose
Votes: 0
Answers: 1
C# ASP .NET Entity Framework select from multiple nested tables
Hello I'm trying to get data from nested tables with select. I've four tables Pins, Tags, Media and MediaTags, Pins can have multiple media and each Media can have multiple Tags, Now I'm trying to que...

Mujtaba
Votes: 0
Answers: 1
Can't limit length of input with ado.net
Trying to limit maximum length of input but can't. So if input length is 10, code does not limits to three. What is my mistake?
Here is code:
using Microsoft.Data.SqlClient;
async void FillTable()
{
...
Developer Mister
Votes: 0
Answers: 1
Read committed data within a transaction in sql server
I want to read data without dirty reads in the middle of a transaction. Is that possible?
CREATE TABLE [dbo].[Tbl](
[Id] [int] NOT NULL,
[Detail] [varchar](50) NULL)
insert into Tbl values(1,...

Gani P
Votes: 0
Answers: 0