Nowadays internet is being part of our life.So you need to
be cautious when you browsing internet.Following are some
guidelines to be safe -
It is needed to check whether your website is
available or down.It's better you create a WPF
application to check that.you can also check
status periodically besides checking status on
a button click.the following program shows how
to check the website status by clicking a button -
how to create and write data in a file in a specified directory
Written by Super Userthis post will show how to create a file in dotnetnuke module
directory and write some data in the file.you can use this
technique in asp.net application too -
using connectionstring of configuration file in pages
Written by Super Usernormally we define connectionstrings under
<connectionStrings> tag in the web.config
file.membership providers use that
connectionstring.what if we needed to use
the connectionstring in asp.net pages?.
if you placed datalist command buttons as -
<asp:DataList ID="DataList1" DataKeyField="CommentId" runat="server"
OnItemCommand="DataList1_ItemCommand">
<ItemTemplate>
<asp:LinkButton ID="Edit" Text="Select" CommandName="Edit" runat="server" />
<asp:LinkButton ID="delete" Text="Approve" CommandName="Delete" runat="server" />
.......
how to check if multiple same modules are in the page in dotnetnuke
Written by Super Usersometimes it's needed to check whether there are multiple same
modules in the current page or not to keep one version of the
module or some other checks.
for you plugin.To achieve this you have to create a admin settings page
accessible from wordpress admin dashboard.