We can get OpenId provies by adding like this in our web site
<iframe src="https://asp-tech-blogspot.rpxnow.com/openid/embed?token_url=http://asp-tech.blogspot.com/" style="width: 400px; height: 240px;" scrolling="no" frameborder="no">&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;</iframe>
Look at this for more detais https://rpxnow.com/
Tuesday, November 25, 2008
Monday, November 24, 2008
Thursday, November 20, 2008
Background image on button not showing in IE
This render the image on the background of the Input tag in FF but not in IE
<input class="button" value="Login" style="" type="submit"/>
I just had to add a border to the style containing my background image.
The image is ignored by IE without the border.
I don't want to see a border,
but fortunately, including a 0px border still works.
I simply changed
border-style: none;
to
border: 0px solid #FFFFFF;
<input class="button" value="Login"
style="border: 0px solid rgb(255, 255, 255);
background-image:
url(Images/button_bg.png);
background-repeat: repeat-x; display: block;" type="submit"/>
Saturday, November 15, 2008
Web Method
If our return type is DataSet then we will get this error message
A circular reference was detected while serializing an object of
type "System.goblaization.CultureInfo"
setting response format to XML
[System.Web.Script.Services.ScriptMethod(ResponseFormat=
System.Web.Script.Services.ResponseFormat.Xml)]
public DataSet Get()
{
DataSet ds = new DataSet();
return ds;
}
Thursday, November 6, 2008
Difference between NULL and (Empty or ' ')
DECLARE @A VARCHAR(10) DECLARE @B VARCHAR(10) DECLARE @C VARCHAR(10) BEGIN --Step:1 SELECT ISNULL(@A , ' ') -- RETURNS ' ' SELECT ISNULL(@A , NULL) -- RETURNS NULL SELECT ISNULL(@A , @B) -- RETURNS NULL --Step:2 SET @A = '' --Since we have assigned some value which is not null SELECT ISNULL(@A , ' ') -- RETURNS '' SELECT ISNULL(@A , NULL) -- RETURNS '' SELECT ISNULL(@A , @B) -- RETURNS '' --Step:3 SET @A = NULL--Which is same as the Step:1 SELECT ISNULL(@A , ' ') -- RETURNS '' SELECT ISNULL(@A , NULL) -- RETURNS NULL SELECT ISNULL(@A , @B) -- RETURNS NULL --Step:4 SET @B = ' ' SELECT ISNULL(@B , ' ') -- RETURNS ' ' SELECT ISNULL(@B , NULL) -- RETURNS ' ' SELECT ISNULL(@B , @C) -- RETURNS ' ' SELECT ISNULL(@C , @B) -- RETURNS ' ' SELECT ISNULL(@B , @A) -- RETURNS ' ' --Step:5 SET @A = '1' SELECT ISNULL(@B , @A) -- RETURNS ' ' SELECT ISNULL(@A , @B) -- RETURNS 1 SELECT ISNULL(@C , @A) -- RETURNS 1 END
Subscribe to:
Posts (Atom)