SQL Server DO's and DONT's - C# Database

The Code Project - SQL Server DO's and DONT's - C# Database Interessant dabei: DON'T open large recordsets A common request on programming forums is: "How can I quickly fill this combo with 100,00 items?". Well, this is an error. You can't and you shouldn't. First, your user will hate browsing through 100,000 records to find the right one. A better UI is needed here, because you should ideally show no more that 100 or 200 records to your users. DON'T ignore simultaneous editing Sometimes two users will edit the same record at the same time. When writing, the last writer wins and some of the updates will be lost. It's easy to detect this situation: create a timestamp column and check it before you write. If possible, merge changes. If there is a conflict, prompt the user for some action.

Latest Posts

Popular Posts