Super User

Super User

Monday, 14 January 2013 13:56

how to use verbatim string

verbatim string is a string which is interpreted
by the compiler exactly as it is written, meaning
that even if the string spans multiple lines
or keeps escape characters,etc.

Monday, 14 January 2013 13:55

what is ViewState in asp.net

ASP.NET controls automatically keep their data
when page is sent to the server in response to
events (like a user clicking a button).
this persistence of data is called view state

It's a great idea to show application related tips
when users run your application.you may show tips
about how to use your application efficiently,details
of your application terms,etc.

you should backup your database file of your
windows software.there are many reasons why you
will backup your database file.i will not write
details about that.i showing here how to
backup your database file for safety of your
database -

Sunday, 13 January 2013 13:55

how to count how many visitors are online

n your asp.net application/website you can count
how many visitors are browsing your website easily.
for this add a Global.asax file in your website.
then add the following codes in that file -

you can put application specific settings in the
appSettings section of your app.config file in your
c# windows form application.you can access,edit,update
those settings.I show you how -

silverlight application are great.you can add silverlight
application in your asp.net project easily.follow the
steps and you will know how to create and add silverlight
applicaiton in asp.net application/website -

Sunday, 13 January 2013 13:55

how to monitor website

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 -

Saturday, 12 January 2013 14:54

List in asp.net

List<> can be used as a collection of objects which
can be accessed by index.List originated from
System.Collections.Generic class.List objects can
be sorted,searched,manipulated.so List is very
useful in programming for holding any type of
objects.following shows a example of List<> -

command objects use parameters for passing values
to sql statements for type cheking,validation,guarding
against SQL injection attacks,etc.so its a good practice
to use command parameters to sql statements.


Latest discussions

  • No posts to display.