Main menu:

 

August 2008
M T W T F S S
« Jul    
 123
45678910
11121314151617
18192021222324
25262728293031

Site search

Archives

Categories

Tags

Atenas Hoteles

La planificación de una visita a las ciudades más antiguas del mundo? Easytobook.com entonces está listo para ayudarle con sus destinos más bellos de todo el mundo y especialmente en Atenas. Atenas tiene una historia increíble. Es el mejor destino para el turismo en Europa. Hay una serie de viejos edificios, monumentos y estadios. Un día o dos no serán suficientes sin duda para usted. Por lo tanto, planificar su estancia en Atenas Hoteles. Estos hoteles ofrecen muchas facilidades para adaptarse a las necesidades de cada viajero. Hay una serie de hoteles disponibles en cada gama de precios para todo tipo de personas.

Un enorme descuento de hasta el 80% se da para todos los clientes. No hay cargos adicionales y el pago de anticipos. Otros lugares de atracciones y sitios turísticos también son enumeradas aquí. EasyToBook también incluye los hoteles basado en el nombre sabio lista de acuerdo a las ciudades. Hay total privacidad, seguridad y confort para su estancia. Para estar en el centro de la ciudad y con fácil acceso a todos los puntos, puede hacer que su estancia en el Aristoteles Atenas. La cálida hospitalidad y el ambiente cordial de estos hoteles harán de su estancia muy agradable. Así libro inmediatamente para su estancia.

Share/Save/Bookmark

asp fileupload control..unable to display the text from the database

I added an asp file upload control and was trying to upload the image successfully..cool.

i am adding the location of the image in the columns of a sql server table ~/yourwwwlocation/yourimagefolderlocation

now when I load the page to edit i need the ~/yourwwwlocation/yourimagefolderlocation in the file upload text box, well, i was unable to set the as its a read only property.. fileupload.postedfile = “read only doesnt work”;

well the work around was to add the hidden field on the page and then in the code behind writing the logic to find

whether the database table column has a location text in it,

if it has, pass it as it is., dont process

and if the database table column has a text and u are trying to upload a new file..

then check whether the hidden value matches with the new value..

if it doesn’t process(upload it) .

if there is nothing in the database field and its new upload,( hidden value = “”)

it will upload

Hope this helps…

Share/Save/Bookmark

The significance of proxy in remoting

While i was working on a .net remoting application I was wondering why do we need a separate proxy class, why can’t we have the client calling the remote object ,can not call it directly.

This question might have been encountered by many techies, but very few people try to digg into the details..

The answer to the above question is that the remoting objects lie in different application domains or app domains and you cannot call it directly and proxy is the way through which you can call..

When client wants to make method call on the remote object it uses proxy for it.These
method calls are called as “Messages”. Messages are serialized using “formatter” class and
sent to client “channel”.Client Channel communicates with Server Channel.Server
Channel uses as formatter to deserialize the message and sends to the remote object.

Share/Save/Bookmark

Autocomplete ajax tool kit

Scenario

you have a global search box on your website and when you input the first character of the first name , all the words which starts with that particular word will be displayed in the list box. the good thing is that as its an ajax control,  its fast enough without the post back, its asynchronous.

resources required:

you will be required to add a webservice to your web application and if your code behind class name is autocomplete.cs then in the web service use CodeBehind=”~/AutoComplete.cs”

also be required to add the method.

////AutoComplete.cs

[WebMethod]
public string[] GetNameList(string prefixText, int count)
{
string strFirstName,strLastName
DataSet namesDataset =getAllNames(prefixText + “%”);
//getAllNames does database manupulation and get the records

List<string> items = new List<string>(count);
foreach (DataRow dRow in namesDataset .Tables[0].Rows)
{
strFirstName = Convert.ToString(dRow["FirstName"]);
strLastName = Convert.ToString(dRow["LastName"]);
items.Add(strFirstName + ” ” +  strLastName);
}

return items.ToArray();
}
///in ASPX Page

<ajaxToolkit:AutoCompleteExtender
runat=”server”
ID=”autoComplete1″
TargetControlID=”searchTextBox”
ServicePath=”../AutoComplete.asmx”
ServiceMethod=”GetNameList”
MinimumPrefixLength=”1″
CompletionInterval=”1000″
EnableCaching=”true”
CompletionSetCount=”12″ />
<asp:TextBox runat=”server” ID=”searchTextBox” CssClass=”input” AutoPostBack=”false” Width=”125px” autocomplete=”off” />

Share/Save/Bookmark

Error while decrypting the encrypted querystring due to the space in the querystring

One of my blog reader posted the below question, Well , I was expecting this question as I had encountered the same issue and resolved. Please find the question along with the resolution as below.

Hi
I have tried the above code, and found a problem -
The encrypted value of 4 is S91QD+K0/u8=. When I pass this value to another page and read it by Request.QueryString it read as S91QD K0/u8= (without + sign). For that in the time of decryption it is showing an error.

How to solve the problem ?

The solution to the above problem is as follows.

if (queryString.Contains(” “))
{
queryString = queryString.Replace(’ ‘, ‘+’);
}
decryptedQueryStrings = encdecQS.Decrypt(queryString, “YOUR SECRET KEY”);

HOPE THIS HELPS

Share/Save/Bookmark

XPath String Operators and Functions

XPath 1.0 have many string functions:

concat(string string1, string string2, …)— This function returns all strings you pass to it concatenated (that is, joined) together.

contains(string string1, string string2)— This function returns true if the first string contains the second one.

normalize-space(string string1)— This function returns string1 after leading and trailing whitespace is stripped and multiple consecutive whitespace is replaced with a single space.

starts-with(string string1, string string2)— This function returns true if the first string starts with the second string.

string(string string1)— Returns the argument you pass to it in string form.

string-length(string string1)— This function returns the number of characters in string1.

substring(string string1, number offset, number length)— This function returns length characters from the string, starting at offset.

substring-after(string string1, string string2)— This function returns the part of string1 after the first occurrence of string2.

substring-before(string string1, string string2)— This function returns the part of string1 up to the first occurrence of string2.

translate(string string1, string string2, string string3)— This function returns string1 with all occurrences of the characters that occur in string2 replaced by corresponding characters (that is, characters that occur at the same location) in string3.

Share/Save/Bookmark

Cheaperthanhotels-The best holiday destination

Planning anywhere for a vacation? Then please do visit cheaperthanhotels.com.au which has the most popular holiday destinations at the best discounts and with the facilities of booking online. They have destinations through out the world. Hotels near SeaWorld Gold Coast are amazing. They take utmost care of our health and safety. They even provide us guidance for visas and entry. Australia’s best theme parks can be visited here. Everyone is aware of Warner Bros movies. You can have the pleasure of visiting this movie world here.
For the convenience of the customers, the Customer service centres are situated in key global areas with multi lingual staff and 24/7 service. Hotels near Sea World Resort provide accommodation at the most competitive rates and the highest comforts and standards.

One of the most popular destinations is the Surfers Paradise Family Accommodation, where Lowest rates are guaranteed and you can pay on your arrival. Their website is very user friendly. We can customise it based on our regional language and our currency. The next is another splendid destination. Yes it is the Broadbeach Gold Coast Hotels and Accommodation which provides a high quality service. Many hotels are available here for all sorts of people. There are hotels from 3 star to 5 star based upon our luxury. There are many amusement parks and water worlds. So, Don’t miss the enjoyment.

Share/Save/Bookmark

Create a Customer Dashboard in SharePoint

[youtube=http://in.youtube.com/watch?v=ITPHd5BmRaM]

Share/Save/Bookmark

Design patterns

Design pattern are the standards and best practices used to accomplish a particular goal, well there are various design patterns, they are Abstract factory pattern, Builder pattern, and Factory pattern.

Abstract factory pattern : Its a pattern where you create the interface and the interface expose the properties , methods , events and classess..

Like I have a EmployeeFactoryInterface which returns IEmployeeManager

public interface IEmployeeFactory

{

IEmployeeManager Create();

}

public interface IEmployeeManager()

{

Dataset getAllEmployee();

}

public EmployeeFactory : IEmployeeFactory

{

public IEmployeeManager Create()

{

return Employee();

}

}

public class Employee : IEmployeeManager

{

public Dataset getAllEmployee()

{

//create connection

//execute stored procedure

//return dataset containing the employee details

}

}

i will post the figure in my next post

Share/Save/Bookmark

CamelBack displays

It may be any kind of exhibition or trade shows, the credit goes to camelbackdisplays.com for designing the trade show booths and making them look marvellous. Any type of trade show booth can be purchased here. One can find top quality products for special events. They supply table covers both printed & blank and help thousands of customers every year.
The main aim is to meet the customer’s needs and they take it as a challenge in setting it right the first time. They maintain perfect punctuality by delivering the products in time. We may choose from the various types of table skirts viz. flat panel, blank, printed with our logo, disposable, full colored ones.

To display our banners for attracting the customers innumerable types of banner stands are also available. We can even get the stands based on our customization.
To give the exhibitors space to exhibit, Pipe and Drape are used to upgrade the booths and make them look awesome . Apart from these, there are various other tools like presentation tools, crowd control structures, light boxes etc. So be wise enough to check Camelback displays.com quickly.

Share/Save/Bookmark