Login       Friday, September 03, 2010    
Search
Articles
Get the complete Codeheads Module Suite for only $100
Displaying Content and Multi-Media
The Content Server - Built To Order CMS
Content Server Documentation
Content Server Features List
KodHedZ Firesale Event - Huge Savings
Enterprise Server Tools Installed and Configured
KodHedZ Software Press Release Oct 17, 2007
KodHedZ Networked Components
Installing the Directory Module
KodHedZ Custom Business Object Architecture
KodHedZ Catalog Server
KodHedZ License Server
Content Loader
Content Manager
KodHedZ Website Hosting Server
KodHedZ Module Comparison
KodHedZ Invoice Server
Setting Up Your Store To Accept Credit Cards
17. Order Management
16. Choosing the Traits for a Product
15. Choosing the Traits for a Category
14. Calalog Traits and Qualities
13. Sub Products
12. Adding Products to Your Catalog
11. Categories
10. Product Administration
09. Receiving a Shipment of Inventory
08. Generating Purchase Orders Automatically
07. Printing or Emailing a Purchase Order
06. Opening and Modifying a Purchase Order
05. Creating a Purchase Order Manually
04. Supplier Management
03. Store Settings
02. Administration Overview
KodHedZ Web Tracker ASP.NET Component
KodHedZ Notepad for DotNetNuke
KodHedZ Multi Media Display for DotNetNuke
The KodHedZ Spine - Complete Management Solution
KodHedZ Image Links for DotNetNuke
Configuration and Uploading Videos
KHZ Content Publishing Server
How To Place an Ad
Administrative Settings - Part 2
Administrative Settings - Part 1
KHZ Video Ads Module
Video Library for the KodHedZ Content Server
KHZ AJAX Chat Modules for DotNetNuke 4
KodHedZ Directory Module
01. Overview of Terminology
KodHedZ Software Development, Inc Press Release Q1 2007
13. Field Parameters
12. Field Associations
11. All Other Field Types
10. Check Box Fields
09. Radio Button List Field
08. Drop Down List Field
07. Text Box Field
06. Field DataBound Settings
05. Label Display Settings
04. Understanding Form Fields
03. Pre-Made Forms
02. Form Elements
01. Understanding Forms
- Overview
Rapid Module Development for DotNetNuke
KodHedZ Form Loader for DotNetNuke 4
KodHedZ ARC Manager for DotNetNuke 4
KodHedZ ARC HttpModule for ASP.NET
KodHedZ Portal Duplicator for DotNetNuke 4
KodHedZ Layout Loader for DotNetNuke 4
KodHedZ Employee Profiles for DotNetNuke 4
KodHedZ Scrolling Advertisements for DotNetNuke 4
KodHedZ Template Manager for DotNetNuke 4
KodHedZ Bulletin Board
KHZ Spine Server
KHZ EZ-Cart Ecommerce Module
KHZ Form Generator Module for DotNetNuke 4
KHZ Storefront Ecommerce Module
06. Field DataBound Settings
Bookmark This Page  View This Page Fullscreen  Print This Page  View the comments for this page      View the RSS Feed Submit to del.icio.us Digg it Submit to Stumble Submit to Reddit Submit to Fark    Vote this page Up  Vote this page Down

Field DataBound Settings

DataType

The DataType setting is an enumeration of the .NET Type SqlDbType. This is an important setting in your field, as it controls how the value is persisted in the communications with the database and within the form. Its values are:

BigInt – any whole number within the range of -9,233,372,03,854,775,808 and 9,223,372,036,854,775,807
Binary – Data held within this data type is in binary format. This is used mainly for flags, or combinations of flags. For example perhaps you want to hold flags about a customer. You need a flag for active customers (value = 1), customers with orders within the last month (value = 2), orders over $1000 (value = 4), and loyal customers (value = 8). This adds up to 4 columns of data, however by using binary data types, you could have an active customer whose last order was more than $1000, and who meets loyalty criterion. These flags would yield a value of 13 (1+4+8 = 13), thus you can store a single column and yet have many flags set via this value.
Bit – The bit column holds a value of 0 or 1 usually used to determine True or False values.
Char – A fixed length data type that may contain alphanumeric characters.
DateTime – This data type will hold any date value from January 1st, 1753 to December 31st, 9999. It also stores a time; if you enter no time then the default value of 12:00:00 will be stored as well.
Decimal – Stores any combination of 38 numerical digits with a decimal, from -10^38+1 to 10^38-1. The greater precision required to the right of the decimal point , the less digits can be used to the left of the decimal point.
Float – This is used for numbers where the decimal point is not fixed. Floats hold very large numbers in the range of -1.79E+308 through 1.79E+308. The values here may sometimes not be as precise as is wished. Number such as Pi may be truncated as they have more decimal place than can be catered for.
Image – This data type hold images.
Int – Integer, is used for numeric values ranging from -2,147,483,648 to 2,147,483,647
Money – This data type is used for holding numeric data type with up to four decimal places. This is not to be used for different monetary types as it has no distinction as to the type of currency held within but only to the calculation of said currency.
NChar – Same as char, but data is stored as Unicode.
NText – Similar to text data type but data is stored as Unicode, only 1GB of data can be stored.
NVarChar – Similar to varchar, but uses Unicode to store data.
Real – Similar to float, but ranges from -3.40E+38 through 3.40E+38
SmallDateTime – Similar to DateTime, but ranges from January 1st, 1900 to June 6th, 2079
SmallInt – This data type can store number between the ranges of -32,768 to 32,767
SmallMoney – Similar to money but ranges from -214,748.3648 to 214,478,6347 Text – Can hold up t0 2GB of text data.
TimeStamp – Not expected to be manually input, usually holds a binary number generated by SQL server to serve as a unique version number of the data stored in a row.
TinyInt – This data type holds small numbers in the range of 0 – 255
UniqueIdentifier – This data type holds a GUID(Globally Unique Identifier) similar to TimeStamp, usually generated from combined information on the network card, processor ID, date and time.
VarBinary – Similar to binary except that the physical column size per row may differ depending on values stored
VarChar – This data type holds alphanumeric data but only stores the number of characters that the data in the field contains.
Variant – May contain any type of data except fixed length string data.

FieldAssociation

The Field Association setting is a valuable part of how fields interact with each other on the page, as well as how the data is persisted to the database. The Setting Value is the exact FieldName of another control on the page. This name corresponds as well with a predefined Type that is used to control what data is saved, and in which ways. You can create and modify these Associations based on the Form Type using the Form > Edit / Add Association button.

 



 Latest Video

Get the Flash Player to see this video.

  
Search By Tag
Join This Tagplace
Your Email Address
 
Subscribe
    KodHedZ Software Team DiscHeads Disc Golf Super Uber Geek Disc Golf World News multistore Enterprise Architect Sports and so Much More More .net Modules Champion Plastic Disc Golf Outlet evopoint Affiliate Marketing Help Begin to Garden Backpack the World Tennis strokes and how to hit a fuzzy ball. In Profit List Building Jacob Bushnell Wood Recovery Inc.
Privacy Statement   Copyright 2007 by KodHedZ Software Development, Inc