SqlCommand.CommandTimeout seems to have no effect
Fri, 10 Oct 2008 06:22:00 -0700
Hi,
I am trying to set the CommandTimeout property in the .NET SqlCommand object
to less than the default 30 secs. I might also want it to be more than 30
secs. Running a query results in the query not terminating as expected, it
continues until completion.
For example, if I set the CommandTimeout to 5, ...
|
Chinese antique
Fri, 10 Oct 2008 03:56:33 -0700 (PDT)
Chinese antique
world first, the antique chinaware series please watch!
Entire fidelity 100% Antique (1912-1949) Republic of China porcelain
teapot 825 chinawares 400 please watching!
Website http://www.xjx588.com
E-mail xjx_588@tom.com
City Shengzhou Zhejiang China
Jianxiong Xu
È«ÇòΨһ¡¢¹Å¶´ÉÆ÷ϵÁÐÇë¹ÛÉÍ£¡
...
|
VS 2008 Data Access Issues
Thu, 9 Oct 2008 23:04:23 -0400
I'm an occassional programmer who has been playing around with C#.
I've built database applications before, but running into problems with C#
and using data access controls to do a simple thing like display the data in
the datagridview control.
I'm using an Access database as the backend data store and I a ...
|
What is the best way to copy a database
Thu, 09 Oct 2008 18:06:18 -0600
From Sql Server 2000 on one system to Sql Server 2005 on another?
I've just spent an hour trying and no matter what approach and what
settings - it fails. It would have been faster if an hour ago I had
just started reading the schema of the source and typed it into the
destination.
I'm getting everything in ...
|
How do I set the login name for a user?
Thu, 09 Oct 2008 17:56:26 -0600
Hi;
I have a user "dbo" as the one user for a database. Under properties
the radio button is set to Login name but there is no login name and
it's disabled so I can't set it.
How can I fix this?
thanks - dave
david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- ...
|
ObjectContext
Thu, 9 Oct 2008 07:55:01 -0700
I have a instance of ObjectContext created like this:
MyDbEntities myDb = new MyDbEntities(connectionString);
I try to add object like the following
MyObject theObject = new MyObject();
...
myDb.AddObject("MyObjectType", theObject);
myDb.SaveChanges();
If I call to add object code, the first time will be ...
|
DataTable.AddNew()
Thu, 9 Oct 2008 12:05:01 +0200
Hello NG
I have the following code:
DataTable dt = new DataTable();
.... prepare the columns.
DataRow rowNew = dt.NewRow();
...
...
DataTable.Rows.Add(rowNew);
My question, can i be sure that datatable.rows.add() method always adds to
end of rows. So that if i need to get the row again, i can simply ...
|
|
|
Multiple EDMX Files
Wed, 8 Oct 2008 20:41:01 -0700
Is it possible to have more than one EDMX file in a project? I have a
database with about 70 tables. Do I need to put the whole thing in a single
EDMX file?
Thanks,
-CT3 ...
|
Entity Framework in Medium Trust Environment
Wed, 8 Oct 2008 12:00:02 -0700 (PDT)
I am trying to use the Entity Framework in an application hosted at
GoDaddy. I'm having no luck, I keep getting an error:
System.Security.SecurityException:
System.Security.Permissions.SecurityPermission
It's my understanding that GoDaddy is a "Medium Trust" environment,
and some posts I've found indicate th ...
|
Error 3033: Problem in mapping fragment
Tue, 7 Oct 2008 19:30:00 -0700
Hi,
I am trying to follow the How to: Define a model with single entity mapped
to two tables, but I am getting the following error as I validate the model:
EntitySets 'Store' and 'Customer' are both mapped to table 'Customer'. Their
primary keys may collide.
the mapping xml for the Store EntitySet is li ...
|