sqldatareader
Cast error on SQLDataReader
My site is using enterprise library v 5.0. Mainly the DAAB. Some functions such as executescalar, executedataset are working as expected. The problems appear when I start to use Readers[详细]
2022-12-31 04:07 分类:问答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 分类:问答Having problems with sqlDataReader
I am using a sqlDataReader to get data and set it to session variables.The problem is 开发者_如何转开发it doesn\'t want to work with expressions.I can reference any other column in the table, but not[详细]
2022-12-30 12:53 分类:问答Repeater not repeating :0) (asp.net)(vb)
Morning stackoverflow, I have a repeater, with the following code in my aspx page; <asp:Repeater ID=\"Contactinforepeater\" runat=\"server\">[详细]
2022-12-27 12:40 分类:问答Is closing/disposing an SqlDataReader needed if you are already closing the SqlConnection?
I noticed This question, but my question is a bit more specific. Is there any advantage to using using (SqlConnection conn = new SqlConnection(conStr))[详细]
2022-12-27 09:39 分类:问答What is wrong with this null check for data reader
c.Open() r = x.ExecuteReader If Not r(\"filename\").IsDbnull Then imagepath = \"<img src=\'images/\'\" & getimage(r(\"filename\")) & \" border=\'0\' align=\'absmiddle\'\"[详细]
2022-12-27 08:25 分类:问答If we cannot retrieve output parameters until SqlDataReader is closed, then why...?
1) While the SqlDataReader is being used, the associated SqlConnection is busy serving the SqlDataReader, and no other operations can be performed on the SqlConnection other than closing it. This is[详细]
2022-12-27 06:37 分类:问答C#: Is this the correct way to use the SqlDataReader for DAAB
I have just started using the Data Access Application Block from microsoft. There are开发者_开发百科 very few instructions on the correct way to use the library. Just wanted to know if this is the cor[详细]
2022-12-26 09:53 分类:问答SqlDataReader / DbDataReader implementation question
Does anyone know how DbData开发者_如何学CReaders actually work. We can use SqlDataReader as an example.[详细]
2022-12-24 07:19 分类:问答adding a dataset inside a datareader in vb.net
i hope i have asked the question title correctly. let me explain my issue - i am making a table through vb.net code (htmltablecell, htmltablerow..) no this table populates with an sql query and works[详细]
2022-12-21 16:51 分类:问答