dataadapter
writing an update SQL Query using dataadapter with a muliplier function
I have a windows application using c#.I am using Northwind Products table and I need to update all Unit Prices by the same percentage.I know how to write this in a SELECT query but having trouble with[详细]
2023-02-15 05:03 分类:问答multiple select statements in single ODBCdataAdapter
I am trying to use an ODBCdataadapter in C# to run a query which needs to select some 开发者_如何学Godata into a temporary table as a preliminary step.However, this initial select statement is causing[详细]
2023-02-11 14:53 分类:问答DataAdapter Fill command prohibit "write" operation
Is there any way I can avoid \"wri开发者_如何学运维te\" operations while a dataset \"Fill\" operation ?[详细]
2023-02-09 03:21 分类:问答dataset update fails when inserting new row
I am inserting a new row into a dataset dsStaff1 via DataAdapter1.Update() method. I am getting the following error:[详细]
2023-02-07 19:51 分类:问答How do I detect changes made by a trigger on a single row using the OracleDataApdater
Im updateing a single row of data using the OracleDataAdapter and datatable. Calling the .update method of the apdapter works fine however a database trigger updates one of the field values after the[详细]
2023-01-28 17:32 分类:问答Concurrency violation: the UpdateCommand affected 0 of the expected 1 records. DB concurrencyException was unhandled
i have defined 2 datasets and 2 dataAdapters( one for each of the datasets ) . after creating, for each of the 2 dataAdapters i define a SqlCommandBuilder. All is well till here.[详细]
2023-01-27 06:11 分类:问答How Can I Expose Private Fields using a Partial Class in VB.NET?
This is my first post on Stack Overflow so please exuse (and feel free to point out) any n00b mistakes.[详细]
2023-01-25 09:05 分类:问答Import Excel file to SQL Server row-by-row
I\'m importing an Excel file (a开发者_开发技巧bout 1000 records only) to a dedicated SQL Server database. As I need to work on the incoming data from Excel (add a GUID per row, some data conversions)[详细]
2023-01-22 01:14 分类:问答DataAdapter returns a empty rowset, but DataReader returns data
I execute a query that calls a SP, that SP returns data... but when I call it with a DataAdapter I get no result data, if use a DataReader instead... then I get data. The database is SQL Server and th[详细]
2023-01-20 12:22 分类:问答Dynamically modifying .NET DataSet DataTable
I’ve got a predefined Dataset with DataTables and DataAdapters in my applications.However, I now want to be able to modify the SP in SQL Server to add fields as needed, and have that reflected in the[详细]
2023-01-16 12:45 分类:问答