Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

How to retrieve stored procedure return values from TableAdapter

If you’ve been wondering why you are not able to access stored procedure return values from TableAdapter, here’s the solution for you. I will use tbTasks table and spInsertTask stored procedure to demonstrate the solution. You can see definitions for
Posted by youngjoo | 18 Comments
Filed under:

Q&A About SQL Server Everywhere

Steve posted some answers to many of the questions about SQL Server Everywhere... http://blogs.msdn.com/stevelasker/

SQL Server Everywhere - SQL Mobile Unleashed

Today Paul Flessner announced that SQL Mobile will be released as SQL Server Everywhere Edition. http://www.microsoft.com/sql/letter.mspx Details are yet to be announced. But to get a feel for what the new product will do, check out this walkthrough:

Splitting Typed DataSets from TableAdapters - Sharing Validation Code across the tiers

Article explaining how to separate TableAdapters from Typed DataSets to leverage common validation routines between the client and reinforced by the server.
Posted by Steve.Lasker | 17 Comments
Filed under: ,

Relation Dialog: Relation Only, or with Foreign Key Constraint?

Using the Relation Dialog, you are asked to choose Relation Only, Foreign Key Constraint Only, or Both. Which is the right choice? “Relation Only” makes available the tables related to the table that you are working with. This means that if you are working

VSLive San Francisco Presentations

At VSLive I presented two sessions. One for Occasionally Connected Smart Clients and another on Advancements in Data Access. The Occasionally Connected Smart Client session focused on what we’re working on post VS 2005. Some of which should be in Orcas,

Embedding SQL Server Express into Custom Applications

Rob Walters, from the SQL Team, and I worked on an article for working with SQL Express in Windows Forms applications. There are a couple of quirks when it comes to Click Once that have been included in this MSDN article. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/EmSQLExCustApp.asp

Building SQL manually considered harmful

I just got done fixing a painful bug. The long and short of it is that I had code like this (simplified a lot for brevity): Public Sub StoreSyncDate() Dim sql As String = "insert into SyncTimes (ObjectID, SyncDate) values ({0}, '{1}')" sql = String.Format(sql,

How do I get to the generated code?

In order to get to the code that is auto-generated by Visual Studio, follow these steps: 1. In the menu, select View -> Solution Explorer 2. In Solution Explorer, click the “Show all Files” icon at the top 3. Expand the file (e.g. Dataset1.xsd) that
Posted by SmartClientData | 1 Comments
Filed under:

Data Sources window is inactive in Design View

On certain machines, after installing Visual Studio 2005, the contents of the Data Sources window disappears when a design surface that allows drag and drop from the Data Sources window is active. For example, the Windows Forms designer, User Control
Posted by SmartClientData | 14 Comments
Filed under:

Installing Northwind on SqlExpress

When performing a default install of Visual Studio 2005 an instance of Sql Server Express edition is installed. Unfortunately there are no sample databases included with Sql Express. ( http://lab.msdn.microsoft.com/express/sql/ ) I've had more than a

Returning the identity column value from a TableAdapter DBDirect method

A common scenario when using tables with an auto-increment primary key is to get the value of the identity column for the row you just inserted. Sometimes you can't, or don't want to, use DataSets, which is why we created the DBDirect methods on the TableAdapter.

Why is my column named _Region in the Typed DataSet?

One quirk you'll find when making a typed DataSet with a column or table named "Region" is that the generated code produces a property called "_Region". What's up with that? If you read Raymond Chen's blog , you already have a pretty good guess: Backward

Case sensitive or not sensitive

In a Dataset, case sensitive seems only apply to the data not to the schema Within a dataset, table and column names are by default case-insensitive — that is, a table in a dataset called "Customers" can also be referred to as "customers." This matches

Performance tip for databound UI

When loading large amounts of data into a dataset table with databound UI, things can get pretty slow. One reason is that each time a row is added to the table, the databinding components will perform some work and tell the databound controls that a new
More Posts Next page »
 
Page view tracker