 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; VB DataGrid</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/vb-datagrid/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 14:35:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to use an object to travel data from one form to another</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-use-an-object-to-travel-data-from-one-form-to-another/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-use-an-object-to-travel-data-from-one-form-to-another/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 07:18:32 +0000</pubDate>
		<dc:creator>EhteshamSiddiqui</dc:creator>
				<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[DataGridView]]></category>
		<category><![CDATA[VB DataGrid]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I have two forms.Both having DatagridView.There are two comboboxes to filter the record from Database and fill in Datagridview.My requirement is when all the data is populated in DataGrid after selecting the comboboxes and when the user clicks on Delete. The comboboxes and Datagrid on second form should have the same values as that [...]]]></description>
				<content:encoded><![CDATA[<div>Hi,</div>
<div>I have two forms.Both having DatagridView.There are two comboboxes to filter the record from Database and fill in Datagridview.My requirement is when all the data is populated in DataGrid after selecting the comboboxes and when the user clicks on Delete.</div>
<div>The comboboxes and Datagrid on second form should have the same values as that was on first form.The names of my Comboboxes and Datagridview are same on both the forms</div>
<div>Below is the code my Datagrid view getting populated in First Form.</div>
<div>
<pre>Sub GetData(ByVal StrQuery As String)</div>
<div>        If CBMedium.Text &lt;&gt; "" And CBClass.Text &lt;&gt; "" Then</div>
<div>            DGVStudRecord.Rows.Clear()</div>
<div>            con = DBConnect()</div>
<div>            cmd = New SqlCommand(StrQuery, con)</div>
<div>            dr = cmd.ExecuteReader</div>
<div>            If dr.HasRows Then</div>
<div>                While dr.Read</div>
<div>                  </div>
<div>                    DGVStudRecord.Rows.Add(dr(0), dr(1), dr(2), dr(3), dr(4), dr(5))</div>
<div>                End While</div>
<div>            End If</div>
<div>            con.Close()</div>
<div>        </div>
<div>        End If</div>
<div>    End Sub</pre>
</div>
<div>Please suggest how can i populate my datagrid in second form by using the Data populated in Datagrid of Firrt Form</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-use-an-object-to-travel-data-from-one-form-to-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Datagridview</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/display-datagridview/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/display-datagridview/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 14:33:42 +0000</pubDate>
		<dc:creator>Sgk</dc:creator>
				<category><![CDATA[DataGridView]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[VB DataGrid]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>
		<category><![CDATA[Visual Basic .NET Web services]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Answer by TomLiotta]]></description>
				<content:encoded><![CDATA[New Answer by TomLiotta]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/display-datagridview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regarding DataGrid (Not MShFlexGrid) in Vb 6.0</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/regarding-datagrid-not-mshflexgrid-in-vb-60/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/regarding-datagrid-not-mshflexgrid-in-vb-60/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 12:45:49 +0000</pubDate>
		<dc:creator>Arunk003</dc:creator>
				<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[VB 6.0]]></category>
		<category><![CDATA[VB DataGrid]]></category>
		<category><![CDATA[Visual Basic 6]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[i need to select a row in a Datagrid. I tried Datagrid.Row it is Not Working, any one help on this Code - For nlRo = 1 To DataGrid.ApproxCount DataGrid.Refresh DataGrid.Ro =nlRo DataGrid.Col=1 DataGrid.Text = nlRo Next nlRo &#8221; Row is not selecting&#8230;..]]></description>
				<content:encoded><![CDATA[<p>i need to select a row in a Datagrid. I tried Datagrid.Row<br />
it is Not Working, any one help on this<br />
Code -<br />
For nlRo = 1 To DataGrid.ApproxCount<br />
  DataGrid.Refresh<br />
  DataGrid.Ro =nlRo<br />
  DataGrid.Col=1<br />
  DataGrid.Text = nlRo<br />
Next nlRo<br />
&#8221; Row is not selecting&#8230;..</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/regarding-datagrid-not-mshflexgrid-in-vb-60/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/18 queries in 0.023 seconds using memcached
Object Caching 464/514 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 16:38:57 -->