 |
|
 |
Hi,
I am building a "Content Management Tool" and need a font toolbar to put up on the notepad to apply the font-size,color and style on the text.
Can anybody help in either coding it or arranging some customised font toolbar?
Thanks
Rishabh
Rishabh Tyagi
|
|
|
|
 |
|
 |
Hi,
How to Add a Styles to the Table by Using External Style Sheet ?
any Suggestions is great ,
regards,
D.Anthony
|
|
|
|
 |
|
 |
Hi,
I am taking some data from database, putting it in datagrid and generating an excel in response.
The problem is some column entries are picked up from Text datatype in the database and they have bullets, hyphens in between, So when the excel is generated these characters get corrupted.
I want these characters to be the same in excel as in the database.
The method I am writing now is :
public static void Convert(DataSet dataSet, HttpResponse response)
{
response.Clear();
response.Charset = "";
response.ContentEncoding = Encoding.ASCII;
response.Buffer = true;
string currentDate = String.Format("{0:dd_MM_yyyy}",DateTime.Now);
// response.AddHeader("Content-Disposition", "attachment;filename=" + "AssessSummary"+currentDate+".xls") ;
response.ContentType = "application/vnd.ms-excel";
//EnableViewState = false;
StringWriter stringWriter = new StringWriter();
HtmlTextWriter htmlWriter = new HtmlTextWriter(stringWriter);
DataGrid dataGrid = new DataGrid();
dataGrid.HeaderStyle.Font.Bold = true;
dataGrid.DataSource = dataSet.Tables[0];
dataGrid.DataBind();
// tell the datagrid to render itself to our htmltextwriter
dataGrid.RenderControl(htmlWriter);
response.Write(stringWriter.ToString());
response.End();
}
Please suggest the solution.
Help will be highly appreciated.
Regards,
Sugandh
|
|
|
|
 |
|
 |
Hello, I am trying to open one of my report in konqueror browser on RH 7.3 from jsp in excel format. I have set content type of jsp to application/vnd.ms-excel and I am returning a html table as response. but when I call this jsp from internet explorer on win platform it is displaying report in excel format properly but in konqueror or mozilla on linux it opens open office but displays all the html tags including <body> and </body> So how to make it possible on linux. thanks and regards suneet
|
|
|
|
 |
|
 |
How can I set column style? (For example I need DateTime column)
|
|
|
|
 |
|
 |
I would like to transfere data to excell spread Sheet and draw achart in such spreed sheet then got that chart and manipulate it in my web application .
|
|
|
|
 |
|
 |
It is truly fantastic. I loaded your file on Excel 2000 and Excel 97 and they rendered differently. 97 had a better rendition of the heading. 2000 doesn't like that you have <th> </td> header pairs. 2000 imports fine when I make the pairs <th> </th>.
|
|
|
|
 |
|
 |
Have used this and its great, but my leading zeros are being removed when Excel opens the page. Putting an ' before it doesnt work as the ' is physically placed in the cell as well as the number (which I want in as text & thus the leading zero). Any ideas?
|
|
|
|
 |
|
 |
Try this: <TD STYLE="vnd.ms-excel.numberformat:#,##0.00">
You need to set the TD style, using the attribute above. You can also set the date format using the same attribute (apparently in MS-Excel, dates are numbers... )
HTH, kimjc01
|
|
|
|
 |
|
 |
I need to know how an excel sheet in the browser can be updated or modified
|
|
|
|
 |
|
 |
How do I save this EXCEL result in the server?? any Idea?
I was born intelligent Education ruined me!.
|
|
|
|
 |
|
 |
Hy,
Maybe a little bit off-topic, but this is the nearest article for my problem.
I have an application which collect data and stores them in *.csv files.
I need an Excel macro to draw graphs from csv.
I record these operations, but when I run again the result is not the same. The legend consist title and all of numbers..., style, format also have some problem.
Can you help me, how can I draw, and print nice graphs by Excel, with the least user manipulation, could be a simple macro what does all.
Regards,
Zoltan
|
|
|
|
 |
|
 |
I have a client that wanted to write simple formatted .xls files from a simple C++ app (no COM, ODBC, or anything). This article gave me an 'excel'ent technique for doing this simply!
|
|
|
|
 |
|
 |
Hi, pretty cool indeed...just ripped all ya don't need & excel still uderstants
(Don't edit and save though...looks messy
But do you know how to add another sheet to a workbook using this technique ?
|
|
|
|
 |
|
 |
Any ideas on how to do this?
|
|
|
|
 |
|
 |
I am in a fix here too... any ideas? Do let me know as well.
|
|
|
|
 |
|
 |
Add the <style></style> Tags to the Top of the Stream,ie Above the
like
<style>
.tdtezxt
{
......
......
}
</style>
Regards.
D.Anthony
|
|
|
|
 |
|
 |
I think that is just for styles.
How can we add more worksheets to the XLS?
Thanx a lot!
|
|
|
|
 |
|
 |
Great!!! Daddy (a boss which makes you work 24h/24 ) has been asking for this feature for weeks!!! Just a question: is there a minimum office version required?
Luca Leonardo Scorcia
http://zip.to/kojak (only in Italian)
|
|
|
|
 |
|
 |
Be warned though Excel relies on a mix of the actual localized installed version (french) and the current client locale (english), especially with function names. So =SUM(...) is not really the way to go, unfortunately. In my French Excel, it is =SOMME(...), otherwise it's a syntax error.
By the way, I am pretty sure you could even show charts if you used VML tags (part of Office xml). That would only render on Excel 2000 and higher clients.
She's so dirty, she threw a boomerang and it wouldn't even come back. |
|
|
|
 |
|
 |
Hey Stephane thank you very much for your comments. This is really serious issue to concern to work in different localized versions.
|
|
|
|
 |
|
 |
Out of curiosity - how would you overcome this? Is there a way of using this approach for different target locales or would you need to use different localized versions? I did try searching for information on MSDN but we all know how fruitless that always is.
Save a tapestry, eat a cat!...
|
|
|
|
 |
|
 |
Hi David, Good Morning....
Even i also did searching for a solution to this problem in MSDN but i get nothing useful.
But i hope surely there is way to solve this problem.
hope to find out very soon.
|
|
|
|
 |