Saturday, June 27, 2009

How to declare a method in an Interface?

To declare method in an interface, you just need to write the definition of the method like below.
void ProcessMyData(int id); string GetMyName(int id);
There is no need of writing the modifier as by default all methods in the interface is public.

Read more at http://www.dotnetfunda.com/interview/exam546-how-to-declare-a-method-in-an-interface.aspx

Author: Raja

Read data from txt or csv and display in a gridview

Hi, i m new to asp.net and vb, looking for help... in my project 1st, it will let users to upload a file in .txt or .csv ans store the file in a folder. (done) 2nd, read the data in the .txt or .csv and display it in a gridview. <<<problem i do the project in both asp.net and vb sample .txt or .csv file: item price qty aaa 23.9 10 bbb 45.3 9 ccc 23.0 9 Thanks.

Read more at http://www.dotnetfunda.com//forums/thread594-read-data-from-txt-or-csv-and-display-in-a-gridview.aspx

Author: Gee

Website vs Web Application - Embedded resources

In this small article, I am going to show the use of Build Action and Copy to Output Directory property of a file inside the class library and how it behaves differently in Web Site and Web Application projects.

Read more at http://www.dotnetfunda.com//articles/article435-website-vs-web-application--embedded-resources.aspx

Author: SheoNarayan

Friday, June 26, 2009

Simplest Method Export GridviewData to Excelsheet using ASP.Net

In this Article you can Know how to Export a Gridview Data to Excel sheet using IO strems.

Read more at http://www.dotnetfunda.com/articles/article429.aspx

Author: Syedshakeer

SilverLight FAQ's - Part 3

This article discusses 12 FAQ's which revolve around bindings, layouts, consuming WCF services and how to connect to database through silver light.

Read more at http://www.dotnetfunda.com/articles/article431.aspx

Author: Questpond

How to Rebuilt all indexes in all Databases in SQL 2000/2005

This Article will Show you , how to rebuild all the indexes in table in all the Databases in SQL 2005/200

Read more at http://www.dotnetfunda.com/articles/article432.aspx

Author: Vuyiswamb

7 simple steps to connect SQL Server using WCF from SilverLight

In this article we will look how we can do database operations using SilverLight. We will first try to understand why we cannot call ADO.NET directly from a silverlight application and then we will browse through 7 steps which we need to follow to do database operation from silverlight.

Read more at http://www.dotnetfunda.com/articles/article427.aspx

Author: Questpond