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#

Tuesday, March 24, 2015

How to Get Table Full Detail From System Table

SELECT column_name 'Column Name',data_type 'Data Type',CHARacter_maximum_length 'Maximum Length'
FROM information_schema.columns
WHERE table_name = 'TABLENAME'
Posted by Hardik Deshani at 3/24/2015 11:16:00 AM No comments :
Email This BlogThis! Share to X Share to Facebook Share to Pinterest
Labels: How to Get Table Full Detail From System Table SQL Server
Location: Rajkot, Gujarat, India

How To Update One DataBase Table To Another DataBase Table In SQL

USE db1
go
UPDATE t1 SET DateOfRegistration = t2.DateOfRegistration
FROM db1.TableName1 t1
JOIN db2.TableName2 t2
ON t1.IDP = t2.IDP
Posted by Hardik Deshani at 3/24/2015 11:15:00 AM No comments :
Email This BlogThis! Share to X Share to Facebook Share to Pinterest
Labels: How To Update One DataBase Table To Another DataBase Table In SQL Server , sql course , sql server
Location: Rajkot, Gujarat, India

How To Copy One DataBase Table To Another DataBase Table In SQL

SELECT * INTO dbStudent.dbo.tblSetting FROM dbLive.dbo.tblSetting
Posted by Hardik Deshani at 3/24/2015 11:13:00 AM No comments :
Email This BlogThis! Share to X Share to Facebook Share to Pinterest
Labels: SQL , sql course , sql server
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

  • How to create Insert or Update query from select statement
  • Serial Port with Efficient Data reading in C#
  • How to create Count Down Timer in C# Windows Application

Followers

Search This Blog

Blog Archive

  • ▼  2018 ( 14 )
    • ▼  January ( 14 )
      • How to mearge multiple PDF files with page number ...
      • How to delete files from directory using c# MVC
      • How to create excel file from data table using NPO...
      • Download image or file from Azure Blob Storage usi...
      • Send mail using office365 email id
      • How to upload file in azure blob storage explorer
      • How to create Insert or Update query from select s...
      • How to generate random 10 digit number using sql
      • How to send Twillo SMS from Azure function
      • Javascript - How to call function after complete p...
      • How to create website thumbnail from URL in C# .net
      • How to convert xElement to XML Node in C#
      • What is MVC and How it's work
      • SQL DROP TABLE Statement
  • ►  2017 ( 20 )
    • ►  December ( 18 )
    • ►  November ( 2 )
  • ►  2016 ( 2 )
    • ►  July ( 2 )
  • ►  2015 ( 11 )
    • ►  May ( 2 )
    • ►  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.