Click here to Skip to main content
15,914,014 members
Home / Discussions / C#
   

C#

 
AnswerRe: where to put \ (slash)? Pin
Ravi Bhavnani29-Apr-10 13:00
professionalRavi Bhavnani29-Apr-10 13:00 
AnswerRe: where to put \ (slash)? Pin
Member 216810329-Apr-10 22:52
Member 216810329-Apr-10 22:52 
AnswerRe: where to put \ (slash)? Pin
fjdiewornncalwe30-Apr-10 2:55
professionalfjdiewornncalwe30-Apr-10 2:55 
QuestionWriting a file from a StreamWriter to a UNC path Pin
Alaric_29-Apr-10 9:51
professionalAlaric_29-Apr-10 9:51 
AnswerRe: Writing a file from a StreamWriter to a UNC path Pin
Alaric_29-Apr-10 10:03
professionalAlaric_29-Apr-10 10:03 
QuestionHide/Show a control in a DataList Pin
MWRivera29-Apr-10 9:34
MWRivera29-Apr-10 9:34 
AnswerRe: Hide/Show a control in a DataList Pin
Peace ON29-Apr-10 23:50
Peace ON29-Apr-10 23:50 
GeneralRe: Hide/Show a control in a DataList Pin
MWRivera30-Apr-10 5:56
MWRivera30-Apr-10 5:56 
Thanks for your reply Jinal,

I was able to hide the footerTemplate when the edit button is clicked.

I have another problem I've came into though. When The dataList is empty I want to show only the header and footer templates, I thought I could do this with the following code:

if (dTable.Rows.Count == 0)
            {
                //Returned 0 rows - no reason to bind the 
                dlICD9Codes.ShowHeader = true;
                dlICD9Codes.ShowFooter = true;
                lblSearchStatus.Text = "count == 0";
            }
            else
            {
                dView = new DataView(dTable);
                dView.Sort = "ICD9CODE";
                lblSearchStatus.Text = "count != 0";
            }


Do you know why the header and footer aren't showing up when the row count is zero? Do you know of a way I can get this working?

Thanks in advance,
Mel
AnswerRe: Hide/Show a control in a DataList [modified] Pin
Peace ON2-May-10 22:51
Peace ON2-May-10 22:51 
QuestionWindows Task Schedular and Map drive problem Pin
Tridip Bhattacharjee29-Apr-10 8:52
professionalTridip Bhattacharjee29-Apr-10 8:52 
AnswerRe: Windows Task Schedular and Map drive problem Pin
Luc Pattyn29-Apr-10 8:57
sitebuilderLuc Pattyn29-Apr-10 8:57 
AnswerRe: Windows Task Schedular and Map drive problem Pin
Bernhard Hiller29-Apr-10 21:47
Bernhard Hiller29-Apr-10 21:47 
QuestionWMI and the difference between memory cards and USB drives Pin
brian.shapiro29-Apr-10 6:09
brian.shapiro29-Apr-10 6:09 
AnswerRe: WMI and the difference between memory cards and USB drives Pin
dan!sh 29-Apr-10 6:23
professional dan!sh 29-Apr-10 6:23 
AnswerRe: WMI and the difference between memory cards and USB drives Pin
Michel Godfroid29-Apr-10 23:20
Michel Godfroid29-Apr-10 23:20 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
brian.shapiro1-May-10 11:52
brian.shapiro1-May-10 11:52 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
Michel Godfroid1-May-10 19:31
Michel Godfroid1-May-10 19:31 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
brian.shapiro5-May-10 9:44
brian.shapiro5-May-10 9:44 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
Michel Godfroid5-May-10 10:32
Michel Godfroid5-May-10 10:32 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
brian.shapiro5-May-10 10:34
brian.shapiro5-May-10 10:34 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
Michel Godfroid5-May-10 10:42
Michel Godfroid5-May-10 10:42 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
brian.shapiro12-May-10 22:56
brian.shapiro12-May-10 22:56 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
Michel Godfroid12-May-10 23:08
Michel Godfroid12-May-10 23:08 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
brian.shapiro13-May-10 17:14
brian.shapiro13-May-10 17:14 
GeneralRe: WMI and the difference between memory cards and USB drives Pin
brian.shapiro13-May-10 17:39
brian.shapiro13-May-10 17:39 

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.