Super User

Super User

this 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 -

getting dnn user information from dotnetnuke module is
easy.

you can get dotnetnuke user's User Credentials
and Profile data by the following way -

if you want to read get/read data from a file according to
querystring using StreamReader then following codes will
help you.It is very useful in some case.here i get data from
a ashx file according to query string i pass to the file -

following method will return the host name/domain name -
Wednesday, 16 January 2013 13:56

how to implement paging for datalist control

I wanted paging for showing datalist items in pages.for
that i used pageddatasource.it's necessary very much.
following codes show how to add paging for datalist items -

Wednesday, 16 January 2013 13:15

how to use datalist commands

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" />
.......

Wednesday, 16 January 2013 13:54

how to edit,update,delete items in DataList

If you used itemtemplate for items in datalist control then
you can easily delete,edit and then update items
using edititemtemplate.to do that add a itemtemplate and
edititemtemplate in the datalist.also you have to add
command buttons and command event handlers -

Tuesday, 15 January 2013 13:56

how to add captcha in asp.net page

A CAPTCHA is a program which tells whether its user
is human or computers.

follow the steps below to add captcha in your web form
easily -

you can use online paypal buy button in your page
for receiving online paypal payment.when users click
this buy button they will enter in payment page
for payment.

GridView is the most common data representation
contol in asp.net.It's needed to show users the
items details when the item is selected.DetailsView
control can be used precisely to show the Gridview items
details.


Latest discussions

  • No posts to display.