Wednesday, April 27, 2016

MS Access connection with ASP.NET C# / Gridview bind with Access / Remove HTML tags

Introduction:

Here I will explain the below programming

1 )How to make connection with MS Access  in ASP.NET
2) Date bind gridview with Dataset from MS Access.
3) Remove HTML tags from the database filed.
(It will removed all HTML tags from the database filed and show as text only in Grid.)

Neelofar Abbasi (L), Ishrat Hashmi and Haseena Moin

Neelofar Abbasi (L), Ishrat Hashmi and Haseena Moin


Monday, April 18, 2016

9 Things That Will Happen When You Eat Black-Spotted Bananas

1. You’ll Have Added Protection Against Cancer
2. You’ll Be Cured Of Heartburn
3. Your Blood Pressure Will Be Regulated
4. You’ll Be Less Depressed
5. You’ll Relieve Constipation
6. You’ll Experience An Instant Boost Of Energy
7. You’ll Find It Easier To Deal With Ulcers
8. You’ll Fight Anemia
9. You’ll Find Relief Against Menstrual Pain

link
http://www.lifehack.org/374955/9-things-that-will-happen-when-you-eat-black-spotted-bananas


1. You’ll Have Added Protection Against Cancer

Researchers have found that spotted bananas contain a compound called Tumor Necrosis Factor (TNF) that destroys cancerous tumors. Consumption of such spotted bananas, therefore, can help in the prevention of cancer.

2. You’ll Be Cured Of Heartburn

Bananas are excellent natural antacids that help to counter indigestion. They are easily digested, and thus do not contribute to further stomach distress. Instead, the discomfort dissipates after you eat a banana. So, instead of popping a pill for your indigestion and heartburn, eat a banana for instant relief.

3. Your Blood Pressure Will Be Regulated

To maintain your blood pressure, you must have good potassium levels in your blood, and that can be supplied to your body by spotty bananas. They are rich sources of potassium and have a low sodium content, which can cause spikes in blood pressure levels.

4. You’ll Be Less Depressed

Bananas contain tryptophan, an amino acid. Your body utilizes this amino acid in the manufacturing of serotonin, a neurotransmitter that is closely linked to the state of mind, as well as to sleep. Thus, bananas help you achieve a sense of calm, as well as help you get sound sleep.

5. You’ll Relieve Constipation

The fact that bananas can help to relieve constipation is well known. They add to the bowel bulk and ease the flow of motion due to their fiber content. So, the next time you are experiencing digestive or bowel-related problems, just try eating a banana as your go-to home remedy!
Ripe-Banana-for-Constipation2

6. You’ll Experience An Instant Boost Of Energy

Bananas have high caloric value, making them an excellent source of instant energy. So, the next time you need a push after a grueling workout session, have a banana. The potassium present in bananas prevents your muscles from cramping. Other minerals and nutrients will help you gain prolonged physical endurance. We aren’t kidding — it’s a proven fact.

7. You’ll Find It Easier To Deal With Ulcers

Ulcers are synonymous with acute discomfort and strict restrictions on diet. This is because spices and many other edibles can aggravate your condition and cause further irritation. However, bananas have a softer texture that quickly passes through your digestive tract and provides much-needed nutrition.

8. You’ll Fight Anemia

Bananas are abundant sources of the mineral iron. Iron is one of the main components of your red blood cells that are responsible for the transport of nutrition and oxygen through your body. Bananas supplement your body’s iron requirement, thus reducing occurrences of anemia, which is marked by low iron count and diseased red blood cells.

9. You’ll Find Relief Against Menstrual Pain

The potassium present in spotty bananas helps to ease muscle cramps due to menstrual cycles. Bananas are also a rich source of vitamin B6 that reduces the chances of bloating and water retention during your period.
Bananas are an excellent addition to your diet. Make sure you eat them just as they begin to spot — don’t wait until they have completely become black. This state implies a reduced level of beneficial antioxidants and other nutrients. Perfectly ripened (and slightly spotted) bananas will digest easily and provide you with plenty of health benefits. So, have a banana every day for a better and healthier life!

Tuesday, April 12, 2016

پیٹ کی چربی پگھلانے کیلئے رات کو نیم گرم پانی میں یہ قدرتی چیز ملا کر پئیں، چند دن میں ہی زندگی بدل جائے گی

لندن(نیوزڈیسک)اگر آپ پیٹ کی چربی کم کرنے کے لئے کئی نسخے آزماکر تنگ آچکے ہیں تو ذیل میں بتائے ہوئے نسخے کو ایک بار ضرور آزمائیں۔یہ نسخہ سیب کے سرکے کو نیم گرم پانی میں استعمال کرنا ہے اور ہر رات کو اس کے استعمال سے پیٹ کی چربی پگھل جائے گی۔
سیب کے سرکے کو ہزاروں سال سے استعمال کیا جارہا ہے اور بہت آزمودہ بھی پایا گیا ہے۔اس میں موجود تیزابی خاصیت کی وجہ سے چربی اور کھانے کے مضر حصے فوری طور پر پگھلنے لگیں گے۔اس کی وجہ سے نظام انہضام بہتر طریقے سے کام کرے گا اور خون میں شوگر کی مقدار بھی کنٹرول میں رہے گی۔لوزیانا سٹیٹ یونیورسٹی کی سائنسدان کیتھرین شیمین کا کہنا ہے کہ وزن کم ہونے سے کئی خطرناک بیماریاں دور ہوں گی اور آپ ایک صحت مند زندگی گزار سکیں گے۔
بنانے کا طریقہ
نیم گرم پانی میں ایک سے تین بڑے چمچ سیب کا سرکہ شامل کریں۔اگر چاہیں تو پانی میں شہد بھی ملا لیں تاکہ ترش ذائقے سے بچاجاسکے۔دن میں یہ مشروب دو بار یعنی ناشتے اور رات کے کھانے سے پہلے استعمال کیا جاسکتا ہے۔
آپ چاہیں تو پانی میں سیب کے چند قطرے ملاکر یہ پانی سارا دن استعمال کرسکتے ہیں۔

بالوں پر بغیر کچھ لگائے سفید بال پھر سے کالے سیاہ کرنے کا آسان ترین آزمودہ قدرتی

لندن(نیوزڈیسک)ہر کوئی یہ سمجھتا ہے کہ اگر بال سفید ہوجائیں تو پھر انہیں سیاہ نہیں کیا جاسکتا اور اس لئے لوگ مختلف طرح کے ہیئرکلر استعمال کرتے ہیں لیکن آج ہم آپ کو سفید بالوںکو دوبارہ کالا کرنے کا آسان ترین نسخہ بتاتے ہیں۔
اجزاء
فلیکس سیڈ آئل (السی کا تیل)200گرام
لیموں چار عدد
لہسن کی تین توڑیاں
شہد ایک کلو
بنانے کا طریقہ
لیموں کا رس اورلہسن کو اچھی طرح پیس لیں،اسکے بعد فلیکس سیڈ اور شہد ڈالیں اور پھر پیس لیں۔اس مرکب کو کسی جار میں ڈال کر اچھی طرح بند کردیں اور مکسچر کو فریج میں رکھ دیں۔ہر کھانے سے 30 منٹ قبل ایک بڑا چمچ مکسچر کاکھائیں اور ہمیشہ لکڑی یا پلاسٹک کا چمچ استعمال کریں۔یہ جادوئی مکسچر دن میں تین بار استعمال کرنے سے نہ صرف بال 
مضبوط ہوکر سیاہ ہونے لگیں گے بلکہ اس سے صحت بھی اچھی رہے گی۔


Thursday, February 25, 2016

نہ خود رہو اداس

ہر رشتے میں یقین رہنے دو؛
 زبان پر ہر وقت مٹھاس رہنے دو؛
 یہی تو انداز ہے زندگی جینے کا؛
 نہ خود رہو اداس،
 نہ دوسروں کو رہنے دو ..

Saturday, February 20, 2016

How to disable directory browsing using .htaccess – Apache Web Server

Disable directory browsing using .htaccess:-

  • Open your .htacces file
  • Look for Options Indexes
  • If Options Indexes exists modify it to Options -Indexes or else add Options -Indexes as a new line
  • The directory browsing feature should be disable by now

Disable directory browsing using httpd.conf:-

  • Open your httpd.conf, normally it’s located at /usr/local/apache/conf or /etc/httpd.conf
  • Go to your own Virtual Host settings and look for “Options Indexes”
  • Change the Indexes to -Indexes if Option Indexes exists or else add the Options -Indexes line
  • Restart your apache web server.
  • The directory browsing feature should be disable by now

Disable directory browsing in CPanel Share Hosting enviroment:-

  • Login to your CPanel
  • Click on Index Manager
  • Directory will be list down. Click on the directory name which you want to disable the directory browsing
  • Select No Index and click Save
  • The directory browsing feature should be disable by now
Once you disable directory browsing, visitor will not able to browse your directory by accessing the directory directly (if there is no index.html file). This will protect your files from exposing to the public.

Monday, February 15, 2016

سمندر پانی


سمندر سب کے لیے ایک جیسا ہی ہوتا ہے لیکن کچھ لوگ اس میں سے موتی تلاش کر لیتے ہیں ، کچھ مچھلیاں پکڑ لیتے ہیں اور کچھ کو سمندر سے کھارے پانی کے سوا کچھ بھی نہیں ملتا ۔

بادل سے برسنے والا پانی ایک جیسا ہی ہوتا ہے ۔
زرحیز زمین اسی پانی سے سبزہ اگا لیتی ہے ،
صحرا کی ریت اس پانی سے اپنی پیاس بجھاتی ہے اور وہی پانی چکنے پتھروں کو محض چھو کر گزر جاتا ہے ۔

Thursday, February 04, 2016

30 Things to Do in Europe Before You Die


1.    Visit Qurtuba Grand mosque in Spain
2.    Ride a bike around Amsterdam
3.    Sip coffee with a view of the Eiffel Tower
4.    Visit Disney Land Paris - France
5.    Take a selfie (from very far away) with the Mona Lisa
6.    Stare out a member of the Queen's Guard (and lose, always lose) at Buckingham Palace
7.    Make a snow angel on the Jungfrau
8.    Shop for treasures in the Grand Bazaar (DONE)
9.    Visit two nations in a day as you cross the Bosphorus River in Istanbul. (DONE)
10.    Party at Kings Day in Amsterdam
11.    Take a ride London eye
12.    Visit the smallest country in the world, the Vatican City
13.    Swim in the crystal clear waters surrounding the Amalfi Coast
14.    Take a horse and carriage ride through Krakow's old town
15.    See the culture on at the opera in Vienna
16.    Brave a black run on the slopes of Hopfgarten
17.    Visit Madrid - Spain
18.    Explore Rome Italy
19.    Explore the mystical fjords of Norway
20.    Visit Greece
21.    Make winter holidays in Switzerland
22.    Feel all kinds of stylish soaking up the sun in Nice
23.    Get snap happy on the picture perfect island of Santorini
24.    Step back in time at the Acropolis in Athens
25.    Fly (or fall, gracefully) like a bird as you skydive over the Swiss Alps

Saturday, January 23, 2016

Countung Numbers


CountEnglish figureShort scale English
one1one
ten10ten
hundred100hundred
one thousand1000one thousand
ten thousand10000ten thousand
one lakh100000one hundred thousand
one crore10000000ten million ( one crore)