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 > november 2004 > threads for monday november 8

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

need an ADO expert- will pay
Posted by Mark at 11/8/2004 11:43:00 PM
Hi All, I'm new to ASP.NET and have a basic question. If someone is willing to lay it out for me in an easy way to understand, I have a huge list of tasks I'm willing to pay to get completed... please help. Quick background... I've got three books on ASP.NET web app development. If I foll...more >>

Query tables from multiple data sources
Posted by jtpatil NO[at]SPAM gmail.com at 11/8/2004 11:02:54 PM
How to fire a query on tables from multiple data sources? For example: ORACLE database contains Employee table: EmpID, EmpName SQL Server Contains EmployeeSalary table: EmpID, Salary I want to fire a query to select EmpID, EmpName, Salary from the above 2 tables residing on different d...more >>

How can I have a user select a local MS SQL database using vb.net? TIA SAL
Posted by sal at 11/8/2004 10:14:57 PM
Greets I have sucessfully created a sql database and vb.net program locally connecting to my local server. (I used visual studio 2003) I would like to send the database along with the compiled vb.net code to the user. The problem is the users machine and msde server are going to have dif...more >>

SQLHelper Error
Posted by larzeb at 11/8/2004 9:10:46 PM
I don't understand the following error message. Why is there no accessible arguments when Intellisense allowed it? An unhandled exception of type System.Reflection.AmbiguousMatchException occurred in Microsoft.visualbasic.dll No accessible overloaded 'SqlHelp.ExecuteNonQuery' is most speci...more >>

filtering by DataView and Default value if null or empty string fo
Posted by KPH at 11/8/2004 8:20:06 PM
Hi all, I'm developer that use VB .NET to develop my application. After I get all data from database and fill those data to dataset object and then I use dataview to filter and bind data with controls on my Form. In the database table consist of default value and general value that represe...more >>

DataSet transfer data from one database to another
Posted by LisaConsult at 11/8/2004 6:30:05 PM
I am attempting to select data from Database A into Database B (both Access Databases) by placing the selected data into a Dataset and then inserting it into the 2nd DB. I can select the data, fill the dataset, create the Adapter commands for insert update delete, but the update is not succes...more >>

SQL2k3 connectivity problems
Posted by Itai Raz at 11/8/2004 5:44:39 PM
Hi Guys, We are making use of SQL2K DB installed on W2003 server for the first time. We bumped into a whole lot of security related issues, that we managed to solve, and we have one (hopefully) last outstanding problem keeping us in the dark. We have some ASP.Net code that is trying to access ...more >>

BLOB
Posted by Ken Williams at 11/8/2004 5:20:02 PM
Hi all, I really, need your expertise. I have an image field in an MSDE 2000 SP3 database. So far I can save images but can not clear them without deleting the entire record. Can anyone show me how to clear an image field using VB .Net 2003 Thank you for all your help...more >>



Failed to enable constraints.
Posted by tma at 11/8/2004 5:01:51 PM
I've got a SELECT statement that, when run in the Enterprise Manager, works great. However, when I use that same statement in a SelectCommand.CommandText string, I get the following error. Can anyone tell me what I need to look for? Failed to enable constraints. One or more rows contain values v...more >>

DataAdapter.Update return value and RejectChanges when using stored procedures
Posted by Patrik Ellrén at 11/8/2004 3:21:44 PM
The DataAdapter.Update method returns an int to indicate how many rows were successfully updated but if I set the UpdateCommand to a stored procedure how do I hook it up to return the correct value and so that ADO.NET can recognize when it fails and call RejectChanges on the rows that couldn't...more >>

How to determine the current user's rights
Posted by Bob Trabucco at 11/8/2004 2:56:14 PM
Hi all, My .NET application needs to know if the currently logged on user has rights enough to create global tables, indexes, stored procedures, views, etc in the current database. The program runs through routines that create all these tables and we have to make sure there is sufficient...more >>

Saving changed data in a text back to an Access DataBase (ASP.NET)
Posted by Wayne Taylor at 11/8/2004 2:41:35 PM
Hi all! I have a form, which populates a couple of text boxes when a user id is entered and a button is hit. I need to know how to save the text in the text boxes back to the database. Also how do you count the number of records as bindingcontext doesn't seem to work in ASP.NET Thank...more >>

performance: IIS - Sqlserver locks influence???
Posted by Alex Callea at 11/8/2004 2:18:32 PM
Hi there, We have a web application handling thousands of requests per seconds reading sql server data which is heavily updated. We are generally experiencing no performance problems. On some occasions we get an increase of the traffic of about 15% for short periods. In this case we observ...more >>

AD.Net and Oracle Provider
Posted by Nilesh at 11/8/2004 1:49:06 PM
Using ADO.Net to connect to Oracle 8i using OracleClient managed provider. Learnt that OracleClient data provider does not support ODBC escape syntax for calling SPs or Functions. For example CommandText = "{?=Call Function_NAME(?,?...)}". OracleClient does not populate the Parameter Colle...more >>

Two Step Update Support?
Posted by localhost at 11/8/2004 1:10:35 PM
Due to business rules, I cannot do a standard SQL-Update. I actually need to delete and then insert. How can I handle this, when the OleDbDataadapter only supports a single UpdateCommand? The data sources are Access, Visual FoxPro 8.0, and SQL Server (thus my needs for OleDb). Thanks....more >>

SqlDataReader default locking?
Posted by Alex Callea at 11/8/2004 12:56:34 PM
Hi there, I just wanted to know wheter any row locking takes place when we are reading data with a sqlDataReader. I know that within stored procedures and triggers the default is Row locking. Is it the same with a datareader? Thanks ...more >>

Dataview will not sort
Posted by Raymond Lewallen at 11/8/2004 12:27:37 PM
I have a dataview in which the sort property will not sort the dataview. Here's is a simple scenario similar to what I am doing: Class Foo Private Function Retrieve() As DataView ' Returns a DataView with 2 columns and 3 rows Dim ADOHelper As New DAL.ADOHelper Return ADOHelper....more >>

Read table from .txt file into DataTable object.
Posted by markov NO[at]SPAM bgu.ac-dot-il.no-spam.invalid at 11/8/2004 11:56:37 AM
Hi. In my application i need to read tables that saved as .txt files with values delimited by ',' into DataTable object. Please tell me what is good way to do it? *-----------------------* Posted at: www.GroupSrv.com *-----------------------*...more >>

Manipulate Dataset at Runtime
Posted by Stewart Saathoff at 11/8/2004 11:25:10 AM
Hello, I was wondering if anyone knows how to manipulate datasets at runtime with different functions. I have a dataset that returns a collection of data, but I want to manipulate that data into another dataset that would generate a chart. Here is an Example of what I mean: ds1 has fou...more >>

Timeout error from SqlDataReader even when ConnectionTimeout = 0
Posted by Dave Morse at 11/8/2004 10:43:56 AM
Hi everyone, I intermittently get a timeout error raised from a loop in which I am iterating through records with a SqlDataReader in order to build a Hashtable. The command object has its CommandTimeout property set to 0, so it should never 'time out', but every once in a while it will, and o...more >>

Loading an Excel file into a DataSet
Posted by Jon at 11/8/2004 9:58:05 AM
Hello eveyone, I have the below code which is trying to load an Excel file into a DataSet, however it errors at the oAdapter.Fill(ds); line with An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll. Can anyone spot the a reason why. or help with thi...more >>

Return Parameter in ApplicationBlocks.Data ExecuteScalar
Posted by Nathan Truhan at 11/8/2004 8:43:02 AM
All, I am writing a form field application for user data with firstname, middlename, lastname, department. I have written an Add/Edit Stored Procedure in SQL 2000 which checks if an ID exists, if so it backs up existing and updates, then is supposed to return the ID back and a status ID, if...more >>

ORA-06512 + System.Data.OracleClient error
Posted by bikhod at 11/8/2004 8:16:02 AM
Hi I am having getting Oracle error ORA-06512 when my .NET serviced component tries to participate in a COM+ transaction. I am using System.Data.OracleClient with VS.NET 2003 (i.e. Framework 1.1) on Windows 2000 SP3 and Oracle 9.2.0.4. If I change my code to use System.Data.OleDB then ev...more >>

Another connection string problem
Posted by carlor at 11/8/2004 8:16:01 AM
Hi again, So, my previous problem was solved but unfortunately, the solution has introduced another problem that I can't figure out. I'm beginning to think that the idea of reusable code might be more trouble than it's worth in this case. To recap: I have a class library that I'm usin...more >>

GUIDs & uniqueidentifiers in datasets
Posted by James Coates at 11/8/2004 8:03:08 AM
I am developing a windows forms application which takes its data from an SQL server database where all the primary keys are uniqueidentifier fields. I am creating strongly typed datasets and populating them using the Fill method. My problem is how to generate guids when inserting rows into th...more >>

Dataset Update / AcceptChange / RejectChanges
Posted by TheNortonZ at 11/8/2004 6:54:14 AM
I have a couple of questions about how the ds.Update, AcceptChanges, RejectChanges work. I have a dataset with 8 tables. I perform a ds.Update separately for each one of these tables. Most of these tables are not related. 1. Should I be calling ds.AcceptChanges right after the call to ds.U...more >>

Real distributed data access model with ado.net ?
Posted by Dimitris Pantazopoulos at 11/8/2004 3:52:01 AM
Hello there, I hope this is the right newsgroup to post this question... Let's say I have a 3-tier .net app: tier 1: sql server 2000 tier 2: win app client tier 3: a web service delivering data from t1 to t2 using a DataSet. The data transferred is of about 65.000 rows. This is...more >>


DevelopmentNow Blog