Showing posts with label display. Show all posts
Showing posts with label display. Show all posts

Friday, March 30, 2012

Remove Help icon from the Toolbar

Hi,
I am trying to hide the help icon from the Toolbar, and i used a stylesheet to control it.
.ToolbarHelp
{
display: none;
}
The strange thing is that when i call the report in my asp.net page directly in the server machine, the help icon is removed, but when i view it in another machine, it doesn;t seem to work.
Any idea what went wrong?


Did you verify the path to the style sheet?

Monday, March 26, 2012

Remove a character from a string

Hi All,

Please guide me how to completely remove a particular character from a string in Sql Server 2000 and display remaining characters of the string.

Thanks in advance.

Regards
Prasanthideclare @.mytxt varchar(50)
set @.mytxt = 'abc123def'

--remove the 2 from the string
set @.mytxt = replace(@.mytxt, '2', '')
select @.mytxt|||Run this simple Query
this will Replace all s from the name field with blank

select replace(name,'s','') from sysobjects