| Thread | Last Post | Replies |
|
| Problem with apostrophes | 15 May 2005 09:30 GMT | 2 |
I currently use ADO.net to write to an access database using the ExecuteNonQuery function and SQL INSERT statements. The data I write mostly consists of names - which results in some problems: When I try to write names like "O'Connor" or "O'Neal" the call fails ('cause of the ' ) ...
|
| Temporary table disappears before connection is closed | 14 May 2005 19:37 GMT | 4 |
I'm having a little problem using a temporary table (MSDE as database engine). Dim cn As New SqlConnection("Data Source=" & SQLServerName _ & ";Integrated Security=SSPI;Initial Catalog=TestDB;Pooling=No")
|
| DataSet and Table join | 14 May 2005 17:41 GMT | 4 |
Is there a way to join DataTables, kind of like how you do join in SQL?
|
| format date(s) from sql server | 14 May 2005 16:50 GMT | 2 |
guys, when using templates like below - this particular one is a date. are there any properties in the template columns i can access to format the date to show a short.dateString? so it wont show the time 12:00 am normally with oracle i can to a to_char(my_date,format mask) single ...
|
| Creating database fails | 14 May 2005 07:14 GMT | 3 |
I'm trying to create a SQL Server 2000 database via the following TSQL code in .NET 2003. if not exists (SELECT * FROM dbo.sysdatabases WHERE name='Test-Co') create database Test-Co
|
| Error inserting into an identity column | 14 May 2005 02:43 GMT | 1 |
My .NET 2003 program uses a dataset bound to a form to insert records into a SQL Server 2000 table. The key column is IDENTITY(1,1). When I perform a Dataset.Update, I get an error stating that Value '1' is already in the table. Turns out that ONLY the first row (ID of 1) of the ...
|
| Getting a DataTable from SQL Server using a JOIN where I can updat | 14 May 2005 02:41 GMT | 2 |
I currently have a SQL join which combines 2 tables. I then update only one of the tables with new information. While this works easily in ADO, I am having trouble figuring out how to do this in ADO.NET. I first tried to do an update using a SQL JOIN DataSet, but that gave me ...
|
| VB.NET 2002 and access, Please help | 14 May 2005 01:49 GMT | 3 |
Hi all I hope someone can help me. I am new to VB.NET I am trying to connect to an access database from a windows form and it is driving me nuts, could anyone lay it out for me? thanks all
|
| problem with simple stored procedure execution | 13 May 2005 23:51 GMT | 8 |
on SQL Server i have the following sample stored procedure: CREATE PROC owner.procname ( @id int, @desc varchar(50) output)
|
| simple row at a time data access | 13 May 2005 23:24 GMT | 4 |
I would like to step thru an database table one row at a time. Forward and backward. In a C# .NET program. In general, which .NET class is used to to this? I am thinking my prefered approach is to somehow use "DECLARE ...
|
| ExecuteNonQuery | 13 May 2005 22:01 GMT | 5 |
I am trying to do a simple ExecuteNonQuery method on a very simple INSERT statement. Please see code below. Could anyone see why I would continue to get an "Operation must use an updateable query" error on such a simple code fragment?
|
| parameters in search | 13 May 2005 16:37 GMT | 4 |
I'm trying to use parameters in a search, but I can't get it right. Before I add parameters this works: string cmd = "SELECT * " +
|
| Execute SQL statement on Dataset | 13 May 2005 14:44 GMT | 9 |
Is there a way to execute SQL statement on a Dataset? For example, my Dataset contains 1 table and I want to execute the following SQL statement: UPDATE table1 SET Field1='x' WHERE Field2='y'
|
| SqlHelper Block - Are all of these shared/static methods good? | 13 May 2005 09:48 GMT | 4 |
I'm hoping that there's something about the underpinnings of the .NET framework that I don't understand. Something about the SqlHelper appliaction block, though, kinda creeps me out. All of its methods are static/shared.
|
| Filter by Count in DataSet | 13 May 2005 05:27 GMT | 2 |
I have a Dataset that is built from the following query USE Northwind SELECT * FROM Orders ORDER BY Customer
|