Click here to Skip to main content
15,881,709 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Setup projects Pin
Sandeep Mewara9-May-12 7:11
mveSandeep Mewara9-May-12 7:11 
GeneralRe: Setup projects Pin
RugbyLeague9-May-12 23:33
RugbyLeague9-May-12 23:33 
GeneralRe: Setup projects Pin
Sandeep Mewara9-May-12 23:55
mveSandeep Mewara9-May-12 23:55 
QuestionSplitContainer replacement Pin
Clark Kent1238-May-12 3:49
professionalClark Kent1238-May-12 3:49 
AnswerRe: SplitContainer replacement Pin
Pete O'Hanlon8-May-12 4:31
mvePete O'Hanlon8-May-12 4:31 
GeneralRe: SplitContainer replacement Pin
Clark Kent1238-May-12 4:32
professionalClark Kent1238-May-12 4:32 
GeneralRe: SplitContainer replacement Pin
Pete O'Hanlon8-May-12 4:37
mvePete O'Hanlon8-May-12 4:37 
Questiondisplay some subrows of datalist rows inside the datalist Pin
Member 82322225-May-12 16:05
Member 82322225-May-12 16:05 
i am trying to develop some user forum type page. where i have a datalist in which main forum topics are binded. its working. now i need to display the replys or suggetion on just below the particular topic(particular row inside the datalist).it will be like this

datalist

topic 1
reply 1
reply 2
reply 3
topic 2
reply 1
reply 2
reply 3

like this .

i have binded the topics in datalist . but dont know how to do the other part . can anyone help me out

this is the code i used for datalist


Sub binddata5()
Dim mycommand As New SqlCommand("SELECT * from alltopics", con)

con.Open()
topics.DataSource = mycommand.ExecuteReader
topics.DataBind()
con.Close()

datalist design

<asp:DataList ID="topics" runat="server" DataKeyField="id"
RepeatColumns="1">
<ItemTemplate>
<div>&nbsp&nbsp<strong><asp:Label
ID="detail" runat="server" Text='<%#Container.DataItem("topicdetails")%>'></asp:Label></strong>&nbsp&nbsp on &nbsp&nbsp<asp:Label ID="date" runat="server" Text='<%#Container.DataItem("ondate")%>'></asp:Label></td></tr>
</div>

</ItemTemplate>
</asp:DataList>


the replys to any topics are stored in another table named tblreply.
AnswerRe: display some subrows of datalist rows inside the datalist Pin
Richard MacCutchan6-May-12 1:35
mveRichard MacCutchan6-May-12 1:35 
QuestionWhat does the using System; line do ? Pin
S@53K^S4-May-12 3:08
S@53K^S4-May-12 3:08 
AnswerRe: What does the using System; line do ? Pin
Tony Richards4-May-12 3:21
Tony Richards4-May-12 3:21 
GeneralRe: What does the using System; line do ? Pin
S@53K^S7-May-12 4:32
S@53K^S7-May-12 4:32 
GeneralRe: What does the using System; line do ? Pin
Richard MacCutchan7-May-12 21:43
mveRichard MacCutchan7-May-12 21:43 
GeneralRe: What does the using System; line do ? Pin
S@53K^S9-May-12 4:22
S@53K^S9-May-12 4:22 
GeneralRe: What does the using System; line do ? Pin
Richard MacCutchan9-May-12 4:28
mveRichard MacCutchan9-May-12 4:28 
GeneralRe: What does the using System; line do ? Pin
S@53K^S9-May-12 4:26
S@53K^S9-May-12 4:26 
AnswerRe: What does the using System; line do ? Pin
Ron Beyer24-May-12 17:50
professionalRon Beyer24-May-12 17:50 
QuestionHello Everybody Pin
Member 878997430-Apr-12 11:20
Member 878997430-Apr-12 11:20 
AnswerRe: Hello Everybody Pin
Wes Aday30-Apr-12 11:39
professionalWes Aday30-Apr-12 11:39 
AnswerRe: Hello Everybody Pin
Dave Kreskowiak30-Apr-12 13:20
mveDave Kreskowiak30-Apr-12 13:20 
Questionhow to find creation time of file that is taken using fileupload contro? Pin
karan 201229-Apr-12 19:19
karan 201229-Apr-12 19:19 
AnswerRe: how to find creation time of file that is taken using fileupload contro? Pin
Alan N29-Apr-12 22:27
Alan N29-Apr-12 22:27 
QuestionStoring Large Object Array to File Pin
KenEldridge26-Apr-12 14:31
KenEldridge26-Apr-12 14:31 
AnswerRe: Storing Large Object Array to File Pin
Pete O'Hanlon26-Apr-12 20:06
mvePete O'Hanlon26-Apr-12 20:06 
QuestionRe: Storing Large Object Array to File Pin
KenEldridge27-Apr-12 6:56
KenEldridge27-Apr-12 6:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.