Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > dotnet ado.net > october 2003 > threads for monday october 6

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Transaction question...
Posted by Vanessa at 10/6/2003 11:28:26 PM
Hi, I'm thinking of using transaction in my application but I'm not familiar in this area. There is a question I would like to ask. How to I specify a transaction that I can set the isolation Level & the locking hints for that particular transaction.. Regards Vanessa ...more >>

DataGrid
Posted by Darren Spooner at 10/6/2003 10:41:49 PM
I have a dataset that has two columns I need to format one has just the date the other has just the time but when I bind the dataset to the datagrid it show both date and time for both fields in the property builder box I see a text box that is call data formatting expression can someone give me...more >>

MSDE
Posted by Jay at 10/6/2003 8:06:28 PM
Just installed MSDE from the .NET SDK. Am used to using SQL2K at work so am hunting around for the SA password settings. is there such a thing in MSDE? Can someone give me a very brief (I speak the lingo :) guide to MSDE please? Is there an SA password? If so, where do I set/change it? I'm gues...more >>

Works With SQL Not With Access
Posted by scorpion53061 at 10/6/2003 7:30:00 PM
This sql statement against an access database is not working in vb.net but works in query analyzer when I sample it against a SQL table. Maybe you guys know what I am doing wrong........ sql3 = "SELECT from CUSTOMERS WHERE CustShipTo = (select max(CustShipTo) from customers where CustNumber = ...more >>

Major BUG in OraClient library.
Posted by max_menon at 10/6/2003 7:25:59 PM
I have discovered a major problem with the OraClient library. The problem is easily reproduced in the following manner. I am hoping Microsoft folks read this. Say, for instance I have a table (Customers) consisting of CustomerName and CustomerState: CustomerName CustomerState ------...more >>

managing msde
Posted by Ive at 10/6/2003 4:32:32 PM
Hi, You can use MS Access (from 2000 upwards) to manage databases in MSDE. You can use your VS.NET IDE to do the same. The enterprise manager works fine on MSDE too! Just check regarding licensing-issues but if you are working on your company-pc you should be safe. However, some things ...more >>

ds.WriteXML
Posted by Richard Roche at 10/6/2003 4:26:39 PM
Is there an easy way to avoid the '#agg' columns and preserve the original column order when writing an XML file? ds.writexml("myFile.xml") I want to import it into Excel and not have the extra #agg columns and not have the columns sorted alphabetically. Thanks for any assistance. ...more >>

Sqlconnection not close in multithreading environment
Posted by Clement at 10/6/2003 4:26:16 PM
Hi, i had develope asp.net using the webservice as the input point for processing. in the webservice, i had use the threading process the request. this is very data intensive process using sql server 2000 standard edition in the production server with .Net framework 1.0 SP2. i notice that whe...more >>



OracleCommandBuilder problem
Posted by Anirudh Srivastava at 10/6/2003 4:19:30 PM
Hi, I am using .NET Provider for Oracle, .NET Framework 1.1 to connect to Oracle 9i database instance. I am using the OracleCommandBuilder.DeriveParameters to get the parameters for a given stored procedure. For some stored procedures, I get the OracleParameter[] with the same parameter...more >>

SQL data connection through Web Service
Posted by Benjamin Bloom at 10/6/2003 2:46:53 PM
Hi, I'm pretty new to .NET, and even more new to Web Services. I've written a few stand-alone apps that successfully interact with a database, though, and I'm now puzzled. I have a web service running on my machine (for now) and a Windows app that calls a WebMethod from that service. W...more >>

Help, Updating Access with ado.net performance problem
Posted by jason_lee2k2 NO[at]SPAM yahoo.com at 10/6/2003 2:34:17 PM
Hi, I have an access database with around 500k records. I have C++.Net code that does the normal ado.net thing: 1) open connection 2) attach adapter with sql select statement 3) fill dataset 4) loop through all rows in dataset, modify each row as desired 5) fill in the update sql sta...more >>

Non "Trivial" Dataset Operations
Posted by Dave at 10/6/2003 2:23:15 PM
Does anyone know of any good online examples of using DataAdapter.Update when your dataset operations are not the "trival" case where SELECT, INSERT, UPDATE and DELETE are applied to all tables in a typed dataset? Say for example your typed dataset has two tables "First" and "Second". Yo...more >>

Inheriting System.Data.DataTable issue
Posted by rory.plaire NO[at]SPAM co.benton.or.us at 10/6/2003 2:23:09 PM
Greetings all, I am (was, rather -- I have since went the route of containment to implement the pattern) trying to inherit DataTable to construct a Lazy Load patterned table for large result sets. However, I kept getting an error when adding new rows... exceptions were thrown declaring the ...more >>

DataSet vs. DOM
Posted by indra at 10/6/2003 1:49:26 PM
In our project we need to get data from a database and return it, or cache it and return it later. We might also get the data from a web service instead of a database. Question, is DataSet the best option for retrieving data from a database. Between DataSet and DOM which will be faster fo...more >>

How to write database independent SQL?
Posted by Heinz Kiosk at 10/6/2003 1:41:14 PM
ODBC includes numerous scalar functions and calls such as SQLGetInfo that allow an application to generate SQL that works regardless of the targetted back-end database (within reason). Is there any equivalent of this in ADO. How do you generate database independent SQL in ADO? Tom ...more >>

<undefined valule>
Posted by Guinness Mann at 10/6/2003 12:59:04 PM
Greetings, I'm developing database applications using C# on VS.NET 2003 and SQL Server Standard edition (SP3a), and the Microsoft Data Application Blocks. I've run into a situation I'm trying to understand, to wit, if I submit a query using SqlHelper.ExecuteScalar which returns no result...more >>

Should I Dispose() an SqlCommand object?
Posted by Henrik Dahl at 10/6/2003 12:57:18 PM
Hello! After I've finished using an instance of the SqlCommand class, should I then invoke Dispose() on the instance. I suppose so, as there is a Dispose method, but what does it actually release? I would basically prefer to skip invoking Dispose() as this will free me from determining when...more >>

How to access Field Properties from SQL Server
Posted by Andy Rink at 10/6/2003 11:47:13 AM
I need to access field properties like datatype and datalength. Could someone point me in the right direction. At least some good search parameters. I've looked an only come up with articles on visual designers, not programmatic access. Thanks, Andy :) ...more >>

SqlError.Number negativ in ADO.NET i.e. CommandTimeout
Posted by Thomas Weingartner at 10/6/2003 10:04:24 AM
Hi When connecting with SqlClient to an SQL Server 2000, there will be thrown SqlExceptions with an Errors collection in it returning SqlError class. The VS.NET help on SqlError.Number says "This number corresponds to an entry in the master.dbo.sysmessages table.", but I'm getting -2 for A...more >>

DataView.Filter on Time columns
Posted by Nick Carter at 10/6/2003 10:03:08 AM
I want to create a filter on a DataView for a time column. I have a column called StartTime in a SQL Server database which is defined as a DateTime column but it only contains times. I want to find all rows which are after 12:00:00 so I write the following line:- DataView dataView = new DataVi...more >>

Security
Posted by Johan Karlsson at 10/6/2003 9:55:35 AM
Hi, Is there a simple way to encrypt all communication between a SQL Server 2000 and a .net application? What is the best practice in this case? Thanks /Johan ...more >>

Update problem ??
Posted by Gary at 10/6/2003 9:28:01 AM
I'm facing a problem while updating a ADO recordset after modifying its records using the Dataset( ADO.Net). I'm calling a method of a COM component from C# code. The method returns a disconnected ADO recordset object which I use to fill the Dataset using the OleDbDataAdapter.Fill() meth...more >>

SqlTransactions
Posted by Nick K. at 10/6/2003 9:13:50 AM
I have classes in a data access layer that have methods that open a SqlConnection, create a SqlCommand object, ExecuteNonQuery, and then close the SqlConnection. Now, I need to implement transactions accross several of these method calls. Can I do that if the SqlConnection is closed at the end...more >>

Duwamish .NET Install Problems
Posted by Cono Casella at 10/6/2003 9:11:51 AM
Hi- I'm getting the following error when I run the duwamish.msi installer included with VS .NET 2003: "You must install the Microsoft .NET Framework SDK v1.0.3705 before running Duwamish 7.0(C#)" Does this literally mean I have to backrev to the old SDK? I've looked all over the newsgr...more >>

Database-Dataenvironment.
Posted by Rado at 10/6/2003 8:16:32 AM
Hello. I have One problem. Whan I make database program in Visual Basic 6 which has some Forms. I make Dataenvironment. There I make connection to my database. In command I select table or write SQL comand.And Now I can acces to this tabel/ created new table with SQL command/. Such that, when...more >>

System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
Posted by abhishes NO[at]SPAM hotmail.com at 10/6/2003 6:36:16 AM
Hello All, I have had this problem many times. Most of the times I have blindly added all possible permissions combinations untill it got solved (many times I just added asp.net account to the administrator groups). But this time I am working on a server machine and therefore I cannot add a...more >>


DevelopmentNow Blog