A A
RSS

Tag Archive | ".net"

Improve LINQ Query Performance

Tuesday, February 19, 2008

View Comments

I was writing a small utility for Outlook 2007 and was using LINQ to query Outlook Tasks.  This query was nested within another query.  While debugging, I realized that looping though the query results in my For Each loop was taking too long. If you have read anything about LINQ, I am sure you already [...]

Fame, Fortune and WCF

Friday, December 28, 2007

Comments Off

I need your help to bring me fame and fortune. I wrote an article at code project which was entered for a competition.  The winner gets $10k.  Can you please check it out at http://www.codeproject.com/KB/WCF/myfeedreader.aspx and if you like it, please vote for it.  I can’t win if you don’t vote.  Voting will be closed [...]

Calling the WordPress XMLRPC API from VB.net

Tuesday, July 31, 2007

View Comments

As an example, I will call the getCategories API method. Add a reference to the XML-RPC.net library. Create a struct for the return result Public Structure category Public categoryId As Object Public parentId As Object Public description As Object Public categoryName As Object Public htmlUrl As Object Public rssUrl As Object End Structure Create the [...]

DataFormatString not working with date format in GridView

Tuesday, May 22, 2007

Comments Off

I set the DataFormatString to {0:d} and also tried {0:MM-dd-yyyy} as several forums and articles suggested; but it still wouldn’t work and kept on displaying the entire string including the time. It turns out, all I had to do is add HtmlEncode=”false”. <asp:GridView ID=”gridItems” runat=”server” AutoGenerateColumns=”False” DataKeyNames=”ItemId” DataSourceID=”MyItemsDataSource” Width=”100%”> <Columns> <asp:BoundField DataField=”Title” HeaderText=”Title” SortExpression=”Title” /> [...]

Flip a SQL table around

Tuesday, April 10, 2007

Comments Off

I have a sql table that looks like this Id Name Value 1 First name Bob 1 Last name Johns 2 First name John 2 Last name Smith 3 First name Bill 3 Last name Gates I want to return the data like this: Id First name Last name 1 Bob Johns 2 John Smith [...]

.net AJAX ASP.NET ASP.NET MVC aspnetmvc Blogging Books C# database di Funny Interesting ioc iPhone jquery Lifestyle LINQ Mac mvc mvcbook MVC Book ninject Open Source php Productivity Programming Random ror ruby Silverlight Software SQL Startup tdd Testing tips Tips & Tricks Uncategorized vb.net Video Visual Studio Web Design Web Dev wordpress Yonkly
Advertise Here

What I'm Doing...

Recent Posts

Yonkly Open Source

Sign up for my newsletter




* = required field

powered by MailChimp!

megree Widget

Apparently, I am connected to Obama. Check this out...
My path to Obama

Cyber Identity