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 > september 2003 > threads for thursday september 4

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

This works But........
Posted by scorpion53061 at 9/4/2003 7:39:22 PM
select SLSMN, sum(SALESAMT) from yourtable Group By SLSMN will work when pulling data from a SQL database table. It totals all salesman's sale amounts and groups it by them. How could I acomplish this in a datatable where I have already added the rows but without having to send the rows to t...more >>


dataset error
Posted by john at 9/4/2003 4:41:25 PM
hi im trying to update a dataset DataRow r = ds.Tables["customer"].NewRow(); r["Name"]="customer1"; ds.Tables["customer"].Rows.Add(r); da.Update(ds,"customer"); when i run da.Update(ds,"customer"); this piece of code i get the following error Update requires a valid InsertCo...more >>

Pooling Command Object (Prepared)
Posted by Michael Angelo Libio at 9/4/2003 2:21:25 PM
I was wondering if anyone has tried or has anything against the idea of pooling a collection of command objects that has been prepared. I'd like to access/execute a method from multiple threads (executing the same exact sql command with varied parameters on each execution). Will this impro...more >>

One Dataset for all forms
Posted by ck at 9/4/2003 12:57:09 PM
Hello, I need to create a windows application with three forms I want to use one dataset and minimize trips to the database. So far, I've created my forms, configured a data adapter, and a dataset on form1, I binded elements from the dataset to their respective textboxes on the form. Wh...more >>

vb.net & sql hot fix MS03-031, etc.
Posted by Kyle Jedrusiak at 9/4/2003 11:11:45 AM
We are developing a web app in vb.net for a client. It accesses data from sql 2000. It's running under DotNet v1.0. The app runs perfectly well in-house, but dies with a severe error on their setup. We have traced what we think is the issue to a sql hot fix, MS03-031, which preports to ...more >>

setting timestamp parameter
Posted by Eirik M. at 9/4/2003 11:10:55 AM
What is the correct way to set the value of an SqlParameter of SqlDbType.Timestamp? Let's say you've got the following declaration SqlParameter[] parms = { new SqlParameter ("@PKId", SqlDbType.Int), new SqlParameter ("@description", SqlDbType.NVarChar), new SqlParameter ("@timestamp", SqlDbTy...more >>

n-tier Database Security Question
Posted by Edward J. Stembler at 9/4/2003 8:37:08 AM
I have an n-tier .Net application where a data-access layer (DAL) object connects to a SQL Server database. The DAL object physically lives on a separate computer from the database and presentation layer (clients). The client application would like to use integrated NT security. The DAL...more >>

SIMPLE update from dataset.
Posted by Mark at 9/4/2003 5:22:58 AM
Hello all - I'm really banging my ahead on this one and pulling my hair out as the functionality is simple to do but for some reason, I can't get my code to work. What I'm attempting to do is pull data in from a text file into a dataset and then take that dataset and update the databa...more >>




DevelopmentNow Blog