Showing posts with label Interview Questions. Show all posts
Showing posts with label Interview Questions. Show all posts

Friday, 27 April 2012

What is Substring? || Substring Function || Sql Server Substring Function || Sql Server Substring Function example




Hi Friends ,in this article i will explain about SUBSTRING  in sql server.

Substring:

Substring is function. It has 3 parameters.It will returns the part of a character,binary,image or text.

Thursday, 26 April 2012

What is an application object in ASP.NET | where we use application object in asp.net | application object sample example using asp.net | What is an application object in .NET


Hi Friends, in this article i will explain about the application object in .NET.

Application Object:

The Application object is used to store and access variables from any page in an application.

The Application object holds information that will be used by many pages in the application.


If you want more the details please click on the below link.


http://aspdotnet-roja.blogspot.in/2012/04/what-is-application-object-in-aspnet.html

Thursday, 20 October 2011

how to change textbox background color whenever validation fails using asp.net(custom validator)

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

how to create watermark textbox using javascript

Introduction

Here I will explain how to create watermark textbox using JavaScript.

Description:

What is an application object and where we use application object in asp.net | application object sample using asp.net

What is an application object?

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.

Monday, 17 October 2011

Simple AJAX Example


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

Set a single select, a multiple select, checkboxes and a radio button in jquery



<!DOCTYPE html>
<html>
<head>
  <style>

Use the function argument to modify the value of an input box. in jquery



<!DOCTYPE html>
<html>
<head>

Set the value of an input box. in jquery



<!DOCTYPE html>
<html>
<head>
  <style>

Get the current value of the first element in the set of matched elements in jquery


Hi in this article i explain about how to get the current value of the first element in the set of matched elements in jquery

Get the single value from a single select and an array of values from a multiple select and display their values using jquery



<!DOCTYPE html>
<html>
<head>
  <style>

Find the value of an input box using jquery keyup() function



<!DOCTYPE html>

<html>

<head>

<style>

Wednesday, 12 October 2011

how to bind data to DataGridView in windows form

Imports System
Imports System.Data
Imports System.Data.SqlClient
Imports System.Data.DataSet
Public Class Form1

how to set connection string in vb.net

Imports System
Imports System.Data
Imports System.Data.SqlClient
Imports System.Data.DataSet
Public Class Form1

Monday, 10 October 2011

Introduction to 3-Tier Architecture in .NET


Introduction

Here I will explain about uses of 3-Tier architecture and how to create 3-tier architecture for our project in asp.net 

Tuesday, 4 October 2011

page indexing and row databound in GridView

Protected Sub GridView1_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles GridView1.PageIndexChanging

Monday, 3 October 2011

How to create custom paging in Repeater control?

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

Friday, 30 September 2011

Get Hour, Second and Minute from Current time (VB.net)

<script language="vb" runat="server">

    Sub Page_Load()

Get Hour from DateTime

Imports System

Public Class Greeting
     Shared Sub Main()
        Dim dtCurrent As System.DateTime
        Dim iHour As Integer

        dtCurrent = dtCurrent.Now()
        iHour = dtCurrent.Hour

        If (iHour < 12Then
            Console.Writeline("Good Morning!")
        End If
        If (iHour >= 12And (iHour < 18Then
            Console.WriteLine("Good Afternoon!")
        End If
        If (iHour >= 18Then
            Console.WriteLine("Good Evening!")
        End If
    End Sub

End Class

Mid Function


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.