|
html and dhtml can't do it, you need to use an actual web development platform to read an Excel file.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi
I am trying to consume from a 3rd party web service but I get the following error when I try to run a certain method in the web service I get the error "The request failed with an empty response." Does anybody know what this means? My first guess would be that the web method has thrown some exception but there are no details for the exception. Has anybody seen this before?
Thanks
Scott
There are 10 types of people in the world, those who understand binary and those who dont.
|
|
|
|
|
It means that there is something wrong with the method and it returns an empty response instread of a proper SOAP message.
If there was an exception, the method should return information of the exception in a SOAP error message.
---
single minded; short sighted; long gone;
|
|
|
|
|
I tried to generate report in Excel from Grid View using this Code in a Button Click:
Response.Clear();
Response.AddHeader("content-isposition", "attachment;filename=FileName.xls");
Response.Charset = "";
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter StringWriter = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter HtmlTextriter = new System.Web.UI.HtmlTextWriter(StringWriter);
GridView1.RenderControl(HtmlTextriter);
Response.Write(StringWriter.ToString());
Response.End();
But I get the error specifying:
System.Web.HttpException: Control 'ctl00_ContentPlaceHolder1_GridView1' of type 'GridView' must be placed inside a form tag with runat=server.
Can anyone help me to solve this problem
Regards,
LEE
|
|
|
|
|
use the below method to resolve this issue
public override void VerifyRenderingInServerForm(Control control)
{
}
|
|
|
|
|
Hi,
I'm having iframe in aspx page. iframe text will be edited and will stored in a data base using html.
How to do this? Give me any sample..
Thanks in advance
|
|
|
|
|
You can capture iframe body.innerHTML into a hidden field and submit to the server side script right?
|
|
|
|
|
good morning every body
i need to add to my website a visitor countor to know how many times my website has been accessed.
and i need to make a chating room
please someone could give me a code or a tutorial or a site i'll be greatefull
thanks in advance
|
|
|
|
|
|
hi,
I am showing a grid whose height & width varies with data.
in that grid I want only horizontal scroll bar not a vertical bar.
I was trying putting this grdview in a div.
But it showing both bars. How can I resolve this problem???
I am using following code::
<asp:gridview id="dgChart" runat="server" backcolor="White" onselectedindexchanged="dgChart_SelectedIndexChanged" width="1000px" bordercolor="#999999" borderstyle="None" borderwidth="1px" visible="False" gridlines="Vertical" cellpadding="3">
<footerstyle backcolor="#CCCCCC" forecolor="Black">
<rowstyle backcolor="#EEEEEE" forecolor="Black" horizontalalign="Left">
<selectedrowstyle backcolor="#008A8C" font-bold="True" forecolor="White">
<pagerstyle backcolor="#999999" forecolor="Black" horizontalalign="Center">
<headerstyle backcolor="#000084" font-bold="True" forecolor="White">
<alternatingrowstyle backcolor="Gainsboro">
If anyone have any clue plz give me..
hiiiiii
|
|
|
|
|
Most of your code is not showing. Use the "Ignore HTML" option when you are posting markup code in the forum.
---
single minded; short sighted; long gone;
|
|
|
|
|
hello to all can u solve this probs i hv done aspnet_regiis -i commmand but
it didnt work reply plz
Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Development component.
|
|
|
|
|
Hello, God has moved me to want to hack some athesit websites to keep them from perverting any more people with their heresy. The only problem is I do not know how to hack. Can any of you help?
Thanks.
|
|
|
|
|
Haha, I think you have the wrong site. Try www.hacking4dummies.com
|
|
|
|
|
This violated the Rule 8 of the Admin Sticky Message Reminder that floats in every messageboard:
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
|
|
|
|
|
What's the URL of the website you want to hack?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Can't you just pray for the site to go down?
|
|
|
|
|
Looks like Kyle got a daypass out of the mental ward...
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
|
All u need is the administrator password of the web server. After that go to the web page root folder, delete some files or replace them with ur own one.
Its really really simple you know!!!!!!!!!
Sorry i cant laugh my heart out on this post.
|
|
|
|
|
Hi,
I hope this is the correct forum to post in.
The block of code retrieves image thumbnails (via GUIDs) from a database and displays them using a Javascript function. All the thumbnails are one size.
Is there a way in classic ASP to somehow resize the image once it is retrieved from the database? i basically want the thumbnails to appear larger and i am not concerned about pixelation.
<br />
<%<br />
dim rsMaxImagePosition <br />
strSQL = "select MAX(imgPosition) as MaxImgPosition from tblImageRotate"<br />
set rsMaxImagePosition = emSQLGetStaticReadOnlyRS(strSQL, Application("strDSN"))<br />
<br />
dim rsImageRotate<br />
dim i<br />
for i = 1 to rsMaxImagePosition("MaxImgPosition") <br />
strSQL = "SELECT tblImageRotate.fldImagesID, tblImageRotate.imgPosition, tblImages.fldImageGUID " & _<br />
"from tblImageRotate, tblImages " & _<br />
"where tblImageRotate.fldImagesID = tblImages.fldImagesID " & _<br />
"and tblImageRotate.imgPosition = " & i<br />
set rsImageRotate = emSQLGetStaticReadOnlyRS(strSQL, Application("strDSN"))<br />
<br />
response.Write "var fadeimages" & i & "=new Array()" & VBCRlf <br />
dim x<br />
x = 0<br />
while not rsImageRotate.eof<br />
response.Write "fadeimages" & i & "[" & x & "]=['/images/thumbnail/" & server.urlencode(rsImageRotate("fldImageGUID")) & "', '/searchresults.asp?n=" & rsImageRotate("fldImagesID") & "&enlarge=1', '']" & VBCRlf<br />
x = x + 1<br />
rsImageRotate.movenext<br />
wend<br />
response.write VBCRlf<br />
next<br />
%>
Hope you can help.
-----------
Ben
|
|
|
|
|
Do it with javascript. There should be examples on the web.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
why xml soap is fast than any other data transport, like plain data instead of noeds data?
|
|
|
|
|
Guys,
I have a web application that uses "window.document.thisForm.submit()" to submit a form, it works fine with many machines, but in some machines it throws the user out to the main page. The event viewer has no errors, the configuration for IE is just the same as the other machines.
What could be the problem ??!!
Please advice.
ThaScorpion
|
|
|
|
|
what browsers are giving the problem?
|
|
|
|