datareader
Random DataReader errors and thread-specific DataContext allowing for changing DataLoadOptions
My .NET MVC project has reached the stage of testing with multiple users and I am getting seemingly random errors (from any screen in the site) relating to Linq2Sql DataReader issues, such as:[详细]
2023-01-07 09:27 分类:问答DataReader.GetString() via columnname
Dictionary Fields = new Dictionary(); for (int i = 0; i < reader.FieldCount; i++) { Fields.Add(reader开发者_运维技巧.GetName(i), i);[详细]
2023-01-06 16:28 分类:问答Iterate twice through a DataReader
I need to iterate 开发者_开发问答twice through a DataReader. Is there a way to do this without using DataSets and without running the query twice? I\'m using C#, by the way.[详细]
2023-01-06 00:57 分类:问答SqlHelper.ExecuteReader results varying and unexpected when certain number of records are returned
Note: You may not need to read the whole thing to know what\'s wrong... skip down to the part about the 3 scenarios if you\'d like. Only read the begin if you\'d like some background info on how I\'ve[详细]
2023-01-05 10:37 分类:问答OleDbException (0x80004005): Not specified error?
I created a button (Next) to navigate in a Table called CHAPTERS; My problem is that the button work Two, and sometimes three times. After that I get [No开发者_开发技巧t specified error].[详细]
2023-01-04 21:26 分类:问答Get the number of Rows returned by a OleDbDataReader ASP.NET (VB)
After connecti开发者_JS百科ng to a database using DataReader, how can I count the number of rows ?[详细]
2023-01-04 01:56 分类:问答how can i loop through all of the columns of the OracleDataReader
I have the following code and i want to loop through all the fields in the result of this query and populate the dictionary 开发者_StackOverflow中文版called field.[详细]
2023-01-02 11:22 分类:问答C# How can I get each column type and length and then use the lenght to padright to get the spaces at the end of each field
I have a console application that extracts data from a SQL table to a flat file. How can I get each column type and length and then use the lenght of each column to padright(length) to get the spaces[详细]
2023-01-02 09:13 分类:问答Spring batch datareader returns extra null object on end of collection of read items?
I\'m u开发者_Python百科sing Spring batch - using datareaders to load up lists of items. For each of my readers, they all return an extra null object on the end of the list.[详细]
2023-01-02 05:53 分类:问答problem with DataReader ASP.NET (Visual Basic)
I have this problem : [InvalidOperationException: No data exists for the row / column.] System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1029063[详细]
2023-01-01 23:30 分类:问答