Super User
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.
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
how to show tips when windows application starts
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.
how to backup database file of your application
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 -
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 -
how to access and update appSettings in config file of windows application
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 -
how to add silverlight application to a asp.net application
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 -
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 -
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<> -
use command parameters to pass values to SQL statements
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.