Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 copy code without line numbers

Author  Topic 

Sun Foster
Aged Yak Warrior

515 Posts

Posted - 2009-01-14 : 11:23:11
I copied the code from a sample with line number.
How to paste it without line numbers?


26: Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
27: If Not Page.Master Is Nothing Then
28: Dim master As samplebrowser = TryCast(Page.Master, samplebrowser)
29: master.TogglePanelTitle = "Merge Documents Demo" 30: End If
31: End Sub

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-01-14 : 11:28:38
Can't do. Text is already in Clipboard.
Better to copy it properly.

You can easily delete "columns" in SSSM2005.

Place caret to the left of 26. Now hold Shift+Alt and move caret with right arrow to the right of 26.
Now, still holding down Shift+Alt, move caret down with down arrow.
When caret is at 31, release all keys and press either backspace or delete key.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

rohitkumar
Constraint Violating Yak Guru

472 Posts

Posted - 2009-01-14 : 11:32:50
or paste it in excel, do a substring in another column and copy from there.
Go to Top of Page
   

- Advertisement -