Click here to Skip to main content
15,906,335 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionChanging the bgcolor and font of an ASP.Net page Pin
Tina P7-Dec-06 12:50
Tina P7-Dec-06 12:50 
AnswerRe: Changing the bgcolor and font of an ASP.Net page Pin
M LN Rao7-Dec-06 17:44
M LN Rao7-Dec-06 17:44 
GeneralRe: Changing the bgcolor and font of an ASP.Net page Pin
Tina P8-Dec-06 4:40
Tina P8-Dec-06 4:40 
QuestionGetting FileInfo from a file on a remote server Pin
code_guy0007-Dec-06 10:49
code_guy0007-Dec-06 10:49 
AnswerRe: Getting FileInfo from a file on a remote server Pin
M LN Rao7-Dec-06 17:47
M LN Rao7-Dec-06 17:47 
AnswerRe: Getting FileInfo from a file on a remote server Pin
code_guy0008-Dec-06 6:50
code_guy0008-Dec-06 6:50 
AnswerRe: Getting FileInfo from a file on a remote server Pin
ednrgc8-Dec-06 3:13
ednrgc8-Dec-06 3:13 
QuestionBind Two Table Adapters to a Datalist Pin
navruzahmet7-Dec-06 10:42
navruzahmet7-Dec-06 10:42 
Hi,
I am trying to write a generic blog or guestbook kind control to use in my further projects. And in somewhere i need to read info from two different table adapters to use in a datalist control.

For convenience let me explain my environment:
In a Database I have two tables: Messages and Comments. Messages table contains the messages sent from the administrators and comments table contains the comments that is sent for the messages.


I have One DataSet that is responsible for these tables, which contains two table adapters for each table. one(adapter of the comments table) has an query that returns the number of comments for a message, and the other returns simply messages.

I want to list messages in a datalist control which has been binded to the Messages Tableadapter(no problem with this), and want to add an extra label which shows the number of comments related to this message.

But, there is no option to bind a control, inside the datalist, to another table adapter.

Is there any method to show data from another tableAdapter for datalist?

Thanks.



Ahmet Recep Navruz
AnswerRe: Bind Two Table Adapters to a Datalist Pin
minhpc_bk7-Dec-06 14:59
minhpc_bk7-Dec-06 14:59 
GeneralRe: Bind Two Table Adapters to a Datalist Pin
navruzahmet8-Dec-06 1:36
navruzahmet8-Dec-06 1:36 
GeneralRe: Bind Two Table Adapters to a Datalist Pin
minhpc_bk8-Dec-06 5:38
minhpc_bk8-Dec-06 5:38 
QuestionChanging ASP.Net Controls. Pin
legionnaire7-Dec-06 9:40
legionnaire7-Dec-06 9:40 
AnswerRe: Changing ASP.Net Controls. Pin
minhpc_bk7-Dec-06 14:51
minhpc_bk7-Dec-06 14:51 
GeneralRe: Changing ASP.Net Controls. Pin
legionnaire8-Dec-06 7:33
legionnaire8-Dec-06 7:33 
Questionselectcommand in asp.net Pin
saravanan057-Dec-06 8:55
saravanan057-Dec-06 8:55 
AnswerRe: selectcommand in asp.net Pin
minhpc_bk7-Dec-06 14:46
minhpc_bk7-Dec-06 14:46 
QuestionText displayed as symbols Pin
mikeh nz7-Dec-06 7:54
mikeh nz7-Dec-06 7:54 
QuestionHelp for IcallBack Interface using ASP.net Pin
meerabhuva7-Dec-06 7:28
meerabhuva7-Dec-06 7:28 
AnswerRe: Help for IcallBack Interface using ASP.net Pin
minhpc_bk7-Dec-06 14:53
minhpc_bk7-Dec-06 14:53 
QuestionPopulating datas from sql db and displaying them in .CSV File Format- VERY VERY URGENT Pin
vijay_837-Dec-06 6:57
vijay_837-Dec-06 6:57 
AnswerRe: Populating datas from sql db and displaying them in .CSV File Format- VERY VERY URGENT Pin
Not Active7-Dec-06 7:45
mentorNot Active7-Dec-06 7:45 
GeneralRe: Populating datas from sql db and displaying them in .CSV File Format- VERY VERY URGENT Pin
vijay_837-Dec-06 8:57
vijay_837-Dec-06 8:57 
GeneralRe: Populating datas from sql db and displaying them in .CSV File Format- VERY VERY URGENT Pin
Not Active7-Dec-06 9:05
mentorNot Active7-Dec-06 9:05 
GeneralRe: Populating datas from sql db and displaying them in .CSV File Format- VERY VERY URGENT Pin
vijay_837-Dec-06 11:40
vijay_837-Dec-06 11:40 
GeneralRe: Populating datas from sql db and displaying them in .CSV File Format- VERY VERY URGENT Pin
Not Active7-Dec-06 11:47
mentorNot Active7-Dec-06 11:47 

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.