DotNetShoutout - Stories tagged with C#
2
Shouts

Upload Read Excel File With C# VB.NET In Asp.Net

posted by amitjainamitjain 530 days, 8 hours, 35 minutes ago
Tuesday, December 13, 2011 5:37:40 AM GMT
Upload and Read Excel File In Asp.Net In this post i'm explaining how to upload and read excel file data using fileUpload and dispplay in gridview using C# and VB.NET in asp.net. (more)
category: Web Dev | clicked: 6 | comment | | source: csharpdotnetfreak.blogspot.com
tags: FileUpload, C#, VB.NET, excel file, ASP.NET
4
Shouts

C# Fundamentals: Returning Zero or One Item As IEnumerable

published 532 days, 2 hours ago posted by BlackRabbitCoderBlackRabbitCoder 534 days, 13 hours, 36 minutes ago
Sunday, December 11, 2011 12:12:15 PM GMT Friday, December 09, 2011 12:36:09 AM GMT
There are times when we are writing a method that returns a sequence of items, that it occasionally becomes necessary in base-class, interface implementation, error, or default conditions to return a sequence of only one or even zero items. There are many ways to do this, of course, which begs the question of which way is best, in terms of readability, maintainability, and performance. (more)
category: Web Dev | clicked: 21 | 1 comment | | source: blackrabbitcoder.net
tags: .NET, C#, fundamentals, IEnumerable, CSharp
2
Shouts

Learning to cook with WP 7.5 data (a book review)

published 532 days, 2 hours ago posted by http://timdams.wordpress.com/http://timdams.wordpress.com/ 534 days, 22 hours, 23 minutes ago
Sunday, December 11, 2011 12:12:15 PM GMT Thursday, December 08, 2011 3:49:48 PM GMT
Recently I received a review copy of the “Windows Phone 7.5 Data Cookbook” by Ramesh Thalli from Packt Publishing (ISBN 978-1-84969-122-2). This book, divided in 8 chapters, shows how simple it is to write data-driven programs WP7 applications. What follows is an extensive review of this book. (more)
category: Metro | clicked: 20 | comment | | source: timdams.wordpress.com
tags: Review, WP7, C#, Book Review
2
Shouts

Creating a WP7 app: Listbox items of the same width

published 532 days, 2 hours ago posted by http://timdams.wordpress.com/http://timdams.wordpress.com/ 534 days, 22 hours, 26 minutes ago
Sunday, December 11, 2011 12:12:15 PM GMT Thursday, December 08, 2011 3:46:20 PM GMT
I love databound listboxes in WP7. I do. I really do. However, every time I come to the part of making a nice template for each item (i.e. shiny ugly orange border, etc.) I fail in having items of equal size. How can we solve this?Read on! (more)
category: Metro | clicked: 68 | 1 comment | | source: timdams.wordpress.com
tags: WP7, C#, wp7dev, XAML, ListBox
2
Shouts

Efficient Use of Try Catch Block | dotnetExpertGuide.com

posted by nandipnandip 537 days, 4 hours, 35 minutes ago
Tuesday, December 06, 2011 9:37:50 AM GMT
In all application, whether it is web or desktop, whether it is built in .NET or JAVA or any other language, we all are using (and we should use if we are not!) Try Catch Block or similar available mechanism to handle the exception. But recently while I was working on one application, I observed that Try Catch Block was also used to make decision!!! As Try Catch mechanism is provided to handle exception and hence it is heavy operation and utilizes more CPU, we should not use Try Catch for such decision ... (more)
category: Web Dev | clicked: 10 | comment | | source: www.dotnetexpertguide.com
tags: Programming, C#, ASP .NET
5
Shouts

Dean Hume - MVC and HTML5 Web Workers

published 535 days, 9 hours, 46 minutes ago posted by deanomachinodeanomachino 537 days, 5 hours, 41 minutes ago
Thursday, December 08, 2011 4:26:26 AM GMT Tuesday, December 06, 2011 8:32:08 AM GMT
Coding Tips & TricksHomeAboutContactCV MVC and HTML5 Web Workers Tweet HTML5 Web Workers are cool. As a developer that spends most of his time working with server side code, I like to think of Web Workers as .net's System.Threading for the front end. Basically, Web Workers allow you to run client side scripts without interrupting the page or any other scripts that are currently running. They are basically an API specification that lets you create background JavaScript threads to process... (more)
category: Web Dev | clicked: 28 | comment | | source: deanhume.com
tags: C#, Web workers, HTML 5, MVC
2
Shouts

C#/.NET Fundamentals: Safely and Efficiently Raising Events

posted by BlackRabbitCoderBlackRabbitCoder 541 days, 10 hours, 34 minutes ago
Friday, December 02, 2011 3:39:04 AM GMT
A couple of posts ago, I discussed the EventHandler (more)
category: Web Dev | clicked: 6 | 1 comment | | source: www.blackrabbitcoder.net
tags: .NET, C#, fundamentals, delegates, Events, CSharp
2
Shouts

ResourceManager with an External Assembly DLL

posted by lenielleniel 541 days, 17 hours, 43 minutes ago
Thursday, December 01, 2011 8:29:41 PM GMT
As a software developer I like to work with everything that is related to software Localization known as L10n. Besides being a developer working defining the architecture that will be adopted in a given project and doing the hard “FUN” work writing the code, I’m also a translator. One thing I've been trying to do recently is to be able to use localized strings that are present in an external assembly [ DLL ] using the ResourceManager object. Read on... (more)
category: Web Dev | clicked: 13 | comment | | source: www.leniel.net
tags: ASP.NET MVC, Programming, C#, ResourceManager, dll, translation, Razor, Helpers, L10n, resx, resource files, Localization, ASP.NET
4
Shouts

Task Cancellation

published 541 days, 1 minute ago posted by BlackWaspBlackWasp 547 days, 12 hours, 44 minutes ago
Friday, December 02, 2011 2:11:13 PM GMT Saturday, November 26, 2011 1:28:28 AM GMT
The fourteenth part of the Parallel Programming in .NET tutorial examines how parallel tasks are cancelled. This includes stopping single tasks, co-ordinating the cancellation of multiple tasks and dealing with tasks that are cancelled before they start. (more)
category: How To | clicked: 20 | 1 comment | | source: www.blackwasp.co.uk
tags: C#, parallel-programming
2
Shouts

How to perform Asynchronous Processing in .Net

published 547 days, 9 hours, 47 minutes ago posted by dotnetfundadotnetfunda 548 days, 9 hours, 17 minutes ago
Saturday, November 26, 2011 4:25:17 AM GMT Friday, November 25, 2011 4:56:04 AM GMT
Hi, today we will demonstrate asynchronous processing using delegates and events. One might think what the need of doing work asynchronously in windows environment. Yes, it is required and thought following sample example we will substantiate this. (more)
category: Web Dev | clicked: 43 | 1 comment | | source: www.dotnetfunda.com
tags: C#
3
Shouts

C#/.NET Little Wonders: The Predicate, Comparison, and Converter Generic Delegates

published 547 days, 9 hours, 47 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 548 days, 10 hours, 58 minutes ago
Saturday, November 26, 2011 4:25:17 AM GMT Friday, November 25, 2011 3:14:24 AM GMT
In the last three weeks, we examined the Action family of delegates (and delegates in general), the Func family of delegates, and the EventHandler family of delegates and how they can be used to support generic, reusable algorithms and classes. This week I will be completing my series on the generic delegates in the .NET Framework with a discussion of three more, somewhat less used, generic delegates: Predicate (more)
category: Web Dev | clicked: 33 | 2 comments | | source: blackrabbitcoder.net
tags: .NET, Generics, Little Wonders, C#, delegates, CSharp
2
Shouts

Rewriting an if

published 547 days, 9 hours, 47 minutes ago posted by http://jclaes.blogspot.com/http://jclaes.blogspot.com/ 548 days, 17 hours, 53 minutes ago
Saturday, November 26, 2011 4:25:17 AM GMT Thursday, November 24, 2011 8:19:48 PM GMT
Rethinking the way of rewriting an if with multiple similar conditions. (more)
category: Architecture | clicked: 51 | 1 comment | | source: jclaes.blogspot.com
tags: if-statement, Refactoring, C#
3
Shouts

C#/.NET Little Wonders: The Generic Func Delegates

published 560 days, 7 hours, 46 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 562 days, 13 hours, 48 minutes ago
Sunday, November 13, 2011 6:26:32 AM GMT Friday, November 11, 2011 12:24:49 AM GMT
Back in one of my three original “Little Wonders” Trilogy of posts, I had listed generic delegates as one of the Little Wonders of .NET. Later, someone posted a comment saying said that they would love more detail on the generic delegates and their uses, since my original entry just scratched the surface of them. Last week, I began our look at some of the handy generic delegates built into .NET with a description of delegates in general, and the Action family of delegates. For this week, I’ll launch i... (more)
category: Web Dev | clicked: 16 | 1 comment | | source: blackrabbitcoder.net
tags: .NET, Little Wonders, C#, delegates, Func, CSharp
2
Shouts

Tree Graph Ordered Traversal Level by Level in C#

published 562 days, 11 hours, 59 minutes ago posted by lenielleniel 563 days, 1 hour, 14 minutes ago
Friday, November 11, 2011 2:13:31 AM GMT Thursday, November 10, 2011 12:58:48 PM GMT
Recently as part of a job interview process, I was asked to solve some programming problems. This post shows the solution for one of such problems. Consider a tree of integers. Knowing that its root node is 0, and given its adjacency list as a two dimensional array of integers, write a function that prints out the elements/nodes in order/level by level starting from the root. That is, the root is printed in the first line, elements that can be reached from the root by a path of distance 1 in the second l... (more)
category: How To | clicked: 12 | 1 comment | | source: www.leniel.net
tags: data structures, algorithms, Programming, C#, graph, Parallel Programming, job interview, traversal, Tree, queue
3
Shouts

Dean Hume - Web.config Transformation Features in Visual Studio 2010

published 560 days, 7 hours, 46 minutes ago posted by deanomachinodeanomachino 564 days, 5 hours, 1 minute ago
Sunday, November 13, 2011 6:26:32 AM GMT Wednesday, November 09, 2011 9:11:14 AM GMT
Coding Tips & TricksHomeAboutContactCV Web.config Transformation Features in Visual Studio 2010 Tweet When developing applications in Visual Studio, I normally pay a lot of attention to my Solution Explorer. However, I recently spotted something that I didn't notice before. Well, at least something that I haven't paid attention to! In Visual Studio 2010, if you click on the Web.config file and expand the node - there are two extra files - Web.debug.config and Web.Release.config. Now if y... (more)
category: Web Dev | clicked: 53 | 1 comment | | source: deanhume.com
tags: C#, web.config, Visual Studio 2010
3
Shouts

When it Comes to Asp.Net: Use Membership for user management - Basics

posted by ashishsarda99ashishsarda99 565 days, 9 hours, 50 minutes ago
Tuesday, November 08, 2011 4:22:54 AM GMT
Add Update Delete in Gridview Asp.netThis article is about simple way to Add Update and Delete records using asp.net GridView using Dataset or Datatable. We shall update the dat... (more)
category: Web Dev | clicked: 1 | 1 comment | | source: aspdotnetmatters.blogspot.com
tags: SqlMembershipProvider, C#, ASP.NET 4.0, C#.NET, C#.NET 4.0, User Management, ASP.NET 4, Membership
4
Shouts

A Generic Circular Buffer (.NET)

published 563 days, 23 hours, 22 minutes ago posted by BlackWaspBlackWasp 565 days, 13 hours, 53 minutes ago
Wednesday, November 09, 2011 2:50:27 PM GMT Tuesday, November 08, 2011 12:19:36 AM GMT
A circular buffer is a type of fixed size, first in, first out queue. The spaces in the buffer can be thought of as connected in a ring. Items in the buffer are never moved. Instead, changeable pointers are used to identify the head and tail of the queue. (more)
category: How To | clicked: 23 | 2 comments | | source: www.blackwasp.co.uk
tags: data structures, algorithms, C#
7
Shouts

Web.NET: Using Anonymous Types Outside of Local Context with Dynamic Keyword

published 563 days, 23 hours, 22 minutes ago posted by http://blog.turlov.com/http://blog.turlov.com/ 567 days, 16 hours, 4 minutes ago
Wednesday, November 09, 2011 2:50:27 PM GMT Saturday, November 05, 2011 10:08:15 PM GMT
Anonymous types that have been introduced in C# with .NET 3.5 is a convenient and powerful feature and can be used to simplify and speed up development without sacrificing code quality or violating coding standards. Perhaps one most widely known application is to use anonymous types in a context of LINQ expressions since that is mentioned on MSDN in most of the anonymous types related examples. Such strong association between anonymous types and LINQ though being true creates a wrong impression of that L... (more)
category: Web Dev | clicked: 22 | 1 comment | | source: blog.turlov.com
tags: dynamic, C#, anonymous types
4
Shouts

C#/.NET Little Wonders: The Generic Action Delegates

posted by BlackRabbitCoderBlackRabbitCoder 569 days, 12 hours, 54 minutes ago
Friday, November 04, 2011 1:18:52 AM GMT
Back in one of my three original “Little Wonders” Trilogy of posts, I had listed generic delegates as one of the Little Wonders of .NET. Later, someone posted a comment saying said that they would love more detail on the generic delegates and their uses, since my original entry just scratched the surface on them. So over the next few weeks, I’ll be looking at some of the handy generic delegates built into .NET. For this week, I’ll give a quick overview of delegates and their usefulness. Then I’ll lau... (more)
category: Web Dev | clicked: 3 | comment | | source: www.blackrabbitcoder.net
tags: .NET, Little Wonders, C#, delegates, CSharp, action
3
Shouts

How to Dynamically Add Controls to Windows Phone Page ?

published 570 days, 12 hours, 3 minutes ago posted by http://isenthil.myopenid.com/http://isenthil.myopenid.com/ 572 days, 8 hours, 25 minutes ago
Thursday, November 03, 2011 2:09:25 AM GMT Tuesday, November 01, 2011 5:47:10 AM GMT
Some times , we may need to create controls on the Windows Phone Page dynamically . In this example , i use the container Stack Panel and add the controls to the Stack Panel . The Stack panel in Windows Phone is a control used to stack controls on each other. Create a new Windows Phone 7 Silverlight Application and Delete the Default (more)
category: Metro | clicked: 5 | comment | | source: windowsphonerocks.com
tags: C#, Windows Phone
Previous 1 2 3 4 5 6 7 8 9 10 ... 49 50 Next