This HTML5 document contains 52 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

Namespace Prefixes

PrefixIRI
dctermshttp://purl.org/dc/terms/
n14http://vos.openlinksw.com/wiki/main/VOS/VirtDB2VisualStudioDataGridFormsApp/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n12http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n4http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n19http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtDB2VisualStudioDataGridFormsApp/
dchttp://purl.org/dc/elements/1.1/
n2http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n11http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n8http://vos.openlinksw.com/dataspace/person/dav#
n5http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n13http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n17http://vos.openlinksw.com:80/wiki/main/VOS/VirtDB2VisualStudioDataGridFormsApp/
n20http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#

Statements

Subject Item
n8:this
foaf:made
n4:VirtDB2VisualStudioDataGridFormsApp
Subject Item
n2:this
sioc:creator_of
n4:VirtDB2VisualStudioDataGridFormsApp
Subject Item
n12:item
n11:services_of
n4:VirtDB2VisualStudioDataGridFormsApp
Subject Item
n13:this
sioc:creator_of
n4:VirtDB2VisualStudioDataGridFormsApp
Subject Item
n5:VOS
sioc:container_of
n4:VirtDB2VisualStudioDataGridFormsApp
atom:entry
n4:VirtDB2VisualStudioDataGridFormsApp
atom:contains
n4:VirtDB2VisualStudioDataGridFormsApp
Subject Item
n4:VirtDB2VisualStudioDataGridFormsApp
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:39:14.165100
dcterms:modified
2017-06-29T07:36:37.101582
rdfs:label
VirtDB2VisualStudioDataGridFormsApp
foaf:maker
n8:this n20:this
dc:title
VirtDB2VisualStudioDataGridFormsApp
opl:isDescribedUsing
n19:sioc.rdf
sioc:has_creator
n13:this n2:this
sioc:attachment
n14:._.DS_Store n14:VirtDB2DataGridApp1.png n14:.DS_Store n14:VirtDB2DataGridApp8.png n14:VirtDataGridApp01.png n17:._.DS_Store n14:VirtDB2DataGridApp6.png n14:VirtDB2DataGridApp7.png n17:.DS_Store n14:VirtDB2DataGridApp4.png n14:VirtDB2DataGridApp5.png n14:VirtDB2DataGridApp2.png n14:VirtDB2DataGridApp3.png n14:VirtDataGridApp08.png n14:VirtDataGridApp09.png n14:VirtDataGridApp06.png n14:VirtDataGridApp07.png n14:VirtDataGridApp04.png n14:VirtDataGridApp05.png n14:VirtDataGridApp02.png n14:VirtDataGridApp03.png n14:VirtDataGridApp10.png n17:._.DS_Store.tyvEYH
sioc:content
%VOSWARNING% %META:TOPICPARENT{name="VirtDB2EntityFrameworkUsage"}% ---+++Visual Studio Windows <nop>DataGrid Form Application This article details the steps required to create a simple Visual Studio 2008 Windows Form application, with associated <nop>DataGridView control for displaying data in selected tables from the target database. 1 Launch the Visual Studio 2008 SP1 IDE. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp01.png" style="wikiautogen"/>%BR%%BR% 1 Create a <b>Web Application</b> project by going to the <b>File</b> menu in Visual Studio and choosing <b>New Project</b>. %BR%%BR% 1 When the New Project window appears, choose either <b>Visual Basic</b> or <b>Visual C#</b> as your programming language.%BR%%BR% 1 Within the language category, click on <b>Windows</b> and select <b>Windows Form Application</b> from the right-hand panel. %BR%%BR% 1 Choose a name for the project, for example <b><nop>VirtWindowsFormApplication</b>, and click <b>OK</b>. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp02.png" style="wikiautogen"/>%BR%%BR% 1 In the <b>Toolbox</b>, expand <b>Data</b> Controls and drag the <b><nop>DataGridView</b> control onto the form. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp03.png" style="wikiautogen"/>%BR%%BR% 1 Click on the little <b>arrow</b> in the top right of the <b><nop>DataGridView</b> control to load the <b><nop>DataGridView Task</b> menu. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp04.png" style="wikiautogen"/>%BR%%BR% 1 Click on the <b>Choose Data Source</b> list box. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp05.png" style="wikiautogen"/>%BR%%BR% 1 Click on the <b>Add Project Data Source</b> link to connect to a data source. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp06.png" style="wikiautogen"/>%BR%%BR% 1 In the <b>Data Source Configuration Wizard</b> dialog <b>Choose Data Source Type</b> page, select the <b>Database</b> data source type and click <b>Next</b>. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp07.png" style="wikiautogen"/>%BR%%BR% 1 In the <b>Data Source Configuration Wizard</b> dialog <b>Choose your Data Connection</b> page, select the <b>New Connection</b> button. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp08.png" style="wikiautogen"/>%BR%%BR% 1 In the <b>Choose Data Source</b> dialog, select the <b><nop>OpenLink Virtuoso Data Source</b> from the list and click <b>Continue</b>. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp09.png" style="wikiautogen"/>%BR%%BR% 1 In the <b>Add Connection</b> dialog, specify the <b>hostname</b>, <b>portno</b>, <b>username</b>, and <b>password</b> for the target Virtuoso Server and and check the <b>Save Password</b> check box. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDataGridApp10.png" style="wikiautogen"/>%BR%%BR% 1 Select the <b>Select Database From List</b> radio button and choose the <b>SAMPLE</b> database from the drop down list. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp1.png" style="wikiautogen"/>%BR%%BR% 1 Press the <b>Test Connection</b> dialog to verify that the database is accessible. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp2.png" style="wikiautogen"/>%BR%%BR% 1 Leave the default connect string name--<b><nop>SAMPLEConnectionString</b>--and click <b>Next</b>. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp3.png" style="wikiautogen"/>%BR%%BR% 1 From the list of tables returned for the SAMPLE database, select the <b>DEPARTMENT</b> table to be associated with the <b><nop>DataGridView</b> control. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp4.png" style="wikiautogen"/>%BR%%BR% 1 The column names of the select table will be displayed in the <nop>DataGridView. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp5.png" style="wikiautogen"/>%BR%%BR% 1 Resize the Form and <nop>DataGridView to allow all columns to be visible if possible. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp8.png" style="wikiautogen"/>%BR%%BR% 1 To test the application, simply hit <b>Ctrl+F5</b> within Visual Studio or select <b>Start Debugging</b> from the <b>Debug</b> menu. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp6.png" style="wikiautogen"/>%BR%%BR% 1 The data from the <b>DEPARTMENT</b> table will be displayed in the <b><nop>DataGrid</b>. %BR%%BR%<img src="%ATTACHURLPATH%/VirtDB2DataGridApp7.png" style="wikiautogen"/>%BR%%BR% The task is now complete.
sioc:id
084260ed53b5df956c55c07bf20378ee
sioc:link
n4:VirtDB2VisualStudioDataGridFormsApp
sioc:has_container
n5:VOS
n11:has_services
n12:item
atom:title
VirtDB2VisualStudioDataGridFormsApp
atom:source
n5:VOS
atom:author
n8:this
atom:published
2017-06-13T05:39:14Z
atom:updated
2017-06-29T07:36:37Z
sioc:topic
n5:VOS