﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » About GridControl (DevExpress), please help me</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 01:13:12 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost25660.aspx</link><description>Amna,&lt;br&gt;
&lt;br&gt;
I believe that you are trying to just setup the parent-child relationships if I am not mistaken.  There are a number of samples on this as well as documentation.  As far as binding to a grid, that is great. You will want to use the BusinessBindingSource that wraps a BO and allows direct binding to a grid.&lt;br&gt;
&lt;br&gt;
My first suggestion would be to download and install the StrataFlix sample.  This sample shows everything that you are trying to do in regards to setting up parent-child relationships as well as using our ChildFormDialog (if necessary).  Adding in the grid portion is the easy part.&lt;br&gt;
&lt;br&gt;
This might be the best place to start and then we can field questions from there.</description><pubDate>Sat, 30 Jan 2010 09:34:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost18807.aspx</link><description>[code]&lt;br&gt;
    '&lt;br&gt;
    'get value of current row &lt;br&gt;
    '&lt;br&gt;
    Private Sub loadQByID_Grid()&lt;br&gt;
        Dim ds As New DataSet()&lt;br&gt;
        Dim dr As DataGridViewRow = gv.CurrentRow&lt;br&gt;
        Dim str As Integer = Convert.ToInt16(dr.Cells(0).Value.ToString())&lt;br&gt;
        Try&lt;br&gt;
            ds = getQuestionByID(str)&lt;br&gt;
            txtContent.Text = ds.Tables(0).Rows(0).Item(1)&lt;br&gt;
        Catch ex As Exception&lt;br&gt;
            Dim strError As String = "Error : " + ex.Message()&lt;br&gt;
        End Try&lt;br&gt;
    End Sub&lt;br&gt;
[/code]&lt;br&gt;
&lt;br&gt;
This above code, I use DataGridView. &lt;br&gt;
I want to use GridControl (DevExpress).&lt;br&gt;
But when I used it, I don't see any object [b]DataGridViewRow[/b] and method [b]CurrentRow[/b]&lt;br&gt;
How do I use GridControl (DevExpress) to get value of current row.&lt;br&gt;
Please help me&lt;br&gt;
Regards&lt;br&gt;
PS: you can use C# to solve&lt;br&gt;</description><pubDate>Sat, 30 Jan 2010 09:34:19 GMT</pubDate><dc:creator>Robinson Robinsonit Robinson_niit</dc:creator></item><item><title>RE: About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost25648.aspx</link><description>:) hi ... I m very New to development.. m a student working on a project and i want to clear my&lt;br&gt;
Master Detail View.. M using Third party tool Named DevExpress version 9.0&lt;br&gt;
I have a three Tables Linked togather .&lt;br&gt;
Table1.... ProcedureMaster ...........(ProcedureID,ProductID,EntryDate)&lt;br&gt;
Table2....ProcedureDetail...............(procedureID,Stage#,StdTime,ProcedureDescription)&lt;br&gt;
Table3....ProcedureDetail2..............(ProcedureID,StageNo,MaterialID,Qty)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
This is A concept to define a standard Procedure for a Product for Production Purpose...&lt;br&gt;
Now Table2 will be bind in Grid and i have to manage table3 using grid also...&lt;br&gt;
Please help me on this.&lt;br&gt;
It is when i Will enter One Procedure Detail then i have to Enter Many Materials Against One Stage#...&lt;br&gt;
Help...&lt;br&gt;
Thanks in Advance</description><pubDate>Fri, 29 Jan 2010 05:39:24 GMT</pubDate><dc:creator>Amna Elahi</dc:creator></item><item><title>RE: About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost18848.aspx</link><description>No need to apologize...I am so glad that we are able to communicate.&amp;nbsp; That is wonderful!&lt;/P&gt;&lt;P&gt;If the datasource is available at design-time, then the columns will be setup with the default bindings; however, if it is not available, then you will&amp;nbsp;need to specify the FieldName for each column.&amp;nbsp; The FieldName property is categorized under the Data section when viewing the Columns in the Designer.&amp;nbsp; The Caption property, located in the Appearance section, will set the name of the header in the column.&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;BR&gt;Bill</description><pubDate>Fri, 29 Aug 2008 11:12:09 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost18843.aspx</link><description>thanks so much, Bill&lt;br&gt;
I have another problem to ask you:P&lt;br&gt;
I have a function returns a datatable, this has two columns (ID,Name)&lt;br&gt;
And I have a GridControl&lt;br&gt;
At Run Design, I add a column name colName&lt;br&gt;
I want to bind data from column Name of that tableto column of GridControl&lt;br&gt;
How can I do?&lt;br&gt;
Please help me?&lt;br&gt;
thanks again&lt;br&gt;
&lt;br&gt;
PS: I'm Vietnamese. so my English is so bad, apology :P</description><pubDate>Fri, 29 Aug 2008 10:00:07 GMT</pubDate><dc:creator>Robinson Robinsonit Robinson_niit</dc:creator></item><item><title>RE: About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost18831.aspx</link><description>A grid control can have many grid views.&amp;nbsp; A new instance of the grid control will have one grid view by default (gridView1).&amp;nbsp; Using the designer you can rename it, add new views, etc.&amp;nbsp; I just used the sample naming convention of "MyGridView" just to give you an idea of how to access the data in the grid.&lt;/P&gt;&lt;P&gt;Have fun!&lt;BR&gt;Bill</description><pubDate>Thu, 28 Aug 2008 09:25:21 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost18815.aspx</link><description>thanks Bill&lt;br&gt;
But how do I declare [b]MyGirdView[/b]?</description><pubDate>Wed, 27 Aug 2008 21:47:42 GMT</pubDate><dc:creator>Robinson Robinsonit Robinson_niit</dc:creator></item><item><title>RE: About GridControl (DevExpress), please help me</title><link>http://forum.strataframe.net/FindPost18809.aspx</link><description>[codesnippet]&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; mColValue = (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;)MyGridView.GetFocusedRowCellValue(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"MyFieldName"&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;);&lt;/FONT&gt;&lt;/FONT&gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;Bill</description><pubDate>Wed, 27 Aug 2008 12:54:27 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>