Monday 5 December 2016

R Language - Simple Example - Open Excel file and display its content


watch this example on YouTube



Download/install R
Download/install Strawberry
Execute the following
install.packages(pkgs="gdata")
 
_________________________________________________________________
 
to open/read data to variable
> myvar <- read.xls("C://test//Excel//test.xlsx") 

to display data from myvar
>myvar

Friday 2 December 2016

MVC - change width of EditorFor


Watch this example on YouTube:




add the following to css class
.width200{
    width: 200px;
}

now ensure EditorFor is pointing to the class above
  @Html.EditorFor(model => model.FirstName, new { htmlAttributes = new { @class = "width200" } })