Click here to Skip to main content
15,895,799 members
Home / Discussions / C#
   

C#

 
QuestionTo read xml file Pin
P_Elza19-Sep-07 20:22
P_Elza19-Sep-07 20:22 
QuestionHash Table Problem Pin
Nishad8519-Sep-07 20:21
Nishad8519-Sep-07 20:21 
AnswerRe: Hash Table Problem Pin
pmarfleet19-Sep-07 20:36
pmarfleet19-Sep-07 20:36 
GeneralRe: Hash Table Problem Pin
pmarfleet19-Sep-07 20:58
pmarfleet19-Sep-07 20:58 
GeneralRe: Hash Table Problem Pin
lost in transition 20-Sep-07 11:30
lost in transition 20-Sep-07 11:30 
GeneralRe: Hash Table Problem Pin
pmarfleet20-Sep-07 21:14
pmarfleet20-Sep-07 21:14 
QuestionGenerating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 19:48
Charith Jayasundara19-Sep-07 19:48 
AnswerRe: Generating Excel reports by using .Net Pin
pmarfleet19-Sep-07 20:34
pmarfleet19-Sep-07 20:34 
csecharithjayasshc wrote:
First Question:
Can I use all the excel functions with .Net ?
Do you have any good samples ?


Do you need to include functions in your Excel spreadsheet? Or do you just need to output a set of literal values to it? If you just need to output data to your spreadsheet you should look at using the ODBC/Jet driver. Google will provide you with plenty of samples. If you need to create functions for particular cells, then you will need to use the Excel automation library. Again, Google should be your starting point.

csecharithjayasshc wrote:
Second Question:
This is not a windows application, this is a web server. Can I generate excel report by using .Net web application?


Yes you can, but of the two options I mentioned above I would only recommend using the ODBC/Jet solution from a web application. Excel has a single-threaded architecture, so the automation library is not suited for use within a server application.

Regards

Paul
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 20:43
Charith Jayasundara19-Sep-07 20:43 
GeneralRe: Generating Excel reports by using .Net Pin
pmarfleet19-Sep-07 20:56
pmarfleet19-Sep-07 20:56 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 21:13
Charith Jayasundara19-Sep-07 21:13 
GeneralRe: Generating Excel reports by using .Net Pin
pmarfleet19-Sep-07 23:13
pmarfleet19-Sep-07 23:13 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 23:36
Charith Jayasundara19-Sep-07 23:36 
GeneralRe: Generating Excel reports by using .Net Pin
pmarfleet20-Sep-07 1:48
pmarfleet20-Sep-07 1:48 
AnswerRe: Generating Excel reports by using .Net Pin
Urs Enzler19-Sep-07 22:04
Urs Enzler19-Sep-07 22:04 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 22:45
Charith Jayasundara19-Sep-07 22:45 
AnswerRe: Generating Excel reports by using .Net Pin
eoe19-Sep-07 22:17
eoe19-Sep-07 22:17 
QuestionHow to get now month? Pin
somsakchoto19-Sep-07 19:29
somsakchoto19-Sep-07 19:29 
AnswerRe: How to get now month? Pin
JoeSharp19-Sep-07 19:34
JoeSharp19-Sep-07 19:34 
QuestionSearching a Record Pin
Imranlogi19-Sep-07 19:22
Imranlogi19-Sep-07 19:22 
AnswerRe: Searching a Record Pin
lost in transition 20-Sep-07 11:36
lost in transition 20-Sep-07 11:36 
QuestionPass-Thru Authentication Pin
classNoob19-Sep-07 14:17
classNoob19-Sep-07 14:17 
QuestionWorking with a strange data type Pin
Klazen19-Sep-07 13:04
Klazen19-Sep-07 13:04 
AnswerRe: Working with a strange data type [modified] Pin
ChrisKo19-Sep-07 13:45
ChrisKo19-Sep-07 13:45 
GeneralRe: Working with a strange data type Pin
Klazen19-Sep-07 15:37
Klazen19-Sep-07 15:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.