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
When returning data from a DataReader I would typically use the ordinal reference on the DataReader t开发者_如何学运维o grab the relevant column:
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
Morning stackoverflow, I have a repeater, with the following code in my aspx page; <asp:Repeater ID=\"Contactinforepeater\" runat=\"server\">
I noticed This question, but my question is a bit more specific. Is there any advantage to using using (SqlConnection conn = new SqlConnection(conStr))
c.Open() r = x.ExecuteReader If Not r(\"filename\").IsDbnull Then imagepath = \"<img src=\'images/\'\" & getimage(r(\"filename\")) & \" border=\'0\' align=\'absmiddle\'\"
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
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
Does anyone know how DbData开发者_如何学CReaders actually work. We can use SqlDataReader as an example.
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