Beyond Web Logs

Discuss technology, web development, networks and more ...

Recent posts

Tags

First time here? At BeyondWebLogs we discuss technology, web development, personal development, networks and more. You can subscribe to the RSS feed so that you keep up to date with the latest content. Now, on with the regular content...

What is LINQ to SQL and Pronunciation of LINQ

LINQ as you already know stands for "Lanugage Integrated Query" - but many people don't know that its pronunciation is "LINK" not "Link Cue"

Just in case, if you are living under the rock, LINQ to SQL is an O/RM (object relational mapping) implementation that ships in the .NET Framework 3.5 release, and which allows you to model a relational database using .NET classes.  You can then query the database using LINQ, as well as update/insert/delete data from it.

LINQ to SQL fully supports transactions, views, and stored procedures.  It also provides an easy way to integrate data validation and business logic rules into your data model.

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: LINQ
Posted by Waqas on Monday, April 28, 2008 8:18 PM
Permalink | Comments (0) | Post RSSRSS comment feed

How to get Column information using SQL

Here is the simple query you can use to fetch column information from a given table:

SELECT
ORDINAL_POSITION
,COLUMN_NAME
,DATA_TYPE
,CHARACTER_MAXIMUM_LENGTH
,IS_NULLABLE
,COLUMN_DEFAULT
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE

TABLE_NAME = 'Product' -- place your table in question here in quotes
ORDER BY
ORDINAL_POSITION ASC;

 

Another more simpler option could be to use sp_help as follows:

sp_help 'Product' -- place your table in question here in quotes

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Waqas on Monday, April 28, 2008 3:18 PM
Permalink | Comments (0) | Post RSSRSS comment feed

How to Reduce Page Load Time with ASP.NET AJAX

A very nice trick with tab controls to asynchronously load their content in the background and improve perceived page load time.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: ASP.NET | Tips n Tricks
Posted by Waqas on Monday, April 28, 2008 3:07 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Inside Google Australia

It's the office space everybody's talking about.....

Google Australia

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Tech News
Posted by Naveed on Saturday, April 26, 2008 1:43 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Technology works arround you.... X-Ray Bag!!!

Often times, a really cool looking bag draws the attention of the unsavory - those that may want to take that which is tantalizingly hidden within. It's the fact that the contents are invisible that makes the temptation so high! You might have a big wad of cash inside, or a stack of iPhones, a felt satchel of diamonds, or maybe a large gold brick!

Then again, maybe all you've got is a pack of gum, a ball of twine, a rubber-band, and a large caliber handgun. Sure, the potential risk is high on a mark like that, but the potential reward could be even higher!

We've got a solution - show the world exactly what you're carrying, even if what you're showing is only a reasonable facsimile. The X-Ray tote and shoulder bags, made of a space-age woven plastic fiber, appear to have been bombarded by X-rays, and have magically made your eyes sensitive to their reflection. It appears as though your stuff has gone through the security check at the airport (although, we highly recommend AGAINST carrying these through such a checkpoint as the NTSB, as a rule, has no sense of humor).

Show everyone your iPod, stack-o-benjamins, eye-drops, nail clippers, lollipop, sunglasses, and prescriptions as well as your pepper-spray, switchblade, brass knuckles and revolver. Maybe you've really got that stuff in your bag, but then again, maybe you don't! The indecision will make any potential thief pause in confusion long enough for you to be out of sight and long gone. Who knew personal security could be had through the power of suggestion?



Details

  • Tough woven plastic fiber bags
  • Tote bag measures 15" wide x 14.5" tall x 4.5" deep.
  • Shoulder bag measures 12.5" wide x 10" tall x 4" deep.
  • Adjustable nylon shoulder strap
  • Tote bag snaps shut to keep their dirty mitts out of your stuff!

 

Click here to buy

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Naveed on Friday, April 25, 2008 6:55 PM
Permalink | Comments (1) | Post RSSRSS comment feed

Bill Gates Rules Of Life - Speech at high school about 11 things they did not and will not learn in school

Bill Gates recently gave a speech at a High School about 11 things they did not and will not learn in school. He talks about how feel-good, politically correct teachings created a generation of kids with no concept of reality and how this concept set them up for failure in the real world.


Rule
1
: Life is not fair - get used to it!

Rule 2
: The world won't care about your self-esteem. The world will expect you to accomplish something BEFORE you feel good about yourself.

Rule 3
: You will NOT make $60,000 a year right out of high school. You won't be a vice-president with a car phone until you earn both.

Rule 4
:
If you think your teacher is tough, wait till you get a boss.

Rule 5
:
Flipping burgers is not beneath your dignity. Your Grandparents had a different word for burger flipping: they called it opportunity.

Rule 6
:
If you mess up, it's not your parents' fault, so don't whine about your mistakes, learn from them.

Rule 7
:
Before you were born, your parents weren't as boring as they are now. They got that way from paying your bills, cleaning your clothes and listening to you talk about how cool you thought you were. So before you save the rain forest from the parasites of your parent's generation, try delousing the closet in your own room.

Rule 8
:
Your school may have done away with winners and losers, but life HAS NOT. In some schools, they have abolished failing grades and they'll give you as MANY TIMES as you want to get the right answer. This doesn't bear the slightest resemblance to ANYTHING in real life.

Rule 9
: Life is not divided into semesters. You don't get summers off and very few employers are interested in helping you FIND YOURSELF. Do that on your own time.

Rule 10
:
Television is NOT real life. In real life people actually have to leave the coffee shop and go to jobs.

Rule 11
:
Be nice to nerds. Chances are you'll end up working for one.

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Thought Process
Posted by Waqas on Friday, April 18, 2008 4:22 PM
Permalink | Comments (2) | Post RSSRSS comment feed

How to set or synchronize your machine time with domain controller

Sometimes, you might get an error "The time on your machine does not match with the network time". The basic issue here is that the time on the machine is not automatically synced with the time on the domain controller.

To resolve this problem, simply login as a local account and sync the time with the domain controller using the Net time command.

To do this, goto the command prompt and run the following:

NET TIME /domain:mydomainname /SET /Y

This will synchronize the machine time to that of the domain controller.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: How To
Posted by Waqas on Thursday, April 17, 2008 12:24 PM
Permalink | Comments (0) | Post RSSRSS comment feed