Go for this tech http://www.highcharts.com
Monday, November 18, 2013
Wednesday, October 16, 2013
उद्यमी बनने की इच्छा की वजह
उद्यमी बनने की इच्छा की वजह:
1) क्षमताओ का पूरा उपयोग
2) इच्छानुसार काम करने की आजादी
3) अपनी रूचि अनुसार कार्य
4) अपने काम से जुडी गर्व की भावना
5) समाज में बदलाव लाने की इच्छा
6) वर्तमान से अधिक आय अर्जित करने की इच्छा
7) उद्यमी प्रवृति
8) समान मानसिकता वाले लोगो से मिलना
9) अपने परिवार के पास वापस जाना
10) अन्य
1) क्षमताओ का पूरा उपयोग
2) इच्छानुसार काम करने की आजादी
3) अपनी रूचि अनुसार कार्य
4) अपने काम से जुडी गर्व की भावना
5) समाज में बदलाव लाने की इच्छा
6) वर्तमान से अधिक आय अर्जित करने की इच्छा
7) उद्यमी प्रवृति
8) समान मानसिकता वाले लोगो से मिलना
9) अपने परिवार के पास वापस जाना
10) अन्य
Monday, August 5, 2013
Computer Tricks Video
Watch out following video:
View Any Password in Google Chrome
https://www.youtube.com/watch?v=0alkZHRUXF4
How To Protect Your Computer,Laptop From USB Viruses
https://www.youtube.com/watch?v=9HHdHcSOCag
How to create a NAMELESS File or Folder and an Invisible Folder
https://www.youtube.com/watch?v=YWGTKq2pOL4View Any Password in Google Chrome
https://www.youtube.com/watch?v=0alkZHRUXF4
Saturday, March 30, 2013
Start JavaScript
http://net.tutsplus.com/tutorials/javascript-ajax/the-best-way-to-learn-javascript/
Codecademy.com
http://stackoverflow.com/questions/11246/best-resources-to-learn-javascript
PART 1
1. Confirm and prompt
We can make pop-up boxes appear!
Codecademy.com
http://stackoverflow.com/questions/11246/best-resources-to-learn-javascript
PART 1
1. Confirm and prompt
We can make pop-up boxes appear!
confirm("I am ok");
prompt("Are you ok?");
2. Data types
a. numbers (e.g.
b. strings (e.g.
c. booleans (e.g.
a. numbers (e.g.
4.3
, 134
)b. strings (e.g.
"dogs go woof!"
,"JavaScript expert"
)c. booleans (e.g.
false
, 5 > 4
)
3. Conditionals
If the first condition is met, execute the first code block. If it is not met, execute the code in the
If the first condition is met, execute the first code block. If it is not met, execute the code in the
else
block. See the code on the right for another example.Box pop up:
Alert("message"); showing error message with ok button
confirm("message"); questioning for proceed further with ok and cancel button
prompt("message"); asking for user input with ok and cancel button
console.log("message");
Three Data Type:
Number: without double quotation like 5
String: within double quotation like "string"
Boolean: true/false like 5>2
PART 2
Variables
We store data values in variables. We can bring back the values of these variables by typing the variable name.
We store data values in variables. We can bring back the values of these variables by typing the variable name.
Manipulating numbers & strings
a. numbers - comparison operators, modulo
b. strings - length, substring
a. numbers - comparison operators, modulo
b. strings - length, substring
console.log( )
Prints into the console whatever we put in the parentheses.
Prints into the console whatever we put in the parentheses.
"string".length
Substring
"some word".substring(x, y)
where x
is where you start chopping and y
is where you finish chopping the original string. string index start from zero. examples:1. First 3 letters of "Batman"
"Batman".substring(0,3)
: Bat2. From 4th to 6th letter of "laptop"
"laptop".substring(3,6)
: topModulo and if/else
if( 14 % 2 == 0 ) {
console.log("The first number is even!");
} else {
console.log("The first number is odd!");
}
Variables
we need a way to 'save' the values from our coding. We do this by defining a variable with a specific, case-sensitive name. Once you create (or declare) a variable as having a particular name, you can then call up that value by typing the variable name.
Code:
var varName = data type;
Example:
a.
b.
c.
a.
var myName = "Leng";
b.
var myAge = 30;
c.
var isOdd = true;
Friday, March 29, 2013
LINQ Examples
Check it out http://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b
http://weblogs.asp.net/scottgu/archive/2006/05/14/446412.aspx
LINQ Advantage:
- Abstraction: This is especially true with LINQ-to-Entities. This abstraction also allows the framework to add additional improvements that you can easily take advantage of. PLINQ is an example of adding multi-threading support to LINQ. Code changes are minimal to add this support. It would be MUCH harder to do this data access code that simply calls sprocs.
- Debugging support: I can use any .NET debugger to debug the queries. With sprocs, you cannot easily debug the SQL and that experience is largely tied to your database vendor (MS SQL Server provides a query analyzer, but often that isn't enough).
- Vendor agnostic: LINQ works with lots of databases and the number of supported databases will only increase. Sprocs are not always portable between databases, either because of varying syntax or feature support (if the database supports sprocs at all).
1. when talking single DB table and small set of data CRUD, LINQ is as fast as SP. But for much more complicated logic, stored procedure is more performance tweakable.
2. Easier to port to another DB - no procs to port.
LINQ Disadvantage:
- Network traffic: sprocs need only serialize sproc-name and argument data over the wire while LINQ sends the entire query. This can get really bad if the queries are very complex. However, LINQ's abstraction allows Microsoft to improve this over time.
- Recompiling: If you need to make changes to the way you do data access, you need to recompile, version, and redeploy your assembly. Sprocs can sometimes allow a DBA to tune the data access routine without a need to redeploy anything.
- Store Procedure Prevent reverse engineering (if created With Encryption, of course)
- Store Procedure Better centralization of database access
- Store Procedure Ability to change data model transparently (without having to deploy new clients); especially handy if multiple programs access the same data model
In short:
Both LINQ and SQL have their places. Both have their disadvantages and advantages.
Sometimes for complex data retrieval you might need stored procs. And sometimes you may want other people to use your stored proc in Sql Server Management Studio.
Linq to Entities is great for fast CRUD development.
Sure you can build an app using only one or the other. Or you can mix it up. It all comes down to your requirements. But SQL stored procs will no go away any time soon.
Sometimes for complex data retrieval you might need stored procs. And sometimes you may want other people to use your stored proc in Sql Server Management Studio.
Linq to Entities is great for fast CRUD development.
Sure you can build an app using only one or the other. Or you can mix it up. It all comes down to your requirements. But SQL stored procs will no go away any time soon.
Note: 1) LINQ works with lots of databases " But LINQTOSQL only supports SQL Server.
Thursday, March 21, 2013
Tuesday, March 19, 2013
Send SMS by J2ME application
Check the link http://stackoverflow.com/questions/13190966/nullpointer-exception-in-send-sms-in-j2me
scroll to last answer.
scroll to last answer.
Add image in J2ME apps
1) Create a folder (res) in your project directory
2) put images under it
3) add this folder in resource (right click on the resource from project window > add folder ( res) )
4) Add below code in app
Image image = Image.createImage("/rd.PNG");
MainForm.append(new ImageItem(null, image, ImageItem.LAYOUT_CENTER, null));
Monday, March 11, 2013
Friday, March 8, 2013
Numeric TextBox in C#
Numeric TextBox Control http://msdn.microsoft.com/en-us/library/ms229644%28v=vs.80%29.aspx
1. Integer
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
2. Decimal
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) && e.KeyChar != '.')
{
e.Handled = true;
}
// only allow one decimal point if (e.KeyChar == '.' && (sender as TextBox).Text.IndexOf('.') > -1) { e.Handled = true; }
}
Sunday, February 24, 2013
Friday, February 1, 2013
Recharge DishTV from Airtel Money
1) First Activate Airtel Money on your Airtel Mobile Number by dailing *400# and follow step as given on mobile screen. Note: During register process, system ask for 4 digit pin which use for airtel money transaction.
2) After Activating, Take Airtel Money Top Up
3) After balance in Airtel Money, now follow the below steps to recharge Dish TV:
a) Dial *400#
b) Choose Option 2 for Pay Bills of DTH
c) Choose Option 6 for Other Landline/DTH services
d) Choose Option 2 for DTH
e) Choose Option 1 for DishTV
f) Enter the Account Number i.e, VC No.
g) Enter Amount
h) Choose Option 1 for Yes Confirmation
i) Enter your 4 digit airtel money transaction pin and submit it. you will get the successful recharge message.
Monday, January 14, 2013
Comparing Images
Follow Following links:
http://binodjava.blogspot.in/2009/06/how-to-compare-two-images-check-two.html
comparing images by ImageMagick apllication, can be downloaded from http://www.imagemagick.org/script/binary-releases.php
ImageMagick apllication is command-line application, therefore command for comparing two images are describe in below links
http://www.imagemagick.org/Usage/compare/
http://www.imagemagick.org/script/compare.php
you can do other stuff also with Images in this software like curving corner of image:
http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine
http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428
Look into other software also like Geeqie (http://www.freesoftwaremagazine.com/articles/compare_two_images_easily_geeqie), and another one xnview
http://binodjava.blogspot.in/2009/06/how-to-compare-two-images-check-two.html
comparing images by ImageMagick apllication, can be downloaded from http://www.imagemagick.org/script/binary-releases.php
ImageMagick apllication is command-line application, therefore command for comparing two images are describe in below links
http://www.imagemagick.org/Usage/compare/
http://www.imagemagick.org/script/compare.php
you can do other stuff also with Images in this software like curving corner of image:
http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine
http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428
Look into other software also like Geeqie (http://www.freesoftwaremagazine.com/articles/compare_two_images_easily_geeqie), and another one xnview
Friday, January 11, 2013
Subscribe to:
Posts (Atom)