Groups | Blog | Home


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 2007 > threads for october 1 - 7, 2007

Filter by week: 1 2 3 4 5

Application needs replication
Posted by John at 10/6/2007 7:02:46 PM
Hi We have an MS Access application which runs on the server but some laptop users need the app to work offline. Our solution has been to use Access replication which automatically syncs data (both ways) when laptop is connected to the network. We are looking to rewrite the app to vb.net/sq...more >>

Major problem involving primary key constraints
Posted by B. Chernick at 10/5/2007 9:26:02 AM
I'm writing a Winforms project under Dot Net 2.0. One of my tables has a multiple field primary key. One of the key segments is a fixed char field used to determine the order in which the records are displayed in a grid. (S + a 2 digit number. This is entirely due to some legacy code restri...more >>

ADO.Net transaction and ExecuteDataset
Posted by sam345.345 NO[at]SPAM gmail.com at 10/5/2007 5:33:32 AM
Hi, I have clarification about ADO.Net transaction and ExecuteDataset; In the "Microsoft Data Access Application Block for .NET" project the following code uses transaction for ExecuteDataset() What the purpose of using transaction in the ExecuteDataset()? I think transaction is not use w...more >>

Datatable how trap enter to Edit Mode?
Posted by mtczx232 NO[at]SPAM yahoo.com at 10/5/2007 3:51:28 AM
Datatable how trap enter to Edit Mode? ...more >>

Linq
Posted by Jorgebg at 10/5/2007 3:02:00 AM
Hi All, I want to start some kind of debate or poll on Linq, the question is: Do you think is a good idea to work with Linq in the future? Most of the articles out there are not very impartial, and are embracing Linq as an evolution, while MVPs or wannabes are making tutorials as they go, w...more >>

Transaction behavior when connection is lost
Posted by Allen S. at 10/4/2007 7:05:02 AM
How do I ensure that all database operations are rolled back when database connectivity is lost during the middle of a transaction? using (DbConnection connection = db.CreateConnection()) { connection.Open(); DbTransaction transaction = connection.BeginTransaction(); try ...more >>

SetModified not persisting to db.
Posted by marc.l.caron NO[at]SPAM gmail.com at 10/3/2007 10:26:53 PM
It appears to me that using the SetModified() doesn't force the data changes into the database. I'm thinking it is doing comparisons between the DataRowVersion's. I say this because of my following problem. I have a scenario where the best way to handle the data is to take datatable table1....more >>

How Do You Organize Your Data-Access Code
Posted by Jonathan Wood at 10/3/2007 4:03:34 PM
I was just wondering how most of you organize your data-access code. I know there's stored procedures, data source objects, data controls, and plain old C# and VB that we can choose from. Although I prefer a simple approach, it looks like a multi-tiered approach is warranted and I just want...more >>



Passing type Object to SqlParameter.Value
Posted by cashdeskmac at 10/3/2007 12:45:00 PM
Hi, I am creating my own data access layer (I know I am re-inventing the wheel but I like the challenge). At the moment I am able to pass in a HashTable with the key and parameter value and I use the key to get the SqlDbType from a config file. From there I set up the parameters requir...more >>

Creating a Dataview from a Dataset using SQL?
Posted by Simon Verona at 10/3/2007 12:07:12 PM
I'm probably missing the obvious. I have a dataset that is built in code (it has a single datatable) that I want to populate a datagrid based on an SQL statement that I want to run against the dataset. I can't work out though how to create a dataview from the dataset using an SQL stateme...more >>

LOOKING FOR CASPOL.EXE
Posted by MarathonMike at 10/2/2007 3:18:07 PM
After a decade of experience with VB versions, I recently installed VS.net 2005 professional. I ran into security roadblocks when I moved a small test app off my C: drive and onto a network file server. Searching through support.microsoft.com gives lots of complicated explanations and sugg...more >>

Combining and relating DataTables from different typed DataSets in
Posted by Marc Woolfson at 10/2/2007 4:54:04 AM
We have been provided with a set of typed DataSets which we wish to merge into the one DataSet, adding any additional relationships between DataTables as appropriate. We wish to use Visual Studio.NET 2005 to visualise and manipulate the various tables in order for all of the typed methods that...more >>

Web Developer ConnectionTimeOut
Posted by Mantvydas at 10/2/2007 4:05:16 AM
Hello, I've got a webpage, done with visual studio express web developer, which shows the result of a store procedure. I've got a problem, that sometimes my sql server 2000 replies with the results of the stored procedure quickly enough, but sometimes it's busy and the CommandTimeout of ...more >>

Parameter size for NVARCHAR(MAX) data type?
Posted by pedestrian via DotNetMonster.com at 10/2/2007 12:56:37 AM
I have an ASP.NET 1.1 page to call a stored procedure in the SQL Server 2005. If I use the NVARCHAR(MAX) data type in a SQL Server 2005 stored proc, What should I use for parameter size for SqlParameter in Visual Basic.NET 2003 in order to pass in correct parameter? Thanks... -- Regards...more >>

SqlParameter.Size - When to use?
Posted by Amy L. at 10/2/2007 12:12:50 AM
When using Stored Procedures and SqlParameters when do you need to specify the SqlParameter.Size property? From the documentation and examples I have seen where Integers had a size set and examples where Integers did not have a size set. When inserting into a text field what would you set...more >>

when update database, i must wait few second!
Posted by Tark Siala at 10/1/2007 3:36:17 PM
hi i'm using VS.NET 2005 +SP1 C#, and i connect access database by ADO.NET 2.0. i'm using Dataset to (insert,update,delete) and in get data i use (Datareader), but my problem when i do this: 1 - insert data (by dataset). 2- get data (by datareader). when i run this commands i can't get latest...more >>

Default DataTable Constraints with SQL Server 2000 vs 2005
Posted by Jeff at 10/1/2007 1:34:03 PM
Hi, We are in the process of upgrading from SQL Server 2000 to 2005. We have one stored procedure that returns the result of a join on two tables, table A and B. Part of the result set is the primary key for Table A. Because of the nature of the join, data in table B can result in multi...more >>


DevelopmentNow Blog