Posts

Showing posts from April, 2013

How to Recover Deleted Files without Using Software

Image
For example lets assume that you have permanently deleted "Heart.JPG" from the folder named "LIFE" ;) , and now you want to recover "Heart.JPG" back. Do this simple trick to recover your Heart.JPG Right Click on the particular folder Select "Restore previous versions" That's all, now you will see a option to recover the particular file. If you don't see "Restore previous Versions" by Right Clicking, Go to Control Panel --> System and Secutiry - -> System --> Click on System Protection (in left sidebar) --> Select the particular drive and Click Configure --> Then select "Restore system setting and previous versions of files" --> Now Click on OK Note : Previous versions come from restore points or from windows backup. This trick will not work at all the time. If you haven't get back your deleted files yet, Use this Powerful Data Recovery Software (Recuva) to recover your deleted files.

How to make Windows 7 genuine using Command Prompt

Image
How to make Windows 7 genuine using Command Prompt Press Windows key + R Now "run" box will appear , in "run" box type CMD  Click on OK Note : Run CMD as Administrator Now command prompt will appear In command prompt type SLMGR -REARM Hit Enter. Wait 5-10 seconds Now a message will appear as shown in image below. Done !!! Now your Windows 7 is genuine .. :D Restart your PC once. Hereafter you won't see the warning message that "Windows 7 is not genuine"

find datakey name's in gridview event handlers

1)In row databound  if (e.Row.RowType == DataControlRowType.DataRow)                 {                     int datakey = Convert.ToInt32(dgFixtures.DataKeys[e.Row.RowIndex].Value.ToString());                   } if (e.Row.RowType == DataControlRowType.DataRow && GridTeamOfficials.EditIndex == e.Row.RowIndex)                 {                 }                 if (e.Row.RowType == DataControlRowType.DataRow)                 {                     ImageButton deleteLink = (ImageButton)e.Row.Cells[3].Controls[1];                     //WebControl deleteLink = (WebControl)e.Row.Cells[3].Controls[0];                     deleteLink.Attributes.Add("OnClick", "javascript:return CheckforDelete();");                 } 2)Datarowview DataRowView drv = (DataRowView)e.Row.DataItem; string Player_Response = drv[""].ToString(); 3)in row command GridViewRow row = (GridViewRow)(((Button)e.CommandSource).NamingContainer);  int Key = int.Parse(dg.