Monday, April 19, 2010

P B Systems : My Team

Word I Use to Describe my Team

"Priceless…"


The final word I would use to describe the Team at P B Systems India Pvt Ltd is Priceless.

1. They make me more successful than I ever could be on my own. Everyday, I am all too aware that my success as a leader, speaker, pastor, & writer is directly related to the strength of our staff. They truly set the stage for me to play to my strengths and be used by God to impact so many lives. For that I’m forever grateful.

2. They make my dreams a Reality. I am humbled to see so many people who willingly serve, sacrifice, give and commit in order that the dreams and visions God has placed in my heart can become a reality. I am so grateful, and I never want to take that for granted.

3. They prefer me, honor me and submit to my leadership in an unbelievable way! Those things are truly beyond measure for me. I watch my friends, choose everyday to serve with me as their boss and leader. Words truly can’t describe the gratitude I feel in my heart for them.





Thanks team for giving me the ability to live the dream, everyday. There’s no one else on the planet I would rather go to work with each day! You guys are the best!

I love you guys!!!

Friday, April 16, 2010

Learn Arabic Online - Free Arabic Course and materials

Asalamalikum Brothers,

I found this site to be very much useful to me. Inshallah i wish this site will be useful to those who want to learn Arabic.

I wish all the best, to the people who are doing this great job and may allah reward them the best for their work.

Learn Arabic Online(madinaharabic.com)

This website is a dedicated free resource to students seeking to learn Arabic – beginner to advanced level.

The website includes:

* Arabic Reading Course (Beginners)
* Arabic Language Course (100 Lessons)
* Vocabulary Flashcards to help memorise Arabic words and meanings
* Discussion Forum – ask any questions where you are confused and the community or moderator will answer your questions.
* Bookstore – You can order any materials that you require – we stock a fairly comprehensive set of Arabic Language Books.
* Interactive Questions including multiple choice, virtual Arabic keyboard and many other question types to test your understanding throughout lessons.
* Many more features and tools to help learn the language (already listed in the news section).

Sorting in datagrid in Silverlight for custom columns - SortMemberPath

SortMemberPath :

Sometimes the property that your column is bound to is not always the one that you want it to sort by.
SortMemberPath is on DataGridColumn, you can use this beyond just template columns and can actually have a column bound to one property, but sort based on another property.

<data:datagridtemplatecolumn header="Start Date" width="110" sortmemberpath="RoomEffectiveOn"></data:datagridtemplatecolumn>

Wednesday, April 14, 2010

Modal dialogs causes loss of Session in I.E.

If we open a modal dialog using the javascript command
window.showModalDialog() we loose the current Session if a new window is
opend from within the modal one (using the window.open() method). The
"funny" thing is that this only occurs if another instance of IE has been
opend prior to the one serving the dialog.

Let me give an example:
1.Open an instance of IE and navigate to www.google.com.
2.Open a new instance of IE and navigate to the ASP.NET page (served through an IIS).
3.Click the link "1. Open new modal dialog", and a modal dialog containing the
page is displayed.
4.Click the link "2. Open new window" from the new modal dialog and a new
window
containing the page is displayed.
5.Notice that a new session is used when displaying the last page/window.

Solution :

As for the Session Lost problem, it does be a known issue of the IE browser. When we open a window(via window.open) from a ModalDialog page, the sessionId won't be the same as its opener page but is the same with the page in the first instance of IE.
This is caused by the ModelDialog has broken the SessionId's integrity.
This issue haven't been fixed yet, so currently we have to avoid open new
window from ModalDialog page.

SQL Server DB : Column concatination using XML ( without UPDATE)

Source Code :

DECLARE @Sample TABLE (FirstName SYSNAME, LastName SYSNAME, MemberNumber INT, AccountDesc SYSNAME, AccountBalance MONEY)
INSERT @Sample
SELECT 'Samiuddin', 'Mohammed', 1000, 'Acct2', 25.25 UNION ALL
SELECT 'Samiuddin', 'Mohammed', 1000, 'Acct3', 36.98 UNION ALL
SELECT 'Faruq', 'Shaik', 1001, 'Acct4', 84.27 UNION ALL
SELECT 'Faruq', 'Shaik', 1001, 'Acct2', 25.25 UNION ALL
SELECT 'Faruq', 'Shaik', 1001, 'Acct3', 36.98 UNION ALL
SELECT 'Faruq', 'Shaik', 1001, 'Acct4', 84.27

SELECT * FROM @Sample
-- Show the expected output
SELECT DISTINCT s1.FirstName,
s1.LastName,
s1.MemberNumber,
(SELECT TOP 100 PERCENT ';' + s2.AccountDesc + ' ' + CONVERT(VARCHAR, s2.AccountBalance, 0) FROM @Sample AS s2 WHERE s2.MemberNumber = s1.MemberNumber ORDER BY s2.AccountDesc FOR XML PATH('')) AS Accounts
FROM @Sample AS s1
ORDER BY s1.MemberNumber

Real time joke -- may be this also happened with you!

You can't stop laughing... Really nice one.. Enjoy!

Principal to student..." I saw u yesterday rotating near girls hostel pulling cigarette... ? "
************ ********* ***
Class teacher once said :
" pick up the paper and fall in the dustbin!!!"
************ ********* ***
once Hindi teacher said...."I'm going out of the world to America.."
************ ********* ***
"..DON'T TRY TO TALK IN FRONT OF MY BACK.."
************ ********* ***
don't. laugh at the back benches...otherwise teeth and all will be fallen down.....
************ ********* ***
it was very hot in the afternoon when the teacher entered.. She tried to switch the fan on, but there was some problem. and then she said
" why is fan not oning" (ing form of on)
************ ********* ***
teacher in a furious mood...
write down ur name and father of ur name!!
************ ********* ***
"shhh... quiet... the principal is revolving around college"
************ ********* ***
My manager started like this
"Hi, I am Madhu, Married with two kids"
************ ********* ***
"I'll illustrate what i have in my mind" said the professor and erased the board
************ ********* ***
"will u hang that calendar or else I'll HANG MYSELF"
************ ********* ***
LIBRARIAN SCOLDE ," IF U WILL TALK AGAIN , I WILL KNEEL DOWN OUTSIDE"
************ ********* ***
Chemistry HOD comes and tells us...
"My aim is to study my son and marry my daughter"
************ ********* ***
Tomorrow call ur parents especially mother and father
************ ********* ***
"why are you looking at the monkeys outside when i am in the class?!"
************ ********* ***
Lab assistant said this when my friend wrote wrong code..
"I understand. You understand. Computer how understand??
************ ********* ***
Seeing the principal passing by, the teacher told the noisy class..
"Keep quiet, the principal has passed away"

Please do share some more!

The Socrates Triple Filter Test

In ancient Greece, Socrates was reputed to hold knowledge in high esteem.

One day an acquaintance met the great philosopher and said, "Do you know what I just heard about your friend?"

"Hold on a minute," Socrates replied. "Before telling me anything, I'd like you to pass a little Triple Filter Test."

"Triple filter?"

"That's right," Socrates continued. "Before you talk to me about my friend, it might be a good idea to take a moment and filter what you're going to say. That's why I call it the triple filter test."

"The first filter is TRUTH. Have you made absolutely sure that what you are about to tell me is true?"
"No," the man said, "actually I just heard about it and..."
"All right," said Socrates. "So you don't really know if it's true or not.

Now let's try the second filter, the filter of GOODNESS. Is what you are about to tell me about my friend something good?"
"No, on the contrary..."
"So," Socrates continued, "you want to tell me something bad about him, but you're not certain it's true. You may still pass the test though, because there's one filter left: the filter of USEFULNESS. Is what you want to tell me about my friend going to be useful to me?"

"No, not really."

"Well," concluded Socrates, "If what you want to tell me is neither true nor good nor even useful, then why tell it to me at all?"

????!!!!???!!!!

MORAL

Listen to loose talks/comments only if they pass any one of the above 3 tests