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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
|