How to format Excel sheet in ASP.NET & C#

23 views
Skip to first unread message

Priyanka

unread,
Jan 8, 2009, 11:44:50 PM1/8/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
i m exporting a database table to excel. it works fine. But i hav 3
problems:

1.) It opens the excel file when there is no data exists in the table
(because of condition such as: SALARY>2500$ etc).

2.) I m unable to format the cells of excel sheet such as cells's
color, its width etc.

3.) i want the opened sheet Read only (means cant be modified).

plz help me ASAP.

Kabeer

unread,
Jan 24, 2009, 5:32:10 AM1/24/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Reply all
Reply to author
Forward
0 new messages