HI Arindam..
Ki hall...
can u pls send me the coding...abt data saving in Excel..
Thanking you
Arindam <[EMAIL PROTECTED]> wrote:
Hi ,
All the questions i did asked are solved...but wondering still i dint received
any answer from this group,
Arindam wrote:
Hi
I am in a problem if anyone kindly solve the issue,
i will be grateful to him/her.
While converting a repeater into a excel sheet , facing a few probem
Problem is that the entire page (with all control ) is being rendered and
coming into excel-sheet.
which i dont want. i need only the repeater to be rendered into my excel sheet.
Is very Urgent ....
if i get a proper solution ...will be great ..
Thnaks
code is given bellow.
AC
private void WordReport(string ReportName, Control objControl)
{
string objRptName = ReportName == string.Empty ? "Report 1" : ReportName ;
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
Response.AddHeader("content-disposition",
"attachment;filename="+objRptName+".doc");
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = "application/vnd.msword";
StringWriter _strWriter1=new StringWriter();
HtmlTextWriter _HtmlTxt1=new HtmlTextWriter(_strWriter1);
objControl.RenderControl(_HtmlTxt1);
Response.Write(_strWriter1.ToString() );
//Response.Write(_strWriter1.ToString());
}
Arindam Chakraborty
Software Developer,
Mumbai,
India
---------------------------------
Yahoo! India Matrimony: Find your partner now.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
Arindam Chakraborty
Software Developer,
Mumbai,
India
---------------------------------
Yahoo! India Matrimony: Find your partner now.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
---------------------------------
Yahoo! India Matrimony: Find your partner now.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/