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 > august 2007 > threads for august 22 - 28, 2007

Filter by week: 1 2 3 4 5

Strongly Typed Dataset should be in DataAccess Layer or Business Layer
Posted by kittipong.kiatcheeranun NO[at]SPAM gmail.com at 8/28/2007 6:06:16 PM
I am not exactly sure that my understanding is right or wrong. In strongly typed dataset we can generate all of the fields from tables in database and also has tableadapter that allow us to write down sql command in or directly link to table. We still can write the code in dataset partial class ...more >>


Strongly Typed Dataset should be in DataAccess Layer or Business Layer
Posted by kittipong.kiatcheeranun NO[at]SPAM gmail.com at 8/28/2007 6:04:56 PM
I am not exactly sure that my understanding is right or wrong. In strongly typed dataset we can generate all of the fields from tables in database and also has tableadapter that allow us to write down sql command in or directly link to table. We still can write the code in dataset partial class ...more >>

DataRow Array size
Posted by Manjree Garg at 8/28/2007 7:42:12 AM
Hi Is there any way of declaring an array of DataRow of variable size (or dynamic array) in ADO.net as the fowwing syntax require the size of the array. array<DataRow^>^ rows= gcnew array<DataRow^>(size); I am searching my SQL Server2005 databases DataTable for a given column value u...more >>

Out of sync with two connections
Posted by brinko99 at 8/27/2007 10:48:01 PM
I am using a User Control that reads and writes data to an Access Database using OLE DB classes (OleDbConnection...) I believe the control is storing data locally in a DataSet which populates a DataGrid. My application is trying to read and write data to this same database directly and I'm...more >>

HasChanges returns false for one row, true when more than one
Posted by Mike G Burton at 8/27/2007 1:40:04 PM
I have a (third-party) grid bound to a dataset for display purposes, but during the operation in question I'm directly updating the dataset from my application code. When I call HasChanges on the dataset, I get False if the dataset has a single row, but True if the dataset has multiple rows. ...more >>

Problem with data table manipulation prior to update
Posted by B. Chernick at 8/27/2007 11:50:07 AM
I'm passing a data table to a form. This table is then bound to a binding source which is in turn bound to a datagridview so that only a subset of the table is ever displayed (filters by key). This form is your basic dialog with OK/Cancel buttons. For reasons too complicated to explain, w...more >>

Dataset designer and complex Stored procedure
Posted by Gerard at 8/27/2007 12:00:00 AM
I have many complex SQL Server 2000 stored procedures, using cursors, temp tables... They all finally return a resultset that could be a join on several user and temp tables. Now, when I try to drag some of them on a dataset in VS 2005, the designer will create a QueriesTableAdapter for a q...more >>

Database Data Types
Posted by Jonathan Wood at 8/26/2007 8:29:21 AM
The further I delve into .NET and ADO.NET, the more things I seem to find missing that we had 10 or 15 years ago. I really don't understand why. So, using VS to create an SQL database I see: 1. There is no Boolean data type. Further, if I use tinyint and set it's default value to 0, I see ...more >>



datetime conversion from UDT/GMT to localtime
Posted by georgejetson at 8/25/2007 5:58:01 AM
Hi, Env: VB .net 2005 against SQLServer 2000 SP4 on Windows XP (latest SP) Situation: My database has all date/times stored in UDT/GMT in datetime fields in sqlserver...(I'm in USA EST, thus, GMT now is +4.00) [When daylight savings time goes away in the fall, it will be +5.00) My VB ...more >>

ASP.NET binding to DataReader
Posted by Andrew Robinson at 8/24/2007 8:52:27 AM
I have a large collection of DAL code that returns lists of entities (List<entity>) for general binding operations usually to a GridView via an ObjectDataSource. I think about binding directly to a SqlDataReader but how do I insure that the Reader and its associated Connection both get clos...more >>

Default Values Configuring the Where Clausse of a SQLDataSource
Posted by Lee Stevens at 8/23/2007 9:44:02 AM
I am somewhat new to vb.net and asp.net (am a former VB6 turning .net programmer)... I have a textbox, which I would like to populate with criteria to show in the datagrid. This works fine, however, when no text is found in the textbox, there are no results to display. I would like to if ...more >>

DataTable ColumnChanging event nit firing on adaptor.Fill()
Posted by Amir Tohidi at 8/23/2007 7:00:08 AM
Hi I am successfully filling my DataSet with data using an adaptor. Prior to calling Fill(), I regsiter handler for the ColumnChanging event of each DataTable in my DataSet because I want to do field level validation of each data item. Unfortunately, my event handler is NOT getting calle...more >>

Accessing DataTable Problem
Posted by Graybane at 8/23/2007 6:26:05 AM
Hi Folks, I am having a problem reading an existing typed datatable. I am sure that I have over looked something simple but I am not seeing the forest for the trees. I am using the below code and the reader does not pickup any rows. Private MyDataSet As SomeDataSet Private MyDataTab...more >>

search and update data
Posted by Nhan at 8/22/2007 4:16:23 PM
Hi, I am beginer in ADO.Net, have such a problem. I want to search for a row of a table or query then update data of this row. With which ADO.net classes can I do this? An equivalent to ADO recordset object! The System.Data.Dataview can search, delete. Can it also update data? With DataTab...more >>

Transaction fail when called via remoting
Posted by Johan Karlsson at 8/22/2007 3:06:33 PM
Hi! I have an application where the client call the server over .net remoting (tcp). The final code to be called looks something like this: Public Sub Update() Using t as New Transaction UpdateThisObject() UpdateChildObjects() ' <--- System.Transaction.Transacti...more >>


DevelopmentNow Blog