Posts

Angular sample program with componets 1.5.2 angular

Image
https://drive.google.com/file/d/0B7xqx0jzWa3TbWJoeGxVY0tGLTA/view?usp=sharing If u need to customize this code .u procesed remain thanks you.

How to write Pure java script Program?

Image
Create  the Below  folder structure app.js: ==== function submit() {     var name = document.getElementById("txtName").value;     var code = document.getElementById("txtCode").value;     console.log(name + code); } function turnOffLight() {     var a, b, c;     a = 10;     b = 12;     document.getElementById("tagDisplay").innerHTML = a + b; } function turnOnLight() {     /*Comment Implementation       document.getElementById("tagInnerHtmlBasicTag").innerHTML = 'Sreenivas';     */     var x, y;     x = y;     x += y;//x=x+y;     x -= y;//x=x-y;     x *= y;//x=x*y;     x /= y;//x=x/y;     x = 10;     y = 10;     console.log(x | y);     console.log(x ** y);     console.log(x ^ y);     console.log(x >>> y); ...

How to convert decimal to Double using c#

Hi Friends this is Sreenivas .If u want any technical clarification on .Net i can help u out.Please contact +91-9642411153 1 Double d=decimal.ToDouble("Decimal Value"); 2 Double d= (double)("decimalValue"); 3 Double d=Convert.ToDouble("Decimalvalue");

Sample HTML Design screen

Image
I have html control like Below screen shot < !DOCTYPE   html > < html   xmlns = "http://www.w3.org/1999/xhtml" > < head >      < title ></ title >      < script   src = "Scripts/angular.min.js" ></ script >      < script   src = "Scripts/bootstrap.min.js" ></ script >      < link   href = "Content/bootstrap.min.css"   rel = "stylesheet"   /> </ head > < body >      < div   class = "container-fluid" >          < div   class = "page-header" >< h1   style = " text-align : center ; " > Registation Form </ h1 ></ div >          < div   class = "row" >              ...

How to insert a record in mongo

Simple thing db. tableName. insert ({"_id":1, "name":"fieldname", "id";:1}) F5 / EXECUTE

How to create database in mongo and table creation in database

Database creation Use SREENIVAS-DATABASE-NAME collection creation creation db.createcollection ("name":"collection-name") Table creation db.SREENIVAS-DATABASE-NAME. insert ({"name":"tableName"})

How to convert string to List of string in c#

the below value shoub be our requirements . then we need to convert that into list format. String stt= "2, 4, 5, 6, 7"; List <string> listValues=stt. Split (', '). Select (Int. parse). ToList (); o/p: '-------- listValues = [ 2, 4, 5, 6, 7]; listValues [0]=2;