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 15 - 21, 2007

Filter by week: 1 2 3 4 5

How sluggish is a big xml file in combination with datasets?
Posted by PSiegmann NO[at]SPAM mail.nu at 10/21/2007 7:59:15 AM
Hello, I am currently working on a project which will run in an environment, where the size of the database is very limited. That's why I thought about relying in some parts entirely on xml files (and datasets) as an DB replacement. I.E.: DataSet myDataSetToRead = new DataSet...more >>


Install SQL Server 2005 Express With ClickOnce?
Posted by Octavius Khan at 10/20/2007 12:30:33 PM
Is it possible to install SQL Server 2005 Express on a machine that restricts installs by using ClickOnce? For example, I can't install new applications on my machine at work unless I use ClickOnce to do so. I want to be able to use SQL Server 2005 Express in my applications and move away ...more >>

Ajax enabled page
Posted by Mike TI at 10/20/2007 1:07:34 AM
Oct 20, 2007 01:00pm Hi all When you create an Ajax enabled web site, the application creates the default page with a "Script Manager". I created a Master Page. I then created a "Home" page with reference to this master page. As I wanted this Home Page to come first I added the foll...more >>

Obtaining column properties in .NET
Posted by schneider NO[at]SPAM rehm.de at 10/19/2007 3:01:52 AM
Hi all, I want to obtain column properties using C# and the System.Data namespace. Using DbDataReader.GetSchemaTable() or DataAdapter.Columns I only retrieve properties like DataColumn.MaxLength or DataColumn.AllowDbNull in a correct fashion. But if I want properties like DefaultValue or cert...more >>

ReadXML error
Posted by vovan at 10/18/2007 6:54:23 PM
I'm using DataSet.ReadXML method to populate the dataset with data from XML file. If one of the values contains apostrophe (for instance: It's something) then an error occures: System.Xml.XmlException: Invalid character in the given encoding. Is this a bug or what? I wouldn't want to parse an...more >>

How do I merge tables in ado.net
Posted by PO at 10/18/2007 3:24:55 PM
Hi, I'm fairly new to ado.net and I'm not sure I'm doing this in the best way... I retrieve two tables from two different databases and place them in a dataset. Both tables have a column which relates them. The relation type is one to many. I use a custom procedure to "merge" the two tabl...more >>

Data Type 'Image' is missing from the development environment for
Posted by rkbnair at 10/18/2007 2:11:00 PM
Please disregard my previous post for the same problem. the posting was incomplete. I'm trying to update the data in a DataGridView control. The underlying data are from SQL Server CE database. There is an image field in the DataGridView control when U give the save command, I get the follo...more >>

Filtering DataSet with Multiple Tables
Posted by Maspr at 10/18/2007 8:14:04 AM
I have a DataSet with 3 tables. I need to be able to filter the parent table and get all records from the 3rd level table that correspond with it. I have relations set up between the parent and first child and also the first child and it's child tables. However, when I filter the top level tab...more >>



QueriesTableAdapter does not appear in toolbox. Why not?
Posted by HONOREDANCESTOR NO[at]SPAM YAHOO.COM at 10/17/2007 1:43:20 PM
I created a stored procedure called AddOrder which does an 'insert' statement. It appeared in the Server Explorer of Visual Studio. Then I dragged it to the Dataset Designer. This makes a QueriesTableAdapter, which I do find in the diagram when I "Edit Dataset in Designer". The problem is tha...more >>

SQLBulkCopyOptions with Default values
Posted by Beth at 10/17/2007 8:18:02 AM
Hello. I'm changing my code which copies data from memory to a SQL Server from using a data adapter's update method to using the writeToServer method of the SQLBulkCopy object. The update method of the data adapter worked fine, but I expect the SQLBulkCopy to perform better. The probl...more >>

dbType 'Image' not available in the data adaptor window for CE
Posted by rkbnair at 10/17/2007 7:46:02 AM
How come there is no dbType='Image' available in the data adaptor parameter types? Please find the atta -- test...more >>

Cross network Access db connection problem
Posted by Julia B at 10/17/2007 6:14:01 AM
Hi I wonder if you can help me. I've got an asp.net (version 1.1) intranet application that connects across a network to an access backend db. The backend db is on a directory where everyone (including the ASP.Net account) has full access (not sure if that's the right way to go about things...more >>

Stored procedure name in config file?
Posted by Gustaf at 10/17/2007 12:00:00 AM
Hi all, I'm building a Web Service to INSERT records into an Oracle DB. For this I'm using a DataSet (.xsd) with a QueriesTableAdapter, to call a stored procedure for inserts in the Oracle DB. The connection string is stored in a configuration file (Web.Config) like so: <connectionStrings> ...more >>

Timeout expired on Insert
Posted by Sandhya Kumar at 10/16/2007 2:22:20 PM
Hi, We have a huge table having around 29579242 Rows.The table is huge and there is no clustered index on the table. There are a couple of non-clustered indexes. We have started experiencing these errors. We increased the command timeout to 120 (2 minutes) but the error isstill occuring on...more >>

UTF32 and XML Datatype
Posted by Evan Camilleri at 10/16/2007 1:41:49 PM
I need to add a UTF32 xml file to an XML datatype (basically I want = unicode characters in there) is it possible? When I do=20 SqlParameter x =3D new SqlParameter("@xmlX", SqlDbType.Xml); (i = tried Text or Ntext in vain !!) testclass t =3D new testclass(); t.Age =3D 32; t.Fir...more >>

stored procedure times out after 10 minutes
Posted by vb4me at 10/16/2007 10:25:57 AM
Hello. Can anyone help with this one? I've written an app that queries data on two linked servers (sql server 2000). The stored procedure runs fine when I 'exec' it in management studio, but it times out when launched from VB2005. The funny thing is it worked last week - I'm just not sure wh...more >>

"@p5 : Byte array truncation to a length of 8000."
Posted by rkbnair at 10/16/2007 9:02:09 AM
I'm trying to update the data in a DataGridView control. The underlying data are from SQL Server CE database. There is an image field in the DataGridView control when U give the save command, I get the following message. "@p5 : Byte array truncation to a length of 8000." Parameter correspon...more >>

Simple Type Element of Strongly Typed DataSet MIA
Posted by gr8brain NO[at]SPAM gmail.com at 10/15/2007 5:51:22 PM
I've done some googling on this one, but I'm not sure how to phrase the search. Any help is greatly appreciated. The problem is I have an xml file coming from a non-.Net source that I'm trying to load into a strongly typed DataSet. I've created the schema and then the DataSet from there. He...more >>

The DataTable / DataSet size
Posted by Lubomir at 10/15/2007 2:05:00 PM
Hi, We do ADO.NEt programming only on the time-to time basis, so we don't have the real deep experience in this matter. Every where in MSDN or other documentation I can read that DataTable/DataSet is designated to keeping disconnected data from a database. So far, so good. But I have nev...more >>

Microsoft.Naming : 'Id' is an abbreviation and
Posted by Just D. at 10/15/2007 11:51:39 AM
Maybe it's FAQ, please point me to the Internet link if it's so. Do we have any way to disable this warning (below) in VS2005 when we do the code analysis? Microsoft.Naming : 'Id' is an abbreviation and therefore is not subject to acronym casing guidelines. Correct the capitalization of 'ID'...more >>

Memory Leak Caused by Using DataTable.Select
Posted by Tristan at 10/15/2007 4:49:25 AM
Hi, I have a DataTable object and need a subset of the rows at runtime so I perform a DataTable.Select on it to retrieve an array of DataRows. I am using this over the DataView/Filter approach as it performs slighltly better in my application. The problem is that the returned DataRow array ...more >>


DevelopmentNow Blog