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 > april 2004 > threads for wednesday april 7

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

Database Problem
Posted by ruca at 4/7/2004 4:00:24 PM
I have an ASP.NET application that uses MS Access. In my PC works fine. If I put the application in my notebook he can't connect with Access DataBase. There is any differences about connection DB in normal PC's and notebooks? What do I have to do? Note that my BD is local (is in C:\) -- ...more >>


Help! What's with the open connection?
Posted by Wardeaux at 4/7/2004 3:42:20 PM
Hey, all! I have an asp.net page, uses ADO.NET connection to create a DB and insert a UID/Password into one of the tables inside the new DB. Here's what I'm seeing: 1) If I ONLY create the DB("Create database abc"), I can delete the DB right away. 2) If I create the DB and simply OPEN a c...more >>

Really Anoying problem
Posted by MadCrazyNewbie at 4/7/2004 3:27:04 PM
Hey Group, I`ve got this Anoying problem, and was wondering if somebody would be so kind as to help me? I keep getting "Failed to Enable Constraints. One or more rows contain values wiolating non-null, unique, or foreign-key contraints". When I click ok, my Datatable has a Red Exlimation ma...more >>

Refresh DataTable
Posted by MW at 4/7/2004 3:14:38 PM
Hi all I have a datatable returned from an Oracle Stored Proc containing look up data. This is used by my application and shared between multiple threads. The problem is the underlying data for the lookup table gets updated on irregular intervals externally. What is the best way to refresh t...more >>

Design Guide DAL
Posted by Rudolf Löwe at 4/7/2004 2:46:04 PM
Hello I need some hints and recommandations about accesing data, and instantiating business-objects with this data we want to use untyped datasets to retrive data from db and hold this datasets in our business-entities a small scenario we have a business-object "purchaseorder" which aggregates...more >>

Remove Dataset Constraints
Posted by Gary at 4/7/2004 2:16:07 PM
I am trying to remove a set of tables, relations and constraints from a dataset, however I get an error: "Collection was modified, enumeration operation may not execute". I create the dataset with three tables. The tables are created in VB .Net code by sending an SQL criteria string to SQL Server to...more >>

Multi Users and Access DB - Newbie Question
Posted by MadCrazyNewbie at 4/7/2004 1:43:22 PM
Hey Group, I`ve build a VB.Net App which has a Access Database. This will be used by 4 people. Do i need to worry about putting Locks and things on it? If so anybody suggest what i need to do, any links? Ta MCN ...more >>

SQLException: Login failed for IWAM_Machine account.
Posted by M K at 4/7/2004 1:16:04 PM
Okay, what gives. The SQL database has rights for this Windows account. What could be the problem? This is very important....more >>



newbie schema design question
Posted by sklett at 4/7/2004 12:39:18 PM
* i posted this in the SQLserver group, but it has some ado.net issues, so maybe here is good too * I have a schema in place and I'm starting to think that it must be a bad design because I'm having the hardest time organized my results so that I can present them the way I want. Here is the s...more >>

how to prevent deleting during edit?
Posted by zin at 4/7/2004 12:07:16 PM
Howdy, I have a table with 5 fields. User1 connects to the db and is editing his dataset - say record 3. User2 connects to the same db and wants to delete record 3 from his dataset while user1 is editing the same record in his dataset. How can I prevent User2 from updating the table ...more >>

share auto-generated, typed dataset
Posted by C P at 4/7/2004 12:01:44 PM
I've got a Windows Forms application that I'm using to create a typed dataset (C#) and a corresponding XML file (with data) that I'm encrypting. This Windows Forms application is only to be used by me to create the typed-dataset and XML file. I want to use the typed dataset in some assemblies t...more >>

Reading Data into objects
Posted by Chris Dunaway at 4/7/2004 11:26:14 AM
I have a table in the database called Users and it has typical fields (UserId, UserName, etc.). I created a User class with properties that match the fields in the table. What I want to do is read a row from the table and create an instance of the User class, populated with the data from t...more >>

RETURN VALUES AND OUTPUT PARAMETERS USING THE DATA ACCESS APPLICATION BLOCK
Posted by snowboardny NO[at]SPAM yahoo.com at 4/7/2004 11:10:15 AM
For all those that have suffered trying to figure this out! I hope this helps! John RETURN VALUES AND OUTPUT PARAMETERS USING THE DATA ACCESS APPLICATION BLOCK The overloaded method that takes an array of objects cannot return an output parameter or a return value. You must pass in a paramet...more >>

Checking for changes on DB side?
Posted by Brian Henry at 4/7/2004 10:21:28 AM
Is there alway to check the data set agains a database to see if there have been and changes made in the database since the last fill on the dataset then get the changes? thanks.. I don't want to have to fill thousands of rows each time... seems a waste... ...more >>

Newbie question about inserting data
Posted by Mika M at 4/7/2004 9:58:41 AM
Hello! I think this must be simple newbie question. I'm using VB.NET 2003, and making WinForm application. I need only insert row into database table, which is some kind of log table, and not need to retrieve any data of it in this part of my application. It is easy to make using sql like 'INS...more >>

relational data...
Posted by Brian Henry at 4/7/2004 8:17:25 AM
Here's my problem (been reading the book Microsoft ADO.NET Core Reference), I must of skipped this in the book or haven't goten to it yet, but... How do you work with referential data in ADO.NET? Here's what I am trying to do, I have two tables... one is basicly a person table, and another is a...more >>

SqlCommand Parameters Problem
Posted by Jorge at 4/7/2004 3:50:32 AM
Hello I have a store procedure that has 2 parameters declared datatype Numeric as per the SQL table. When i try to use the following: Me.SqlCommand1.CommandType = CommandType.StoredProcedure Me.SqlCommand1.Parameters.Clear() Me.SqlCommand1.CommandText = "altera_linha_encomenda" With ...more >>

Ad Hoc queries vs Command Parameters
Posted by Alex at 4/7/2004 2:33:57 AM
Hi, is it better or more efficient or somehow "different" to make an ad hoc query using the Parameters collection of a Command object, than constructing a sql string for the CommandText property? Example: //assumes a LastName parameter str Cmd = "SELECT FirstName FROM Employees WHERE (LastN...more >>

DataSet Max-of-column
Posted by Will Young at 4/7/2004 1:23:57 AM
What is the best way to find the Max of a particular column in a DataSet? ...more >>

problem in accessing unicode data
Posted by Ritu at 4/7/2004 12:11:53 AM
Hello friends, I need to read/access unicode data saved in text/csv file through ADO.Net but I'm not able toget success. Is there any support provided in ado.net to access unicode data ?? Anticipating a Quick reply... thanks in advance Ritu ___ Newsgroups brought to you courtesy of www.d...more >>


DevelopmentNow Blog