Click here to Skip to main content
15,922,407 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncalender css Pin
chitra815-Apr-07 23:14
chitra815-Apr-07 23:14 
AnswerRe: calender css Pin
Dmitry Khudorozhkov6-Apr-07 3:25
Dmitry Khudorozhkov6-Apr-07 3:25 
QuestionAsp.net Project Pin
Devkranth Kishore Vanja5-Apr-07 23:14
Devkranth Kishore Vanja5-Apr-07 23:14 
AnswerRe: Asp.net Project Pin
_mubashir6-Apr-07 1:06
_mubashir6-Apr-07 1:06 
Questioncan an datalist have another datalist in it. Pin
monuSaini5-Apr-07 23:00
monuSaini5-Apr-07 23:00 
AnswerRe: can an datalist have another datalist in it. Pin
varshavmane5-Apr-07 23:06
varshavmane5-Apr-07 23:06 
GeneralRe: can an datalist have another datalist in it. Pin
monuSaini5-Apr-07 23:21
monuSaini5-Apr-07 23:21 
GeneralRe: can an datalist have another datalist in it. Pin
Harini N K6-Apr-07 0:26
Harini N K6-Apr-07 0:26 
Hi
You can have datalist inside datalist.

Add an ItemDataBound event for the first datalist.

Add proper event for the first datalist with proper arguments.

This event will automatically be fired when you are binding data at run time.

Go to code behind file, you have to add some code to fetch Category ID (that is from the first datalist).

If you are displaying Category ID in the first column of DataList. Then you can use 'e.Item.Cells[0].text' and the sub category can be fetched based on this category ID. Hope you are returning dataset from the database. Bind it for the second datalist using that dataset.

Or, if you are using a hidden variable to store Category ID then use FindControl() method.

Hope this is clear.


Harini

GeneralRe: can an datalist have another datalist in it. Pin
monuSaini6-Apr-07 0:45
monuSaini6-Apr-07 0:45 
QuestionDifference between Finaliser and destructor? Pin
Saranya B5-Apr-07 22:55
Saranya B5-Apr-07 22:55 
QuestionWindows Services For Reminders in ASP.NET 2.0 Pin
varshavmane5-Apr-07 22:35
varshavmane5-Apr-07 22:35 
QuestionIf any one could Help Pin
sridevi145-Apr-07 22:29
sridevi145-Apr-07 22:29 
AnswerRe: If any one could Help Pin
_mubashir6-Apr-07 1:13
_mubashir6-Apr-07 1:13 
AnswerRe: If any one could Help Pin
Sathesh Sakthivel6-Apr-07 4:30
Sathesh Sakthivel6-Apr-07 4:30 
QuestionRegarding code for web poll page Pin
Rama krishna.M5-Apr-07 22:26
Rama krishna.M5-Apr-07 22:26 
AnswerRe: Regarding code for web poll page Pin
_mubashir6-Apr-07 1:17
_mubashir6-Apr-07 1:17 
AnswerRe: Regarding code for web poll page Pin
Sathesh Sakthivel6-Apr-07 4:31
Sathesh Sakthivel6-Apr-07 4:31 
QuestionIs there any function in SQL which returns the number of matching words between parameter and data in database Pin
yogita charhate5-Apr-07 22:18
yogita charhate5-Apr-07 22:18 
AnswerRe: Is there any function in SQL which returns the number of matching words between parameter and data in database Pin
mghiassi6-Apr-07 9:34
mghiassi6-Apr-07 9:34 
QuestionHow to retrieve the users list from Active Directory in .net? [modified] Pin
Kusumasrinivas5-Apr-07 21:10
Kusumasrinivas5-Apr-07 21:10 
AnswerRe: How to retrieve the users list from Active Directory in .net? Pin
narendra.vendi5-Apr-07 23:32
narendra.vendi5-Apr-07 23:32 
GeneralRe: How to retrieve the users list from Active Directory in .net? Pin
Kusumasrinivas6-Apr-07 2:08
Kusumasrinivas6-Apr-07 2:08 
QuestionFrom where 2 start a Website? Pin
Suave_Shiva5-Apr-07 19:59
Suave_Shiva5-Apr-07 19:59 
Questionmake index as home page in web browser Pin
iamdking5-Apr-07 19:24
iamdking5-Apr-07 19:24 
AnswerRe: make index as home page in web browser Pin
_mubashir5-Apr-07 20:45
_mubashir5-Apr-07 20:45 

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.