Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / February 2008



Tip: Looking for answers? Try searching our database.

Help plz: DataRow

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
smtwtfs007@gmail.com - 18 Feb 2008 19:36 GMT
Guys,

I have declared 2 dataRows and assigned New daraRows as below.

Dim aRow as DataRow
aRow = OutFormat.DataSet.Tables("demotbl").NewRow  '*** Point 1

----
----

Dim bRow as DataRow
bRow = OutFormat.DataSet.Tables("demotbl").NewRow      '***Point 2

---
---

bRow = OutFormat.DataSet.Tables("demotbl").NewRow 'No.   '*** Point 3

---
---

Point 1: I have created aRow and assigned some fields to its columns.
Point 2:Then I created bRow and assigned some fields (In the debug
mode I can see aRow is still active).
Point 3:Then I created again bRow and  this time It has erased all the
contents of aRow.

How would that possible? I have not changed anything aRow.

Please help.
Ralph - 19 Feb 2008 12:13 GMT
> Guys,
>
> I have declared 2 dataRows and assigned New daraRows as below.
>
> Dim aRow as DataRow
> aRow = OutFormat.DataSet.Tables("demotbl").NewRow  '*** Point 1

<snipped>

You need to post to a dotNet newsgroup. This one is for 'classic' VB (vb5/6)
and 'classic' ADO.

VB.Net and ADO.Net are different platforms. Try one of these...

  microsoft.public.dotnet.languages.vb.data
  microsoft.public.dotnet.framework.adonet

-ralph
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.