I have a one requirement like changing the textboxes
background whenever validation fails at that time I used the custom validator
and JavaScript function to validate textboxes and change the textboxes
background color for that write the following code in your aspx page
Application object is used to store the information and
access variables from any page in application. Application object is same as
session object only the difference is session object is used to maintain the
session for particular user.
Protected Sub GridView1_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles GridView1.PageIndexChanging
The Repeater control in ASP.NET is used to show records from the database. The data display in the repeater control custom design. For example we cannot use custom design in grid view control, but it is possible to use
If (iHour < 12) Then Console.Writeline("Good Morning!") End If If (iHour >= 12) And (iHour < 18) Then Console.WriteLine("Good Afternoon!") End If If (iHour >= 18) Then Console.WriteLine("Good Evening!") End If End Sub
The Mid function returns a specified number of characters from a string.The Mid function returns the portion of the designated string for a designated length starting from any position in the string.The Function will return the requested number of characters from a string. The Length of Characters To Pull parameter is optional.