ado.net
SqlDataReader.RecordsAffected incorrectly returns -1 when using INSERT...OUTPUT.inserted
We rely on SqlDataReader.RecordsAffected to count the number of rows modified by a stored procedure. MSDN states its definition as:[详细]
2023-04-11 14:20 分类:问答Entity Framework 4 (Assocations configured with filters)
I have a user entity that contains a collection of survey entities. i would like the 开发者_StackOverflowassocation to include a filter on the relationship, such as \'IsCompleted\', so whenever i eage[详细]
2023-04-11 10:46 分类:问答generic c# class for SELECT, INSERT, UPDATE and DELETE operations in asp.net
I\'m searching for a code example/link that does what the title says. Basically I need to create a data access layer for my asp.net website, and I want it to be as generic as possible. I prefer to wo[详细]
2023-04-11 10:17 分类:问答SqlException during the pre-login handshake
I ported my SQL Server DB from local to production environment and suddenly faced the following error during connect[详细]
2023-04-11 06:35 分类:问答App is sending an email to the wrong person, anyone knows why or how to resolve?
I am still having some issues with the issue I posted last time regardin formview not 开发者_运维百科updating correctly.[详细]
2023-04-11 04:11 分类:问答Is it possible to set TRANSACTION ISOLATION LEVEL SNAPSHOT automatically?
because i\'ve recognized locks on tables that are queried simultaneously, i\'ve decided to enable ISOLATION LEVEL SNAPSHOT that was new to me.[详细]
2023-04-11 03:59 分类:问答DataTable memory leak
following piece of code is leaking memory even if no data is returned by database. could anyone shed some light on this. .net 开发者_C百科profiler application shows that the culprit is datatable[详细]
2023-04-11 02:25 分类:问答invalid XML identifier as required by FOR XML
I have a sp which returns me: Select 10 as Visits,5 as [Test_Drives],3 as Orders,\'£5000\' as [Profit_£],4 as Deliveries,\'£6000\' as [Delivered_Profit_£][详细]
2023-04-11 01:48 分类:问答oledbtransaction & oledbconnection lifetime
i\'m doing an application in asp.net using a class stack of my authorship to abstract some complexity of the database and the interaction in it is done using 1 connection among all the classes; consta[详细]
2023-04-11 01:23 分类:问答best way to split up a long file. Programming or SQL?
I have a database Table (in MS-Access) of GPS information with a record of Speed, location (lat/long) and bearing of a vehicle for every second. There is a field that shows time like this 2007-09-25 0[详细]
2023-04-10 18:49 分类:问答