Click here to Skip to main content
15,892,674 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Table Controls clear Pin
N a v a n e e t h12-Jun-09 2:50
N a v a n e e t h12-Jun-09 2:50 
GeneralRe: Table Controls clear Pin
saanj12-Jun-09 2:53
saanj12-Jun-09 2:53 
QuestionASP.Net Server control Pin
Amit Patel198512-Jun-09 1:55
Amit Patel198512-Jun-09 1:55 
AnswerRe: ASP.Net Server control Pin
saanj12-Jun-09 2:19
saanj12-Jun-09 2:19 
AnswerRe: ASP.Net Server control Pin
Abhijit Jana12-Jun-09 3:20
professionalAbhijit Jana12-Jun-09 3:20 
QuestionGenerating word document and saving to a particular location in c#.net Pin
YazhiniP12-Jun-09 1:04
YazhiniP12-Jun-09 1:04 
AnswerRe: Generating word document and saving to a particular location in c#.net Pin
Christian Graus12-Jun-09 1:15
protectorChristian Graus12-Jun-09 1:15 
AnswerRe: Generating word document and saving to a particular location in c#.net Pin
YazhiniP12-Jun-09 1:47
YazhiniP12-Jun-09 1:47 
ok...I dropped the idea of using Response object.I tried using FileStream and StreamWriter.but,how to pass the GridView object to the StreamWriter?

            FileStream fs = File.Create(path);
            fs.Close();
            StreamWriter sw = new StreamWriter(path);
            StringWriter sWriter = new StringWriter();
            HtmlTextWriter htwWriter = new HtmlTextWriter(sWriter);
            gvRCA.RenderControl(htwWriter);
            sw.Write(htwWriter);
            sw.Close();

The above code writes only System.Web.UI.HtmlTextWriter to the word file.
I am beginner in .Net and i dont know a lot.
Do u have any idea on how to do this?.
Thanks in advance... Smile | :)

Yazhini

Questionerror is \\The parameterized query '(@img_type nvarchar(4000),@img_stream nvarchar(4000))INSERT INTO' expects the parameter '@img_type', which was not supplied. Pin
jigneshp2512-Jun-09 1:03
jigneshp2512-Jun-09 1:03 
AnswerRe: error is \\The parameterized query '(@img_type nvarchar(4000),@img_stream nvarchar(4000))INSERT INTO' expects the parameter '@img_type', which was not supplied. Pin
Christian Graus12-Jun-09 1:16
protectorChristian Graus12-Jun-09 1:16 
AnswerRe: error is \\The parameterized query '(@img_type nvarchar(4000),@img_stream nvarchar(4000))INSERT INTO' expects the parameter '@img_type', which was not supplied. Pin
Abhijit Jana12-Jun-09 1:20
professionalAbhijit Jana12-Jun-09 1:20 
QuestionObject reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
KhandelwalA12-Jun-09 0:56
KhandelwalA12-Jun-09 0:56 
AnswerRe: Object reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
Christian Graus12-Jun-09 1:17
protectorChristian Graus12-Jun-09 1:17 
AnswerRe: Object reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
saanj12-Jun-09 1:25
saanj12-Jun-09 1:25 
AnswerRe: Object reference not set to an instance of an object. (Use the New keyword to create object instance) Pin
Abhijit Jana12-Jun-09 1:40
professionalAbhijit Jana12-Jun-09 1:40 
QuestionHow to Add the BindingManager to the tool box in asp.net if we can Pin
govindi unal11-Jun-09 23:26
govindi unal11-Jun-09 23:26 
QuestionMost Visited Pin
Ramkumar_S11-Jun-09 23:24
Ramkumar_S11-Jun-09 23:24 
AnswerRe: Most Visited Pin
Christian Graus11-Jun-09 23:45
protectorChristian Graus11-Jun-09 23:45 
AnswerRe: Most Visited Pin
saanj12-Jun-09 0:20
saanj12-Jun-09 0:20 
AnswerRe: Most Visited Pin
Colin Angus Mackay12-Jun-09 0:39
Colin Angus Mackay12-Jun-09 0:39 
Questionproblem in alert Pin
janani1311-Jun-09 21:39
janani1311-Jun-09 21:39 
AnswerRe: problem in alert Pin
Aman Bhullar11-Jun-09 21:40
Aman Bhullar11-Jun-09 21:40 
AnswerRe: problem in alert Pin
Blue_Boy11-Jun-09 21:54
Blue_Boy11-Jun-09 21:54 
GeneralRe: problem in alert Pin
janani1311-Jun-09 22:01
janani1311-Jun-09 22:01 
GeneralRe: problem in alert Pin
Blue_Boy11-Jun-09 22:14
Blue_Boy11-Jun-09 22:14 

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.