I'd already tried the code that Vragabond sent, but I found that when you use table-layout=fixed, the content of the second cell is clipped when you reduce the browser's width.
So far, I have found a possible solution that could be impractical in some scenarios:
<table style="width: 100%;">...
Ok, but what if I need a table that has several columns containing data, but one of the columns needs to shrink or grow as you resize the browser window. The fixed columns may have numerical data, but the resizable column may have some text of variable length. In that case I'd like to keep the...
About the example mkrausnick, I've already tried that and it doesn't seem to work (at least in IE), because when you shrink the browser's width there is a moment when the width of cell 1 will shrink too.
And you are right jstreich about your comment, the reason is because I've been trying to...
Uppss, you're right:
This is the right html:
<table width="100%">
<tr>
<td width="200" nowrap>cell 1</td>
<td width="100%">cell 2</td>
</tr>
</table>
JOSE CARLOS ARAMBURU
josecarloaa@hotmail.com
Hello,
I want to get a table with two cells, but I'd like to set its width dimensions using styles only:
+++++++++++++++++++++++++++++++++
+ cell 1 + cell 2 +
+ + +
+++++++++++++++++++++++++++++++++
table width = Tw = browser width (100%)
cell1...
To use the framework that asp.net has for forms authentication, you have to do the following:
In web.config:
<authentication mode="Forms" >
<forms name=".CK001" loginUrl="login.aspx" protection="All" path="/" />
</authentication>
<authorization>
<deny users="?" />
<allow...
Ok, thanks, but I think that Response.WriteFile() tries also to create a FileStream object. And there is where it fails.
This is the stack trace:
[IOException: The process cannot access the file "c:\inetpub\wwwroot\bingos\pp007\cache_excel\47522268.xls" because it is being used by another...
well, I already did that, but it didn't work.
To complete the code, this is what I did:
Try
conn.Open()
...
Catch ...
....
Finally
conn.Close()
conn.Dispose()
conn = Nothing
Dim fi As New FileInfo(Request.PhysicalApplicationPath & _
Me._excelFile)
Response.Clear()...
Hi,
I'm using asp.net to generate excel files with data read from another source (Oracle for example). I'm using Oledb data provider for ado.net (.net framework 1.1). When I generate a small excel file everything goes fine, but when I generate large excel files (i.e. 500K), I get the...
Well, in fact, I can prevent caching in the development server, but when I run the application in production server it doesn't work.
This is what I did:
In Page_Load()
Response.Cache.SetCacheability(HttpCacheability.NoCache)
As I said, it works fine in one server but not in the other. Both...
Hi,
I'm using Microsoft Jet and ADO.NET to insert rows into an excel file, something like this:
Dim SQL as String
SQL = "insert into tabla1 (F1,F2,F3,F4) values('a',1,'b',2)"
cmd.CommandText = SQL
cmd.ExecuteNonQuery()
where tabla1 is a named range in the excel file. But I want to do the same...
Hello all,
I wanted to create a typed dataset, I mean, my own dataset class derived from the DataSet class. To do this, I created an asp.net web application using vb.net. Then I right-clicked the project, clicked Add/Add Class and I chose the DataSet template. Then I drag a table from the...
Hi,
I'm trying to use my own http headers for sending information from one web server to another. To do this, the first server uses Response.AddHeader("MYHEADER","MYVALUE") and then I make a redirection to a page on the other server.
In the other server, I am using Request.ServerVariables() to...
Ok, the problem is partially fixed. I changed my code from using Response.Redirect() to Response.WriteFile() and it's working now. But we can't find the real cause of the problem.
I made some tests with the ASPNET account, adding it to the cache_excel folder and to the folder of the web...
The files are deleted but in specific times on the day, not when the file is downloaded.
And I made several test with the IUSR_... account but I think it is not the problem. I'm not sure what the ASPNET account does so I didn't touch it.
But, because of some IE browsers can download the files...
Hi,
I have a real serious problem. I made several web applications with ASP.NET and with a button that let you download an excel file of the information presented on the page.
Everything began to fail on tuesday 17. The option for downloading the excel file is not working. Nothing in the code...
Hi,
Can anybody tell me how to delete a job and create a new one? I have one that it didn't make its work, so I want to delete it and create a new one. My job had to refresh a materialized view every day. Thanks.
Jose Carlos
JOSE CARLOS ARAMBURU
josecarloaa@hotmail.com
Ok thanks for your confirmation, but what can you tell me where to find some sample code? I think I need a little more help.
JOSE CARLOS ARAMBURU
JOSE CARLOS ARAMBURU
josecarloaa@hotmail.com
How can I interchange real-time information between two applications, one in VB and the other in VC++?. Is it possible to use COM to do it?
Thanks for your help.
JOSE CARLOS ARAMBURU
josecarloaa@hotmail.com
Ok, thanks. But there is a bit more. On the reading, nested classes are considered as an alternative approach to the implementation of COM interfaces instead of using multiple inheritance. In fact, they say that multiple inheritance is not appropiate to do this. And I thought it was!. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.