Sign in
Smart Client Data
This blog describes some of the Data features specific to Smart Clients. This includes Windows Forms, Devices and Visual Studio Tools for Office. The Smart Client Data team, AKA VB Data, is responsible for features such as the Data Sources Window, Typed
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Blogicles
Occasionally Connected Data
Post Whidbey Thinking
Presentations
Whidbey Q & A
Archive
Archives
August 2006
(1)
April 2006
(2)
February 2006
(3)
November 2005
(5)
October 2005
(3)
September 2005
(2)
August 2005
(6)
July 2005
(4)
June 2005
(6)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Smart Client Data
How to retrieve stored procedure return values from TableAdapter
Posted
over 7 years ago
by
youngjoo
18
Comments
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...
Smart Client Data
Q&A About SQL Server Everywhere
Posted
over 7 years ago
by
SmartClientData
2
Comments
Steve posted some answers to many of the questions about SQL Server Everywhere... http://blogs.msdn.com/stevelasker/
Smart Client Data
SQL Server Everywhere - SQL Mobile Unleashed
Posted
over 7 years ago
by
Steve Lasker -MS
0
Comments
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:...
Smart Client Data
Splitting Typed DataSets from TableAdapters - Sharing Validation Code across the tiers
Posted
over 7 years ago
by
Steve Lasker -MS
17
Comments
Article explaining how to separate TableAdapters from Typed DataSets to leverage common validation routines between the client and reinforced by the server. ...
Smart Client Data
Relation Dialog: Relation Only, or with Foreign Key Constraint?
Posted
over 7 years ago
by
SmartClientData
1
Comments
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...
Smart Client Data
VSLive San Francisco Presentations
Posted
over 7 years ago
by
SmartClientData
7
Comments
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...
Smart Client Data
Embedding SQL Server Express into Custom Applications
Posted
over 8 years ago
by
SmartClientData
2
Comments
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...
Smart Client Data
Building SQL manually considered harmful
Posted
over 8 years ago
by
SmartClientData
3
Comments
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...
Smart Client Data
How do I get to the generated code?
Posted
over 8 years ago
by
SmartClientData
1
Comments
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...
Smart Client Data
Data Sources window is inactive in Design View
Posted
over 8 years ago
by
SmartClientData
14
Comments
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...
Smart Client Data
Installing Northwind on SqlExpress
Posted
over 8 years ago
by
SmartClientData
23
Comments
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...
Smart Client Data
Returning the identity column value from a TableAdapter DBDirect method
Posted
over 8 years ago
by
SmartClientData
4
Comments
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...
Smart Client Data
Why is my column named _Region in the Typed DataSet?
Posted
over 8 years ago
by
SmartClientData
2
Comments
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...
Smart Client Data
Case sensitive or not sensitive
Posted
over 8 years ago
by
SmartClientData
3
Comments
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...
Smart Client Data
Performance tip for databound UI
Posted
over 8 years ago
by
SmartClientData
5
Comments
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...
Smart Client Data
PDC05 - Windows Forms: Occasionally Connected Smart Clients
Posted
over 8 years ago
by
SmartClientData
6
Comments
At PDC I presented a session covering Occasionally Connected Smart Clients that can leverage SQL Server Mobile, RDA, ClickOnce running in the background. The sample contains some early thinking on where we're heading post Whidbey, in addition to what...
Smart Client Data
Working with local databases
Posted
over 8 years ago
by
SmartClientData
49
Comments
Overview In Visual Studio 2005 we added a number of features to help developers build and deploy applications that need a local data store. Here's a quick peek at how it works. In order to work with a local database file, you can simply add the...
Smart Client Data
Drag Once w/Custom Controls
Posted
over 8 years ago
by
SmartClientData
2
Comments
Article written for CoDe magazine describing how to customize the controls listed in the Data Sources Window for Drag Once Databinding http://www.code-magazine.com/Article.aspx?quickid=0411071 Steve
Smart Client Data
Drag Once Databinding
Posted
over 8 years ago
by
SmartClientData
0
Comments
Article written for CoDe magazine relating to the Drag Once Databinding features in Smart Client Applicaitons www.Code-Magazine.com/Article.aspx?quickid=0409051 Steve
Smart Client Data
Increasing query time-outs with TableAdapters
Posted
over 8 years ago
by
SmartClientData
5
Comments
Tuning your SQL queries for the best performance can be part of life when you’re writing a database application. Sometimes life is hard, and you just can’t get things running as quickly as you’d like. With the default command time-out at 30 seconds, how...
Smart Client Data
Setting NullValue property for typed dataset
Posted
over 8 years ago
by
SmartClientData
14
Comments
In Whidbey DataSet designer, you are able to set Typed DataColumn's NullValue property to the following values if the DataType is string 1 (Empty) 2 (Nothing) (null for C#) 3 (Throw exception) 4 any string you can type in. The first...
Smart Client Data
Navigating a large DataSet with the Document Outline - Zoom
Posted
over 8 years ago
by
SmartClientData
1
Comments
In 2005 we now have a new DataSet Designer. While we had planned to implement Zoom functionality it turned out to be more difficult then we had hoped. Long term we plan to leverage the new design framework that’s used by the Class designer. However, this...
Smart Client Data
TableAdapters will support TimeStamp Concurrency Checks
Posted
over 8 years ago
by
SmartClientData
5
Comments
I’m happy to report that we were able to get TimeStamp comparison added. The issue we faced was by the time the DBCommandBuilder API stabilized we were in what we call UI freeze which means we couldn’t change UI elements without some major negotiating...
Smart Client Data
Customizing the connection string for TableAdapters
Posted
over 8 years ago
by
SmartClientData
15
Comments
Visual Studio 2005 now leverages the strongly typed settings file which wraps app.config. With connection strings stored in app.config/Settings, developers can centralize their connection strings across their application. Some advantages over VS2003 are...
Smart Client Data
Databinding not happy with the object name containing dots
Posted
over 8 years ago
by
SmartClientData
0
Comments
DataBinding does not work well with DataTable name with a "." The Dot in a DataTable name or a DataColumn name will not make the DataBinding happy. For example, if you drag drop a table from the DataSource window to a Windows Form, it would not...
Page 1 of 2 (32 items)
1
2