since the start of the recession in December 2007, the United States has lost 8.4 million jobs. Yet, employers are finally feeling a renewed sense of hiring optimism, according to a new survey from CareerBuilder and USA TODAY. For the third consecutive quarter, more hiring managers and human resource professionals are projecting they will increase headcount in the next three months while fewer are expecting staff cuts.
Just Learned!!
Hello and welcome to my Online Blog. My name is Roshan Fernando and I am a blogger from Sri Lanka. If you are looking for information about c sharp,asp.net, java, php, sql, you have come to the right place. I have failed and I have been successful. These are my stories. Enjoy!!
Saturday, January 7, 2012
6 job market trends.
Wednesday, January 4, 2012
Self Awareness
Self Awareness is having a clear perception of your personality, including strengths, weaknesses, thoughts, beliefs, motivation, and emotions. Self Awareness allows you to understand other people, how they perceive you, your attitude and your responses to them in the moment.
We might quickly assume that we are self aware, but it is helpful to have a relative scale for awareness. If you have ever been in an auto accident you may have experienced everything happening in slow motion and noticing details of your thought process and the event. This is a state if heightened awareness. With practice we can learn to engage these types of heightened states and see new opportunities for interpretations in our thoughts, emotions, and conversations.
More Details
Tuesday, December 6, 2011
.Net framework 4.5
Monday, October 24, 2011
ASP.NET THEMES
Hi Folks,,
today i am going to write about an old feature of asp.net , but thought this may help you.
Long story short, i think every body knows what theming is . so let's start to look how to implement it .
First of all there is a special folder type for themes in ASP.net , which is called APP_THEMES.
Before you start with you need to add App_theme folder to your web site/application.
Go to your project right click on it and Select Add >>> Add ASP.NET Folder >> Theme
Bravo now you have the theme folder . Next what you have to do create folders for each of theme you want..
e.g. Let's say you want three themes according to user types , which will be Pre paid / Postpaid and For Unregistered Guests . what you will be doing is creating three folders and name it accordingly.
Then for each folder you can add separate css file which will be used to dress your web pages.
e.g. with in the prepaid folder you can add prepaid.css file. and especially you can add skin file also which will used to decorate your controls.
e.g. you want all the text-box of your web page to have black border when you select a specific theme. what you can do is you can add a skin file to , specific theme folder and give a name for it and then add some thing like this
<asp:TextBox: runat="server" border ="Blah blach balcj,,....."/> .
Last the interesting part . How to change the themes ?
there are two options you can use web.config to set a them. this is useful when you are developing a product and you want to give the product to separate customers with different looks,.
this is how to you can do it . in the web config system.web section
<pages theme="theme name"></pages>
Other option is to change the theme on the fly.which means dynamically changing the theme,
protected override void OnPreInit(EventArgs e) {
Page.Theme = "ThemeName";
}
That's all ..
Thanks
Sunday, February 20, 2011
Dynamically Load Controls to a web page
Hi folks !!!
- state A
- state B
- state C
So i have developed the three usercontrols. Then we i have option of
- either adding to all three usersontrols to the page and hiding it according to the state
- Or, i would prefer adding the relevant usercontrol from the server side it self to the page and pass the page to the client.
// create a control
Control cntrlUCstate= new Control();
// Load that control
cntrlUCstate = LoadControl("relative path of the control");
// assume that you are using an update panel.( aupAccBal is the update panel)
aupAccBal.ContentTemplateContainer.Controls.Add(cntrlUCstate);
if you want , you can clear the control collection as well.
aupAccBal.ContentTemplateContainer.Controls.Clear();
Thanks N enjoy!!!
Thursday, February 3, 2011
Set a value from the top SQL
Hi Folks!!
This is what something i have went wrong with. I wanted to set a value which was returning from the top clause,
what i tried was
So few searches from internet has solved my problem.
this was the solution for it.
Njoy!
This is what something i have went wrong with. I wanted to set a value which was returning from the top clause,
what i tried was
SELECT @Variable = Top 1 <<column>> FROM <<table>>Certainly that gave me errors .
So few searches from internet has solved my problem.
this was the solution for it.
SET @Variable =( SELECT Top 1 <<column>> FROM <<table>>)
Njoy!
Subscribe to:
Posts (Atom)