how to get row index in DragDrop event of datagridview

Filed in .Net Leave a comment

http://stackoverflow.com/questions/1835329/how-to-target-a-datagridview-row-or-cell-from-dragdrop-event

Finding number of occurrence of a character in SQL

Filed in SQL Leave a comment

declare @myvar varchar(20)
set @myvar = ’H—el-lo -Wo-r-l-d’
select len(@myvar) - len(replace(@myvar,’-',”))
Result: 8

TOP