sqldatareader
The proper way to implement paging in SqlDataReader !
I Am correctly using my own way to achieve this, but Idon\'t know if it is efficient or not , so this is the function :[详细]
2023-02-26 22:48 分类:问答getting query results twice
Hi I\'m getting results twice in this page and I\'m not sure why. When I query the database after I select Option 2 in DropdownList1 results appear twice. Is it because the results appear in an update[详细]
2023-02-26 03:55 分类:问答Convert Sequence.Generate to Sequence Expression
I have the following code that uses Sequence objects to read data from a database table. V1 works correctly but since the Seq.generate function is deprecated I receive compiler warnings.[详细]
2023-02-23 08:19 分类:问答sqldatareader error
I want to check if the sqldatareader is null or not.So tried the following code: if (x[k]!= DBNull.Value)[详细]
2023-02-22 03:23 分类:问答Invalid attempt to Read when reader is closed
I\'m working on C# and MySql request. I\'m trying to retrieve my datas in my db but I have this error message : Invalid attempt to Read when reader is closed.[详细]
2023-02-22 00:16 分类:问答SQLDataReader Row Count
I am trying to get the number of rows that were returned by iterating the reader. But I always get 1 when I run this code? Did I screw up something in this?[详细]
2023-02-21 07:13 分类:问答handle null from database
I need to round and print a price like below, but this does not handle null values. How can I handle null values on one line of code?[详细]
2023-02-20 14:39 分类:问答How to save a retrieved column from a datareader into an array?
I would like to retrieve a single column of about 800 rows in a table and save these values in an array so as to reference t开发者_开发问答hem later on. How can I do it? I tried:[详细]
2023-02-17 14:00 分类:问答Values not updating correctly in database after being operated on in a loop
I have the following code: Imports System.Data Imports System.Data.OleDb Partial Class Dummy Inherits System.Web.UI.Page[详细]
2023-02-17 10:06 分类:问答Filling an arraylist from a datareader
I have a problem with how to fill an array list from a data reader string queryDTL = \" SELECT * FROM tbl1\";[详细]
2023-02-16 18:49 分类:问答
加载中,请稍侯......