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 [...]
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 [...]
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 [...]
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” /> [...]
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 [...]
Tuesday, February 19, 2008
View Comments