PC Review


Reply
Thread Tools Rate Thread

Dataset manipulation

 
 
Bradley
Guest
Posts: n/a
 
      16th Mar 2005
Can somebody point me to link or, preferably, an example of an application
that displays data from a dataset bound to a control (e.g. datagrid) where
the content of the data is limited by user supplied select criteria? I need
to perform the following actions on the data: Add/Edit/Delete functions,
based on the user selection.

TIA

Brad


 
Reply With Quote
 
 
 
 
VJ
Guest
Posts: n/a
 
      17th Mar 2005
You could use the

Dim strSelect As String = "Col1 = '" & strvar1 & "' and Col2 = " &
intvar2
Dim dtRow() as DataRow = myDataSet.Tables(0).Select(strSelect)

you could use.. dtRow array and store it in DataSet, and manuiplate.. or
get the refrence row from dtRow array and directly update your primary
datasource...

Thanks
VJ


"Bradley" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Can somebody point me to link or, preferably, an example of an
> application that displays data from a dataset bound to a control (e.g.
> datagrid) where the content of the data is limited by user supplied select
> criteria? I need to perform the following actions on the data:
> Add/Edit/Delete functions, based on the user selection.
>
> TIA
>
> Brad
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[VB] Replacing DataTable with Sorted DataView and DataSet manipulation Q's Aziz Microsoft ADO .NET 0 28th Mar 2006 11:44 AM
For better Performance in VBA for Excel - Strings manipulation OR Objects manipulation vmegha Microsoft Excel Programming 2 19th Dec 2005 12:14 AM
xml manipulation -- dataset or dom??? Martin Microsoft Dot NET Framework 1 1st Oct 2005 05:30 PM
Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N Microsoft Dot NET Framework 2 31st Oct 2003 02:39 AM
dataset manipulation Magnus Persson Microsoft Dot NET 2 8th Sep 2003 06:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:00 AM.