Posts

Showing posts from February, 2017

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;