what the deuce....?
On 2 Jan, 19:49, "Kailash Sahoo" <[email protected]> wrote: > *Hello Friend** *** > > *Hope you are Doing Great* > > *"Wish U all a Very Very happy & Joyful New Year"*** > > Kindly find the hot list below of my consultants who are available > immediately and Please let me know if you get any requirements. > > *Kindly add my email address to your hotmailing list**.* > > *NAME* > > *SKILL SET* > > *EXP* > > *STATUS* > > *AVAILABILITY* > > *CURRENT LOCATION* > > *LOCATION PREFERENCE* > > *MAHIPAL* > > *COGNOS* > > *8 YEARS* > > *H1* > > *IMMEDIATE* > > *DE* > > *OPEN* > > *GAGAN GANDRA* > > *SAP BW* > > *7+ YEARS* > > *H1* > > *IMMEDIATE* > > *DE* > > *OPEN* > > *SIVA SABBINENI* > > *COGNOS* > > *8 YEARS* > > *H1* > > *IMMEDIATE* > > *DE* > > *OPEN* > > *NARESH VOOTA* > > *JAVA* > > *6+ YEARS* > > *H1* > > *IMMEDIATE* > > *TX* > > *OPEN* > > *SRIDEVI* > > *JAVA* > > *6+ YEARS* > > *H1* > > *IMMEDIATE* > > *DE* > > *OPEN* > > *ASHOK MANNEPALLI* > > *COGNOS* > > *7+ YRS* > > *H1* > > *IMMEDIATE* > > *SACRAMENTO**,CA* > > *OPEN* > > *JESUDAS* > > *COGNOS* > > *8 YRS* > > *H1* > > *IMMEDIATE * > > *DE * > > *open * > > *PRASHANT RUPANI* > > *COGNOS* > > *7YRS* > > *H1* > > *IMMEDIATE* > > *DE* > > *OPEN* > > *KRISHNA** **MOHAN ARRA* > > *.NET* > > *6+ YEARS* > > *H1* > > *IMMEDIATE* > > *SOUTH DAKOTA* > > *OPEN* > > *KANTHI KIRAN* > > *VB.NET* > > *7 YRS* > > *H1* > > *2 WEEKS* > > *NC* > > *OPEN* > > *VENKAT* > > *QA* > > *7 YRS* > > *H1* > > *IMMEDIATE* > > *SALT LAKE CITY**, UTAH* > > *OPEN* > > *JYOTI BHAT* > > *TECHNICAL WRITER* > > *6 YRS* > > *H1* > > *IMMEDIATE* > > *CT* > > *NY, CT* > > *For More Information Please Feel Free to Contact Me at * > > *3023552331* > > *6092492475* > > *3022942385*** > > * **Your early response will be highly appreciated* > > *Thanks for your time & patient * > > *Thanks & Regards* > > *KAILASH**-Technical Recruiter** ** > **Vensoft LLC > "BEST RESOURCE IN COGNOS" > **[email protected]* <[email protected]>* > **[email protected]* <[email protected]>* > **[email protected]* <[email protected]> > > *yahoo IM - kailash.vensoftsol* > > *Gtalk - kailash.vensoftsol* > > *Contact:- 302-294-2385** *** > > * * > > > > On Fri, Jan 2, 2009 at 11:52 PM, okey <[email protected]> wrote: > > > I am exporting a gridview to Excel using > > > var Response = HttpContext.Current.Response; > > string attachment = String.Format("attachment; filename= > > {0}.xls", FileName.Replace(" ", string.Empty)); > > Response.ClearContent(); > > Response.AddHeader("content-disposition", attachment); > > Response.ContentType = "application/ms-excel"; > > var sw = new StringWriter(); > > var htw = new HtmlTextWriter(sw); > > gv.RenderControl(htw); > > Response.Write(sw.ToString()); > > Response.End(); > > > The string/file which Excel opens contains a table style element that > > sets the background to black. I want that white instead. I tried > > this at the top of the above snip to try and locate the html element: > > > for (int i = 0; i < gv.Controls.Count; i++) > > { > > var type = gv.Controls[i].GetType(); > > if (type == typeof(Table)) > > { > > > but never get a hit. Do I have to manipulate the html string myself, > > find <table style..... and change the background value? (I dumped > > the file and <table style ... is there) > > > I also tried typeOf(System.Web.UI.WebControls.ChildTable), the closest > > thing I could find to table, but I get an error: > > System.Web.UI.WebControls.ChildTable' is inaccessible due to its > > protection level > > > Thanks.- Hide quoted text - > > - Show quoted text -
