473,383 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Split Data in a DataSet

TCB
Hi,

I have a dataset with 12 records selected from a Database (Top 12) I need to
bind a DataList to the first 6 records and another DataList to the last 6
records. How can I split this datadet in two or accomplish this? copy each
set of 6 rows to a DataTable or DataRow()...How?

Thanks
Jun 12 '06 #1
2 4005
Theres a thread here that discssues this - with an apparent solution.

http://p2p.wrox.com/topic.asp?TOPIC_ID=13811

Regards

John Timney (MVP)
"TCB" <tc******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Hi,

I have a dataset with 12 records selected from a Database (Top 12) I need
to bind a DataList to the first 6 records and another DataList to the last
6 records. How can I split this datadet in two or accomplish this? copy
each set of 6 rows to a DataTable or DataRow()...How?

Thanks

Jun 12 '06 #2
TCB
Thank you... that gave me a general idea to find a solution.

Thanks,

"John Timney (MVP)" <x_****@timney.eclipse.co.uk> escribió en el mensaje
news:Ls******************************@eclipse.net. uk...
Theres a thread here that discssues this - with an apparent solution.

http://p2p.wrox.com/topic.asp?TOPIC_ID=13811

Regards

John Timney (MVP)
"TCB" <tc******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Hi,

I have a dataset with 12 records selected from a Database (Top 12) I need
to bind a DataList to the first 6 records and another DataList to the
last 6 records. How can I split this datadet in two or accomplish this?
copy each set of 6 rows to a DataTable or DataRow()...How?

Thanks


Jun 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: octaviansen | last post by:
Hi, I am experiencing some weird problems with an ASP.NET web application that is making use of System.Data.DataSet and System.Data.DataRow classes. On a machine with single CPU, the...
1
by: gotcha | last post by:
I need to be able to split data such as this in a line: Part A23423 Price 45.00 into just this A23423 and put that into a form field that I can post. I have the following code, but I can't...
5
by: Mike | last post by:
I'm new to the C# world and learning as I go. I have a question, I'm getting data back from my database such as name/region. How can I split this and only return the region?
0
by: Gabriel Cirera | last post by:
Hello, Is it possible to fill a DataGrid with a ListDictionary? I tried to find the solution in this groups but I couldn't... Maybe is not possible.. who knows. I suppose it has to be some way...
1
by: Greg Cyrus | last post by:
Hi, i have created a function to open a Databse by OLEDB and fill it into a System.Data.DataSet-Objekt by oleDBAdapter.Fill-Mehtod.. Now I want to assign this DataSet to a normal...
1
by: Optimus | last post by:
Hi everyone, I currently develop an application in vs.net 2005 with vb.net. I was trying to use typed dataset and I've got in trouble for converting untyped dataset into Typed DataSet. I don't...
1
by: Query Builder | last post by:
I have one of our production Accounting Databases starting from 2 GB now grown into a 20 GB Database over the period of a few years... I have been getting timeouts when transactions are trying to...
6
by: marylipscomb | last post by:
I am using VB.NET. I am trying to connect a button so that when it is clicked the gridview pops up the data. Partial Class Switchboard Inherits System.Web.UI.Page Protected Sub...
3
prabunewindia
by: prabunewindia | last post by:
Hi, for my project, i am using session to store the user's information like userid, username... Also i am storing the dataset, which is having the datas for the particular user to avoid trip to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.