October 17, 2015

Replace a Image



Write the following code with in the .class

 
display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(images/newbanner.png) no-repeat;
  width: 180px; /* Width of new image */
  height: 236px; /* Height of new image */
  padding-left: 180px; /* Equal to width of new image */
 
 
example

 
@media only screen and  (max-width: 1036px) {
 .logo-holder {
 display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(../images/logomob.jpg) no-repeat;
  width: 180px; /* Width of new image */
  height: 236px; /* Height of new image */
  padding-left: 180px; /* Equal to width of new image */
top:0;

}
}
 
 

October 16, 2015

Double Pointers in C Language

#include<stdio.h>

int main()
{
int num = 45 , *ptr , **ptr2ptr ;
ptr     = &num;
ptr2ptr = &ptr;

printf("%d",**ptr2ptr);

return(0);
}
 
 
Output 
 
45 

October 15, 2015

How to make a column hidden in grid view

this.customersDataGridView.Columns[0].Visible = false;