strongly-typed-dataset Questions

4

Solved

I am comparing the EF and typed datasets for their usefulness. I was failing to see why you would use the EF over typed datasets if the EF is bound to SQL Server only. But is it true that the Linq ...
Scrunch asked 28/7, 2010 at 23:1

9

Solved

First apologies as there are similar questions on this site, but none of them answer this problem directly. Im using typed datasets in VS 2010. I create a TableAdapter in a Dataset with a query li...
Caribbean asked 23/3, 2011 at 6:36

7

Preamble: So, over the past 5 years or so various applications and tools have been written here at my company. Unfortunately many of the people who developed these applications used strongly typed...
Uniformed asked 22/6, 2009 at 17:26

4

Solved

I have created DataSet for RDLC reports. Now i have changed my Stored Procedure by adding some new Columns to it. DataSet contains different Stored Procedures, now how can i update the DataSet with...
Cod asked 28/5, 2014 at 8:52

6

Solved

On a dataset is a EnforceConstraints property indicating whether the constraints should be enabled. Althought a datatable also can have constraints i cannot disable the constraints for a datatable....
Away asked 22/6, 2011 at 12:21

4

Solved

I have a strongly typed data set which throws this error for null values, System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, uniq...

2

Solved

The whole question has been rewritten to be more clear.. New project design: Sql Server 2012 Visual Studio 2012 .Net 4.5 Business logic will be implemented in stored procedures ASP.Net Webfor...

7

Strongly-typed DataTables support "nullable" field types, except that the designer will not allow you change the setting to "allow nulls" for any value type fields. (ie: String types allow nullable...

5

Solved

I moved a typed dataset from one project to an ASP Web Application project. I put the typed dataset into one of the existing directories as it was in the App_Code directory of the previous site but...
Electromagnetism asked 31/12, 2008 at 14:49

2

Solved

I am attempting add a tableadapter to a stored procedure in my SQL Server 2005 Express. The stored procedure, however, uses a temporary table called #temp. When creating the table adapter, Visual S...

3

Solved

I'm migrating our DAL class library to .NET 4 (from .NET 3.5). We're using typed datasets quite often, and we often iterate over tables: foreach(var row in ds.MyTable) var tmp = row.ID; This doe...
Gasolier asked 17/12, 2010 at 9:23

2

Solved

I would like to step through dataset designer code in an ASP.NET project. How can I ensure that this: [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] is not included on the code it ge...
Enthuse asked 25/6, 2009 at 15:31

4

Solved

I need to reuse a DataAccess method prescribed by client. This method returns a vanilla datatable. I want to cast this datatable to my Typed datatable. The amount of columns and their types will ma...
Volume asked 9/9, 2009 at 9:43

1

Solved

I have a datatable in a typed dataset with a date column When I change the NullValue property to return null or empty , vs 2008 wont let me. it says The value entered is not valid for the curre...
Tearoom asked 23/8, 2011 at 12:26

2

Solved

I have a project which uses strongly typed datasets. Let's assume I want to change the database schema of the database used by this application. I have a table named Country and I want to add a ne...
Perigynous asked 4/8, 2010 at 17:20

1

Solved

I've been searching a lot but I haven't found anything about this question. I'm making a log of my app and I'm printing types of variables and their values. I want to do the same for every object I...
Bul asked 18/11, 2010 at 17:2

3

Solved

I'm using ADO.NET with a strongly typed dataset in C# (.NET 3.5). I want to insert a new row to two tables which are related in an 1:n relation. The table Attachments holds the primary key part of...
Lignite asked 25/8, 2009 at 12:51

3

I need some expert advice on strong typed data sets in ADO.NET that are generated by the Visual Studio. Here are the details. Thank you in advance. I want to write a N-tier application where Pres...
Pontus asked 5/4, 2010 at 2:2

1

Solved

I'm trying to understand what is the best practice using XSD tables generated from the Database scheme that I currently use. 1) Do you think the XSD information should be located as part of the Mo...
Monolatry asked 20/1, 2010 at 12:0

2

Solved

In our applications, I can't think of many cases where we care about null string fields. We just want them to show as empty strings in most situations. So when using the built in ADO.NET dataset ...
Floorer asked 13/11, 2009 at 10:43

4

Solved

I've created a strongly typed dataset (MyDataSet) in my .NET app. For the sake of simplicity, we'll say it has one DataTable (MyDataTable), with one column (MyCol). MyCol has its DataType property ...
Halfbreed asked 22/9, 2009 at 18:1

3

Solved

I'm working with .NET strongly-typed datasets and have a table with a nullable int column (and a nullable DateTime column as well). Apparently there is a bug with the dataset designer that prevent...
Herrle asked 18/5, 2009 at 18:22
1

© 2022 - 2024 — McMap. All rights reserved.