datareader
Error in DropDownList using ASP.NET
I have a DropDownList called (DDL) in ASP.net page, I want that DDL contains some records of a table in the data base.[详细]
2023-01-01 10:19 分类:问答How to initialize F# list when size is unknown, using while..do loop
I have a function that will parse the results of a DataReader, and I don\'t know how many items are returned, so I want to use a while..do loop to itera开发者_运维技巧te over the reader, and the outco[详细]
2023-01-01 06:48 分类:问答Displaying data from DataReader in Label control (ASP.NET)
I have a query that returns one row so I want to display it in the Label, but I can\'开发者_开发百科t find the property DataSource on it.[详细]
2023-01-01 01:50 分类:问答Idatareaders not returning values from database
In my codebehind I have this vb: Dim reader as idatareader = includes.SelectDepartmentID(PageID) While reader.Read[详细]
2022-12-31 07:30 分类:问答DataReader - hardcode ordinals?
When returning data from a DataReader I would typically use the ordinal reference on the DataReader t开发者_如何学运维o grab the relevant column:[详细]
2022-12-30 23:05 分类:问答Numeric operations over SHA-1 generated keys in C#
I\'m trying to implement a Chord distributed hash table. I want to开发者_JAVA技巧 use SHA-1 as the hash function to generate node ids and map values to the DHT. However, I\'ll need to use numerical op[详细]
2022-12-30 01:59 分类:问答SQL DataReader how to show null-values from query
I have a DataReader and a StringBuilder (C#.NET) used in the following way; while (reader.Read()) { sb.AppendFormat(\"{0},{1},{2},\",reader[开发者_StackOverflow中文版\"Col1\"], reader[\"Col2\"], read[详细]
2022-12-29 10:57 分类:问答Close reader before closing connection
Should you always close a DataReader before closing the connection, or 开发者_Go百科is it okay to just close the connection? By just closing the connection does that effectively close the reader?[详细]
2022-12-24 00:16 分类:问答How to read a database record with a DataReader and add it to a DataTable
I have some data in a Oracle database table(around 4 million records) which i want to transform and store in a MSSQL database using ADO.NET. So far i used (for much smaller tables) a DataAdapter to re[详细]
2022-12-23 14:16 分类:问答Read from multiple tables in vb.net data reader
I\'m trying to read from two tables in mysql: Dim sqlcom As MySqlCommand = New MySqlCommand(\"Select * frommother, father where IDNO= \'\" & TextBox14.Text & \"\' \", sqlcon)[详细]
2022-12-23 13:14 分类:问答