473,408 Members | 1,753 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,408 software developers and data experts.

how to implement two datalist together using datareader and dataset

Hello,

Right now i am making social network project. so, i have to implement functionality like facebook post and write comment on each post.

basically i use datalist to fill post from post table. but i have to also fill comment from comment table below each post. so, i have to use 2 datalist.

now my question is i don't know how to implement it. so, first datalist initially fill one record and according to this record datalist2 fill all comments. then again datalist1 fill next record .....etc....

so, please reply me.

i want to implement like this :

post 1: I got distinction in my final semester exam in B.E <--- Datalist1 first row
comment : congrats dude...... <---Datalist2 firstrow
comment: thanks <---Datalist2 second row

post 2: i am going to usa <--- Datalist1 second row
comment : happy journey <---Datalist2 firstrow


Thanks.
please reply me. please help me.
Dec 24 '10 #1
0 1107

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Terance Emory | last post by:
The real reason a dataset is of use in ASP.NET is the XML storage. I never iterate through records using Code anymore, I use XSLT for transforming data so the convenience of the getXML() method...
2
by: Patreek | last post by:
Hi, I'm writing my first real asp.net app at my job, and I'd like opinions please. In my classic ASP apps that I've written, I'd often have separate files for retreiving data and returning the...
0
by: Kartic | last post by:
When I do this using UnStrongly Type, Everything works fine. I get the Identity value Private Sub formUnit_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ...
12
by: newspost2000 | last post by:
http://www.htmldog.com/articles/elasticdesign/demo/ I found this wonderful site the demonstrates how you cannnot resize text formated using styles in ie 6 if you specify font size using pt units...
1
by: nasirmajor | last post by:
Dear All, im fetching record from database using datareader, and is displaying them in the textboxes. when user change the text fields and then presses the update button the record should be...
2
by: MRW | last post by:
Does anybody know anything about a default limit of 249 characters to a datareader/dataset field? I'm trying to pull off a 200 word record from an Access MEMO field in a GridView and the reader...
2
by: Mayur1234 | last post by:
hi, i am new to java.Can annybody tell me how to implement confirm box using java.awt package. i tried by extending dialog class with 2 buttons (buttonSave and buttonDiscard) on dialog box but as...
5
by: ravi | last post by:
Can any body tell me How to implement a stack using two queues Thax in advance
1
by: vishuvv | last post by:
Is that possible to make a Crystal reports without using database/dataset in vb.net 2005
3
by: kanimozhiz | last post by:
Hi I am trying to insert the data in the DB(sql server2005) using the dataset. I was trying to insert the data using the stored procedures.The problem is I am unable to insert the 'date' in the...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.