| Thread | Last Post | Replies |
|
| Adding commands at runtime to generated adapters | 31 Jan 2006 22:40 GMT | 2 |
So I’ve got this dataset that was built with the designer. All is well except that the Select command needs to be generated at runtime for app-specific reasons. I thought I would do something clever, which was add a version of Fill() to
|
| Generating an SqlParameter from a value in a DataSet | 31 Jan 2006 17:51 GMT | 1 |
How can I generate a Parameter if I cannot retrieve the SqlDbType from an item in a row of a DataSet? Is it safe to just take the object I retrieve from the DataSet and take the following constructor for the Parameter:
|
| Dataset creation problem......... | 31 Jan 2006 16:17 GMT | 2 |
I have two access databases. First contains a table which contains userids. The second one contains the users records. I tried to create a dataset which will query in these two databases and get two datatables. I tried to add relation between these two
|
| Q: Updating the correct keys | 31 Jan 2006 15:55 GMT | 8 |
I'm hoping somebody can help me with the following problem that has occurred to me. Suppose I have two tables in an SQL Server database. Let's call these tables A and B. Assume that A has two fields: a primary key and another holding a
|
| Manipulating data on input w/ TableAdapter & Dataset. | 31 Jan 2006 14:41 GMT | 6 |
I know this is easier to do with a datareader and a listview, but can it be done with a tableadapter and a dataset? I want to manipulate the data prior to it reaching the dataset, For instance, data is stored as Firstname and Lastname and sometimes there
|
| Saving contents of datatable to Access table without writing SQL | 31 Jan 2006 11:32 GMT | 2 |
In ADO.NET is there anyway to save the contents of an datatable directly to an Access table without having to loop through and generate a SQL insert query string? I figure there's probably a way to do it as one chunk.
|
| SqlDataSource and Optimistic Concurrency Problems | 31 Jan 2006 09:23 GMT | 3 |
I'm using a detailsview control with an SqlDataSource control. My Update query isn't working, and I've narrowed it down to the optimistic concurrency parameters - i.e. when I comment them out of the query, it works. What seems to be happening is that if a field is NULL when it
|
| Web Service SQL Connection Model | 31 Jan 2006 09:23 GMT | 2 |
I am near completion of a project consisting (broadly) of a web app, a web service and a SQL server - the usual sort of configuration. Both the SQL server and the web service are tasked with dealing with large amounts of data per user; and a large number of users.
|
| DataColumn.Exression and string formatting | 31 Jan 2006 06:55 GMT | 9 |
I am truing to add a calculated column to my data table. The column must show something like: "Date: 2005-01-23" I underestand that we can use Convert to convert a DateTime value to string. How can I convert it in specific date format?
|
| DataSet Question | 31 Jan 2006 06:23 GMT | 3 |
I have a dataset that is filled with data from the db. The user has modified that data in one of the tables where some of fields should now be null. I have played around with delete the row and adding a new row but have problems with the update. Do you think I should just ...
|
| Unbound Data Access | 31 Jan 2006 02:12 GMT | 1 |
I am having a problem with asp.net 2.0 that I did not have with 1.1. In C# code behind, I want to read data via a GetData(int productID) class to obtain several columns of data from one row of one table in a Sql 2000 database which I need to calculate some values needed to be
|
| How to write generic code access in ADO.NET | 31 Jan 2006 01:04 GMT | 3 |
M. Chand is a .NET consultant, author and the admin and founder of C# Corner. He has been working with .NET technology since pre beta releases. http://www.dotnetwire.com/frame_redirect.asp?newsid=3171
|
| Problem connecting to SQL Server 2000 | 31 Jan 2006 00:03 GMT | 9 |
I installed SQL Server 2005 Express on one of my development machine, I had since then having problem connecting to a SQL Server 2000 (On a cluster) database. The problem persist even after I remove SQL Sever 2005 Express. The following is the error message:
|
| Datagrid calculated column not updating | 30 Jan 2006 22:23 GMT | 6 |
I have a datagrid (C# Windows Forms App) bound to a dataset. One column in the dataset is a calculated column based on an expression that simply subtracts the value in one column from the value in another column. I created the dataset using a dataset control and the
|
| Where to use connection, dataset, datareader ? | 30 Jan 2006 20:59 GMT | 10 |
I have some difficulties in understanding how to use the connection, dataset, datareader in a form. Let's suppose I want to create a datareader and when I push a button to bring another row from the dataset.
|