Asp.Net With C# & Windows Application

This blog is only for C# Windows Aplication & Web Application & Other feature is css & jquery & Sql store procedure

Pages

  • Home
  • Asp.Net Special
  • Windows Application
  • SQL Server
  • CSS
  • GK Of IT
  • MVC

Saturday, May 16, 2015

Select Row Number From Sql

SELECT ROW_NUMBER() OVER(ORDER BY IDP DESC) AS SrNo,Name FROM tblAgent



Posted by Hardik Deshani at 5/16/2015 12:35:00 PM No comments :
Email This BlogThis! Share to X Share to Facebook Share to Pinterest
Labels: how to select row number in sql server , ROW_NUMBER() function in sql server , Select Row Number From Sql server , sql course , sql server

How to close winforms by pressing escape key

STEP 1

First Set KeyPreview Property True in Form

STEP 2

Now Create One Keydown event of Form

STEP 3

Write Below Code in Keydown Event

if (e.KeyCode == Keys.Escape)
{
     this.Close();
}
Posted by Hardik Deshani at 5/16/2015 12:30:00 PM No comments :
Email This BlogThis! Share to X Share to Facebook Share to Pinterest
Labels: escape key press then close winform in C#.net , How to close winforms by pressing escape key in C#
Newer Posts Older Posts Home
Subscribe to: Posts ( Atom )

Pageviews

My Blog List

  • MS Sql Server 2005 to 2017
    How to use SQL UNION
  • SQL - MVC - ASP.NET - Angular JS - Javascript - JQuery
    How to create talk bubble using css

Search This Blog

Featured Post

How to mearge multiple PDF files with page number using PDFSharp using C# MVC

In this article how to mearge multiple PDF file using PDFSharp dll in c# MVC first install this package from nuget "Install-Package ...

Popular Posts

  • Import Excel Data To Gridview Using C#
  • How to Display Reverse Number Or String in C# Windows Application
  • How to create Count Down Timer in C# Windows Application

Followers

Search This Blog

Blog Archive

  • ►  2018 ( 14 )
    • ►  January ( 14 )
  • ►  2017 ( 20 )
    • ►  December ( 18 )
    • ►  November ( 2 )
  • ►  2016 ( 2 )
    • ►  July ( 2 )
  • ▼  2015 ( 11 )
    • ▼  May ( 2 )
      • Select Row Number From Sql
      • How to close winforms by pressing escape key
    • ►  March ( 9 )
  • ►  2013 ( 19 )
    • ►  July ( 2 )
    • ►  June ( 15 )
    • ►  May ( 2 )

About Me

My Photo
Hardik Deshani
YO, I AM HARDIK I am developer since 2012 to continue working in C# technologies and learn something new every day.
View my complete profile
Theme images by Jason Morrow. Powered by Blogger.