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

Switching between word documents interop
Checking whether a sequence of integers is increasing
C# CF - Convert a SOAP Message from a Stream
Breaking change in method overload resolution in C# 6 - explanation?
#Url.RouteUrl returns misleading/wrong path for a controller-action (unless the 'routeName' parameter is explicitly specified)
Entity Framework - Loading specific Navigational Property for members in collection
How to create a border for the text in the TextBlock?
Pass a UIElement class parameter to an assembly class?
Simple way to get MAC address from inputted IP?
Using bindings for dependency property XAML
Resize PictureBox with its related controls
Get value inside XElement
How to limit DocuSign request to either wet signing or signature drawing
Query VMWare by ManagedObjectReference?
AdmobAPI/Admob.cs(12,40): warning CS0067: The event `admob.Admob.nativeBannerEventHandler' is never used
Sqlite Batch Insertion Becoming slower after deployment to client's machine

Categories

HOME
reactjs
kendo-ui-angular2
azure-active-directory
azure-eventhub
salesforce-lightning
assign
esxi
overrides
jquery-select2
promotions
spring-data-solr
suitecrm
expo
reportlab
filehelpers
md2
orange
civicrm
audio-streaming
computation-theory
concatenation
scalatest
expressionengine
ballerinalang
cloudformation
ipython-parallel
undo
multilanguage
wordpress-rest-api
availability
microstrategy
headphones
cocoa-scripting
outlook-2010
scip
instances
gem-fury
mybatis-generator
office-interop
wicket-tester
peerjs
bootstrap-carousel
spring-webflow-2
vertex
perldoc
dynamic-linking
zedgraph
optional-parameters
symantec
universe
objectify
hfp
nimbus
avaudiorecorder
boost-propertytree
stdlist
google-finance-api
clear
opendolphin
gtkwave
android-contentresolver
windows-kernel
transbase
windows-phone-8-emulator
identifying
cloud-storage
xml-simple
sicstus-prolog
mri
backtrace
unityvs
grunt-contrib-connect
system.net
sat4j
step
visual-studio-setup-proje
webshim
power-management
connections
nvcc
ekevent
mencoder
android-library
asp.net-4.0
junction-table
string-length
gpl
libx264
freeimage
erlide
diazo
reflexil
socketasynceventargs
advanceddatagrid
facebook-winjs-sdk
datejs
code-organization
digg
sessiontracking
designated-initializer
norton
google-local-search
qprocess
djangoappengine
tracd

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