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 -
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?.
how to show reports through Excel from c# application
Written by Super Usermost of the time we need to create reports while dealing
with statistical data or finacial data.statistics should be
available to download.this statistics or reports should be
in a easily understandable format like excel file format.
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 -
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" />
.......
for creating own exception class,you have to derive your class
from System.Exception class.also you have to implement all
constructors which base class implements.to create own
exception class follow the requirements/recommendations
below-

logging in