-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: kumarm
Message 1 in Discussion

Hai Everyone

I need help on Datagird.

Iin my datagrid i am displaying the CourseName and MaterialName.
And in the Itemtemplate of the MaterialName, I have given hyperlink to list 
the Material Available for that course.

Example.

<asp:TemplateColumn HeaderText="Materials" ItemStyle-Width="10%" 
ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:HyperLink ID="Hyperlink5" ImageUrl="images/pdficon.gif" 
NavigateUrl=<%#"ViewMaterialList.aspx?ClassID=" + 
DataBinder.Eval(Container.DataItem, "ClassId").ToString() +"&CourseID=" + 
DataBinder.Eval(Container.DataItem, "CourseId").ToString()%> 
Runat=server>View Material</asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>

My requirment is, When there is no material available for that course, i 
should not want to display Pdficon or link on that column.

I am also checked in my query whether material available than Available=0 or 
1

Please let me know the solution. very urgent

with regards
kumar.m

_________________________________________________________________
NRIs ! 
http://creative.mediaturf.net/creatives/icicibank/june/icicinri_tol_tl.htm 
Free online bill payments in India.



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to