c#


C# Windows Form -DataGrid -DataPropertyName


What is the use of DataPropertyName in Win Form of VS?
DataGridViewColumn.DataPropertyName Property
Gets or sets the name of the data
source property or database column to
which the DataGridViewColumn is bound.
When the AutoGenerateColumns property
is set to true, each column
automatically sets its
DataPropertyName property to the name
of a property or database column in
the data source specified by the
DataSource property. This binding can
also be performed manually, which is
useful when you want to display only a
subset of the properties or database
columns available in the data source.
In such cases, set the
AutoGenerateColumns property to false,
and then manually add each
DataGridViewColumn, setting the value
of each DataPropertyName property to
the properties or database columns in
the data source that you want to
display.
http://social.msdn.microsoft.com/Search/en-US?query=DataPropertyName+DataGridView
See DataGridViewColumn.DataPropertyName Property.
Have a look at Dev Q&A : DataGridView
DataPropertyName to identify if the
column is bound and what field it is
bound to.

Related Links

What is the point of groupBox in WFA in C#?
c# Equivalent of Err in vb
Managed VCL.Arrow keys and Tab key
JavaScript - Escape single quote in the JavaScript Object property value
C# Are the variables inside the static methods initialized in the beginning or when the method is called first?
EventLogs using Silverlight
Moq - Setup return values of strongly typed class
Which MySQL version is my application using if I have both wamp as well as standalone MySQL installed separately?
strange behavior of Property functions
How to run the application from the other system
How to apply updates using Domain Service Class?
Compiling and accessing class at runtime [closed]
Memory leak with object initialized in a static method and using NSNotificationCenter
AutoMapper - Map using the same source and destination object types
C#: WMP, time stamp in milliseconds / tenth of a second
Match regex pattern when not inside a set of quotes (text spans multiple lines)

Categories

HOME
actionscript-3
autohotkey
azure-active-directory
dynamic
query-string
ephesoft
token
wkhtmltopdf
rename
select2
mongodb-replica-set
expo
web-worker
template10
serenity-js
opengraph
oracle-golden-gate
functional-dependencies
windowserror
jopendocument
azure-table-storage
edirectory
selenium3
jql
directions
http-proxy
intersection
stochastic-process
scalamock
mtm
anonymous-function
django-tables2
e4
boost-regex
android-vectordrawable
kendo-scheduler
try-catch-finally
turbolinks
foreground
paypal-subscriptions
ideavim
ooad
web-performance
angular-promise
play-json
self-join
android-togglebutton
first-order-logic
uinavigationitem
p4python
teamwork
crtdbg.h
growl
lwuit
nest-initiative
episerver-7
slimscroll
boofcv
xtify
8-puzzle
listpicker
record-locking
source-depot
azure-scheduler
proj4
cocotron
gwt2
mmo
gpl
motordriver
maven-eclipse-plugin
utm
wdm
isgl3d
parallel-python
vectorwise
xpolog
peoplepicker
youtube.net-api
auto-compile
netduino
lwp
cpack
webdb
code-golf
appointment
user-preferences
jettison
high-load

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App