self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"TITLE GOES HERE" style:UIBarButtonItemStyleBordered target:self action:@selector(functionToCallOnClick)];
I have created this blog to help programmers who have just started their career thats why I have written all the tutorials from practical approach rather then theoretical. If anyone has any query related to programming don't hesitate to ask. My contact information is in my profile. Also I would like to thank all the websites/Individual(s) from whom I gathered the material.
Monday, November 28, 2011
iPhone – Set or change title of UIBarButtonItem
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"TITLE GOES HERE" style:UIBarButtonItemStyleBordered target:self action:@selector(functionToCallOnClick)];
Posted by
Zeeshan Ahmed Khan
at
11/28/2011 11:10:00 AM
Labels:
bar button,
cocoa,
ipad,
iphone,
ipod,
ipod touch,
Navigationbar,
navigationitem,
objective-c,
objectiveC,
title,
UIbarButtonItem,
UINavigationbar,
UINavigationItem,
xcode
Thursday, November 17, 2011
SQL - Get All Columns in a Table That Contains NULL
declare @col varchar(255), @cmd varchar(max)
DECLARE getinfo cursor for
SELECT c.name FROM sys.tables t JOIN sys.columns c ON t.Object_ID = c.Object_ID
WHERE t.Name = 'ADDR_Address'
OPEN getinfo
FETCH NEXT FROM getinfo into @col
WHILE @@FETCH_STATUS = 0
BEGIN
SELECT @cmd = 'IF NOT EXISTS (SELECT top 1 * FROM ADDR_Address WHERE [' + @col + '] IS NOT NULL) BEGIN print ''' + @col + ''' end'
EXEC(@cmd)
FETCH NEXT FROM getinfo into @col
END
CLOSE getinfo
DEALLOCATE getinfo
Where 'ADDR_Address' is table name
Posted by
Zeeshan Ahmed Khan
at
11/17/2011 04:36:00 PM
Labels:
columns,
list,
ms sql-server,
NULL,
server,
sql,
sql server,
sql-server,
table
Subscribe to:
Posts (Atom)