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 > july 2004 > threads for friday july 2

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

unable to connect to Database over a network
Posted by arun282002 NO[at]SPAM yahoo.com at 7/2/2004 10:32:25 PM
Hi, I am trying to connect to a remote SQL Server 2000 on a local lan in C#. I have tried the following connection string: connectionString = "DSN=empex;SERVER=SARK011/Test;DATABASE=empexchange;Network=DBMSSOCN;Address=172.21.1.11;UID=anair;PWD=anair;"; and connectionString = "Provider=SQLO...more >>


identities and dataset...
Posted by shalafi at 7/2/2004 9:18:58 PM
Hi all... got a quick question. I read in XML to a application dataset variable. since i dont have access to SQL server i decided to avoid Access and go strait to XML. Problem i'm having is that when adding a new row i get a constraint issue. I havent found how to get the PK stored in XML...more >>

Binding to custom data class
Posted by Bill Youngman at 7/2/2004 4:49:50 PM
I am relatively new to .net programming and am developing a client/server app for a client and have a question concerning databinding controls. My question is can I write a custom class to handle database operations and still be able to bind controls to the datasets contained in the custom clas...more >>

datetime
Posted by John at 7/2/2004 3:16:57 PM
Hi How can I separate a datetime field value into date & time values? Conversely how can I combine date & time values into a value for a datetime field? Thanks Regards ...more >>

Null update on date field does not work
Posted by Anson Chuang at 7/2/2004 2:37:39 PM
Dear All, I have been trying to update a table with a date field. It refuses update to a null value in the database... I get the table like this ===== strSQL = "SELECT 'This Level - " & SQLSafe(Me.Text.Replace(" > Resource Forecast", "")) & "' as Level, SubTaskID, Name, Description, Dead...more >>

Datetime to date & time & back
Posted by John at 7/2/2004 1:55:24 PM
Hi I am using and access datetime field to store both date & time. How can I split it into date & time after reading the field and then combine the date & time back into datetime when storing it? Thanks Regards ...more >>

Populating a dataset with a single select (with join)
Posted by Klas Mellbourn at 7/2/2004 1:08:34 PM
I have the following datamodel (implemented in SQL Server) header -< detail That is, I have two tables, "header" and "detail". There is a foreign key from detail to header so that for each header there can be many details. I have created a corresponding (strongly typed) dataset, with the t...more >>

Catching A Db Timeout Exception
Posted by Garrek at 7/2/2004 12:29:04 PM
Is there a specific exception thrown for timeouts occurring from a database call? If not, does anyone have a recommendation on how I can write a loop to run say three times if a timeout does occur. Thanks ...more >>



manipulating DataTable
Posted by John A Grandy at 7/2/2004 10:54:18 AM
for manipulating a (disconnected) DataTable , how to iterate through the rows ? how to insert a row ? update a row ? delete a row ? how to perform queries of the DataTable , such as filters and sorts , to return another DataTable ? ...more >>

SQL Desktop Engine and ADO.NET question
Posted by David Young at 7/2/2004 10:34:31 AM
Hello, I recently installed MSDE and the .NET QuickStart tutorials. I'm trying to write an app that uses the Northwinds database installed on my local host. As I understand it, I should be able to drag the database from the Server Explorer to my form. Is this incorrect? I've also tried dra...more >>

Find out which row/constraint triggers the constraint exception
Posted by Ramon de Klein at 7/2/2004 2:38:39 AM
When a dataset is modified and a constraint is violated, then there seems to be no way to find out which row/constraint violated the constraint. I get a System.Data.ConstraintException. However, there is no Row or Constraint property that informs which row violated which constraint. This is espec...more >>

ADO.NET DataSet to ADO RecordSet
Posted by Sreekanth Doppalapudi at 7/2/2004 12:25:02 AM
I have an DLL developed in VB.NET which returns Dataset and DataSet with Relations. Through InterOp I am using that DLL in VB 6 and the Return Parameter for the DLL function showing as UNKNOWN ( Actually DataSet ). Can any one help me how to assign DataSet returning from function to Record Set. ...more >>


DevelopmentNow Blog