Originally posted by Badamraja on Thursday, April 24, 2008 - 2:48 am:
hi
I have been facing problem with crystal reports in asp.net 2003. What i realised is tht whenever we get print of CR it prints 2 pages. I wanted to know tht how to avoid tht 2nd page to be print. I even tried getting blank crystal report print out though it prints 2 pages with header & footer with URL of page & date.
Any help will be appreciated
Thanks in advanced.
.Net वर काम करणारं कुणी आहे का इथे ? मला थोडी मदत हवी होती .
-------------------------------------------------------------------------
हम ना समझे थे बात इतनी सी ... ख्वाब शिशे के दुनिया पत्थर की....
तू आहेस का डॉट नेट वर काम करणारा ?
-------------------------------------------------------------------------
हम ना समझे थे बात इतनी सी ... ख्वाब शिशे के दुनिया पत्थर की....
Listing 1
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
Finally, paste the following code in the button click event
// First Row Data
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
"a" .ToString()); strHTMLContent.Append(
"b" .ToString()); strHTMLContent.Append(
"c" .ToString());strHTMLContent.Append(""
.ToString());
// Second Row Data
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
"d" .ToString()); strHTMLContent.Append(
"e" .ToString()); strHTMLContent.Append(
"f" .ToString()); strHTMLContent.Append(""
.ToString());
strHTMLContent.Append("".ToString());
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
" Note : This is adynamically generated word document < / p > ".ToString());
HttpContext.Current.Response.Write(strHTMLContent);
HttpContext.Current.Response.End();
HttpContext.Current.Response.Flush();
In the above listing, first the Response object is cleared, charset is set to empty and then Content type is set to MS Word.
Filename is defined for the document which will be generated through this code and this is set to the "Content-Disposition" header of the Response object.
Now to the StringBuilder variable -- it is an HTML representation of the heading and table with three columns and two rows along with column headers and data appended. This content will be displayed in the Word document when it is generated.
Once the contents to be displayed in the document are set, the Response object’s Write, End and Flush methods send the output to the browser, where the user's copy of Microsoft Word will open the content and render it as a Word document.
Run the Web Application
Once the application is run, the following screen is displayed in the browser.
माझ्या मुलाने कॉम्प्युटर टेक्नॉलॉजीमध्ये डिप्लोमा इंजिनियरींग केले असून ह्या वर्षी बी.एस्सी. (आय.टी.) ची परीक्षा दिली आहे. (रिझल्ट अजून लागला नाही.)
त्याला ASP.net & C#.net शिकायचे आहे. ब-याच संस्था भरमसाठ फी आकारुन त्यांच्याकडे ASP.net & C#.net, PHP शिकवित असल्याचे सांगत आहेत. प्रत्यक्ष ह्यातल्या किती संस्था खरंच ह्या languages शिकवितात का? आणि ह्यातल्या किती संस्था authorised आहेत याची माहिती आपले माबोकर कृपया मला देऊ शकतील का? कारण बोगस संस्थांमध्ये प्रवेश घेऊन वेळ, श्रम व पैसा वाया घालविणे आमच्यासारख्या मध्यमवर्गीयांना परवडणारे नाही.
आपण BE E&Tc/Electronics आहात ? किंवा BE-Instrumentation/Mechanical आहात आणि आपण C,C++,C#.net याच SEED मधुन प्रशिक्षण घेतलय. आपण फ्रेशर असलात तरी आमच्याकडे आपल्यासाठी SOFTWARE DEVELOPER हा जॉब आहे. हा जॉब फक्त पुण्यातल्या उमेदवारांसाठी आहे.
Originally posted by Badamraja on Thursday, April 24, 2008 - 2:48 am:
hi
I have been facing problem with crystal reports in asp.net 2003. What i realised is tht whenever we get print of CR it prints 2 pages. I wanted to know tht how to avoid tht 2nd page to be print. I even tried getting blank crystal report print out though it prints 2 pages with header & footer with URL of page & date.
Any help will be appreciated
Thanks in advanced.
Sry

मी आताच पाहीले admin तुमचा post आलेला......
माफ करा याबद्दल मी काही मदत करु शकले नाही.........
.Net वर काम करणारं कुणी आहे का इथे ? मला थोडी मदत हवी होती .
-------------------------------------------------------------------------
हम ना समझे थे बात इतनी सी ... ख्वाब शिशे के दुनिया पत्थर की....
दीप्या तुला नेमकी काय माहिती हवी आहे?
इन जनरल का काही स्पेसिफिक डीटेल्स हवे आहेत ?
०----------------------०
मायक्रोसॉफ्ट सर्च ईंजिन
http://www.bing.com/
अशी कशी थोडी मदत करणार.. प्रोब्लेम शिवाय...
सत्या
केद्या शी बोलणं झालं ग बोल वर 
तू आहेस का डॉट नेट वर काम करणारा ?
-------------------------------------------------------------------------
हम ना समझे थे बात इतनी सी ... ख्वाब शिशे के दुनिया पत्थर की....
asp.net web application मध्ये काही मदत हवी असेल तर जरुर कळवा.
asp.net बद्द्ल काही माहिती हवी असल्यास मीहि मदत करु शकेन, I mean प्रयत्न करेन.
asp.net बद्द्ल काही माहिती हवी असल्यास मीहि मदत करु शकेन.
माझा कामाचा विभाग .NET आहे.
केव्हाही सम्पर्क करा
माझ्या web app मधे एक रिपोर्ट ms-word मधे convert करायचाय....
[im able to convert it into excel but now i want it in word... how do i do???]
हे वापरून पहा.
Listing 1
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
Finally, paste the following code in the button click event
Listing 2
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Charset ="";
HttpContext.Current.Response.ContentType ="application/msword";
string strFileName = "GenerateDocument"+ ".doc";
HttpContext.Current.Response.AddHeader("Content-Disposition",
"inline;filename=" + strFileName);
StringBuilder strHTMLContent = newStringBuilder();
strHTMLContent.Append(
" Document Heading < / h1 > ".ToString());
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
"".ToString());
// Row with Column headers
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
"Column
1 < / b > < / td >".ToString());
strHTMLContent.Append("Column
2 < / b > < / td >".ToString());
strHTMLContent.Append("Column 3
< / td >".ToString());strHTMLContent.Append(" < / tr > ".ToString());
// First Row Data
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
"a" .ToString()); strHTMLContent.Append(
"b" .ToString()); strHTMLContent.Append(
"c" .ToString());strHTMLContent.Append(""
.ToString());
// Second Row Data
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
"d" .ToString()); strHTMLContent.Append(
"e" .ToString()); strHTMLContent.Append(
"f" .ToString()); strHTMLContent.Append(""
.ToString());
strHTMLContent.Append("".ToString());
strHTMLContent.Append("".ToString()); strHTMLContent.Append(
" Note : This is adynamically generated word document < / p > ".ToString());
HttpContext.Current.Response.Write(strHTMLContent);
HttpContext.Current.Response.End();
HttpContext.Current.Response.Flush();
In the above listing, first the Response object is cleared, charset is set to empty and then Content type is set to MS Word.
Filename is defined for the document which will be generated through this code and this is set to the "Content-Disposition" header of the Response object.
Now to the StringBuilder variable -- it is an HTML representation of the heading and table with three columns and two rows along with column headers and data appended. This content will be displayed in the Word document when it is generated.
Once the contents to be displayed in the document are set, the Response object’s Write, End and Flush methods send the output to the browser, where the user's copy of Microsoft Word will open the content and render it as a Word document.
Run the Web Application
Once the application is run, the following screen is displayed in the browser.
माबोकर मंडळी, नमस्कार!
माझ्या मुलाने कॉम्प्युटर टेक्नॉलॉजीमध्ये डिप्लोमा इंजिनियरींग केले असून ह्या वर्षी बी.एस्सी. (आय.टी.) ची परीक्षा दिली आहे. (रिझल्ट अजून लागला नाही.)
त्याला ASP.net & C#.net शिकायचे आहे. ब-याच संस्था भरमसाठ फी आकारुन त्यांच्याकडे ASP.net & C#.net, PHP शिकवित असल्याचे सांगत आहेत. प्रत्यक्ष ह्यातल्या किती संस्था खरंच ह्या languages शिकवितात का? आणि ह्यातल्या किती संस्था authorised आहेत याची माहिती आपले माबोकर कृपया मला देऊ शकतील का? कारण बोगस संस्थांमध्ये प्रवेश घेऊन वेळ, श्रम व पैसा वाया घालविणे आमच्यासारख्या मध्यमवर्गीयांना परवडणारे नाही.
आपण BE E&Tc/Electronics आहात ? किंवा BE-Instrumentation/Mechanical आहात आणि आपण C,C++,C#.net याच SEED मधुन प्रशिक्षण घेतलय. आपण फ्रेशर असलात तरी आमच्याकडे आपल्यासाठी SOFTWARE DEVELOPER हा जॉब आहे. हा जॉब फक्त पुण्यातल्या उमेदवारांसाठी आहे.
इच्छुक असाल तर recruitment@electronicaems.com वर आपला सी.व्ही. पाठवा.
नोकरी.कॉम वरची ही जाहिरात अधिक माहितीसाठी पहा
http://jobsearch.naukri.com/job-listings-Software-Engineer-Pune-Electron...