February, 2010

Quick Search

Regular Expressions in ASP.NET

February 27th, 2010 by admin
13 comments »

Description

The source code show how to use Regular Expressions in C#. The code Functions written for Validation Alphabet, Alphanumeric, Integer, Positive Integer, Floating point numbers. You just cut copy these functions and use in any program.

Explanation of Regular Expressions:

Regular expressions are use to search specified in the source string.

Examples:

Pattern#1
Regex … Read More

Converting Strings to Numbers

February 27th, 2010 by admin
6 comments »

 

How it works:
The argument of parseFloat must be a string or a string expression. The result of parseFloat is the number whose decimal representation was contained in that string (or the number found in the beginning of the string). If the string argument cannot be parsed as a decimal number, … Read More

Ambiguous match found

February 27th, 2010 by admin
3 comments »

 

This error is occur on that time when u have declared a variable name and the control name same as variable name. When you run your application on local system there is no error occurred but when you uploaded your web application on server you got this error. So I … Read More

Access to the Administration Control Panel is not allowed as you do not have administrative permissions

February 27th, 2010 by admin
4 comments »

 To successfully login in to ACP follow the following instruction: 
1. Please first login as “administrator”  

2. Check the Log me on automatically each visit  (check box)

3. Now go to http://yourdomain.com/adm and enter password only

4. Now you can successfully entered Administration Control Panel already.

Bind multiple rows value in a single row

February 27th, 2010 by admin
No comments »

Following example demonstrate that how you can bind multiple rows value in a single row. Through this query you got comma (,) separated value in a single row.   
 
 
Example:-
 
declare @a varchar(500)
set @a = ‘ ‘
select @a = @a + cast(id as varchar(20)) + ‘,’ from dbo.TR_UserBasic
if len(@a)>1
set @a= left(@a,len(@a)-1)
select case … Read More