ado.net
Difference between Convert.ToString() and .ToString() in C#? [duplicate]
This question already has answers here: Close开发者_如何学运维d 11 years ago. Possible Duplicate:[详细]
2023-04-01 23:03 分类:问答Multiple DBContexts with UnitOfWork and Repositories?
How can i create multiple dbcontexts and how to adress this to a repository to use? My current example is based on MyFinance, codeplex application , so this means you should be able to view the sourc[详细]
2023-04-01 18:00 分类:问答Share SqlConnection object in ASP.NET Web App Between DB calls
Is there a way to efficiently share a single SqlConnection instance between calls from at least the same pa开发者_如何学JAVAge or either same request or whole app?If you are using ADO.NET or any frame[详细]
2023-04-01 07:55 分类:问答how to fill data set in C# using ado.net [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. 开发者_如何学P[详细]
2023-04-01 06:13 分类:问答BindingSource Get Column Information
SqlConnection con=new SqlConnection(); SqlDataAdapter adap=new SqlDataAdapter(\"select * from student where Id=-1\",con);[详细]
2023-03-31 20:37 分类:问答enterprise library dbcommand AddInParameter method
I have been using enterprise library since long time.We are changing column type varchar to nvarchar in database to support different language.We do have some legacy code that is using traditional way[详细]
2023-03-31 19:08 分类:问答DbConnection.GetSchema("Tables") returns tables only for one database
I try to get all table names for all databases. But GetSchema(\"Tables\") returns names only for one db.[详细]
2023-03-31 18:14 分类:问答Batch operation with ADO.NET
Do SqlTransaction\'s perform a batch operation without repetitive access to the database? I don\'t know since SqlTransaction seems to group a bunch of SQL commands tog开发者_高级运维ether and finally[详细]
2023-03-31 13:25 分类:问答.NET String Assignment Removes Characters [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-31 07:06 分类:问答Re-open SqlDataReader
My code throws the error Invalid attempt to call Read when reader is closed. I\'m using SqlDataReader to read values from database, and that is my code:[详细]
2023-03-31 05:10 分类:问答