I have faced a problem when i m doing url rewriting in my project.I am using a repeater in which I show the Forum name and a topic post name when I click on the Forum name it redirect on the test.aspx...
Here I will discuss how to find nth highest salary. Consider we have a User table the column name of the user table are UserName, Salary, City ,Suppose inthis table we have following data
Here we discuss login in ASP.NET,this is specially help to that user’s which is new in ASP.NET.Login is the basic thing for any application. In login we use the ADO.NET Object such as SqlConnection,Sq...
Literal Control: It is used to displaying data; it is lightweight and does not make any formatting techniques. Literal control will render only its text which is assigned in its text property. Label C...
Date and Time is almost used in all application.Here we discuss about the date time format in asp.net.
Most of time we need to call page method(server side code) by client side script(JavaScript) without post back. I will accomplish this using the Page Methods feature. To do this we are using ASP.Net A...
Barcode is a machine readable representation of data, which contains the data information. Basically barcode contains data information in parallel line. The most popular of barcode used font is “3 of ...
Check/Uncheck checkboxes in Repeater using JavaScript
Many times we want to find out the next business (working) date after “N” business days. In this blog I have described how to find out the next business date after “N” business days. Here “N” is the n...
Change the color of the userinput fileld if it is blank(empty). Example: first we apply RequiredField Validation and CustomValidator to validate the user input of check the empty control if any user i...
Sequence is set of objects (numbers) which are in Orders. Fibonacci series is a sequence of list of numbers which is invented by Leonardo Fibonacci (fi-bo-na-chee) in 1202; on the name of Leonardo Fib...
Here we discuss to generate the textox at runtime. To create the textbox at run time for that first we take a server control Panel where we place the runtime generated textbox.Here we use a textbox an...
File upload control is not working when this control is inside the update panel.When we place the file upload control control inside the updatepanel and upload the file then FileUpload1.Hasfile is alw...
QueryString: In ASP.NET QueryString plays very imporatnt role by which we get value(s) from one page to another page(which we send in QueryString).
Leap year a year which have the 1 extra day from normal year, in leap year February have 29 days, in normal February have 28 day. Leap year has 366 days but normal year have 365. To find the given yea...
In SQL many times we have null values and we wants return another value, for that purpose in SQL there is two methods: 1. COALESCE() 2. ISNULL()
Many time s we want to know How many Tables we used in our Database. Here I have write the query to find the total number of tables/columns used in Database.
Difference Between Eval() and Bind() methods in ASP.NET.
Here I have discussed how we auto refresh page and why we need to auto refresh the page. Page is Auto refresh means forcing a page to post back without user input. Following is the main reason to auto...
Many users are facing the problem to validate the date from Javascript.Here we discuss to validate date.I have Two text box for start date and end date now we validate end date always greater than sta...
Delete multiple records from repeater or Datalist
Here I have discuessed find the maximum value from enum. Suppose we have an enum like: public enum TestEnum { A=1, X=2, E=3, R=4, O=5 } if our enum have values like above(Incremented by one),then we c...
In this blog I have discussed about how to Drop all the user defined table from the database OR Select/Delete/Truncate data from all the database tables OR alter the entire database table in one comma...
Many developers save the password in normal form in Database which is not secure for the user because every one who have the access of the database view your password it is very harmful for the user.
In SQL Count() function returns number of Rows in a certain table. Count() is an aggerate function(aggerate function returns a single value).