This is for the Club Web Site Starter Kit Extended Edition that put an upload file addition on the site.
You can mark a file that you upload to the site as PUBLIC viewable or not.
When it is not PUBLIC it will not show on the docs.aspx gridveiw only PUBLIC files show-up.
I want the files to show if you are an ADMINISTRATOR.
I know if I make another page just for the ADMINISTRATOR I can get it to show all files by avoiding the IsPublic WHERE
Must be a better way.
Reason: I want all files to show if an ADMINISTRATOR, so other ADMINISTRATOR whom are not designing the web site can view and download files that have been uploaded by other Administrators.
Thanks In Advance for your help
Here is the present code that brings back the PUBLIC files.
SelectCommand="SELECT * FROM [DocumentCategories] WHERE ([IsPublic] = @IsPublic) ORDER BY [CategoryName]">
<SelectParameters>
<asp:Parameter DefaultValue="true" Name="IsPublic" Type="Boolean" />
</SelectParameters>