|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Can i download a file programically.
Please help.
|
|
|
|
|
hi,
Dim strFilePath As String = test.txt
Dim strFileName As String = Path.GetFileName(strFilePath)
Dim fs As FileStream
Dim strContentType As String
fs = File.Open(strFilePath, FileMode.Open)
Dim bytBytes(fs.Length) As Byte
fs.Read(bytBytes, 0, fs.Length)
fs.Close()
Response.AddHeader("Content-disposition", _
"attachment; filename=" & strFileName)
Response.ContentType = "application/octet-stream"
Response.BinaryWrite(bytBytes)
Response.End()
Thomas
|
|
|
|
|
Thank You Thomas for paying ur precious attention.
|
|
|
|
|
Welcome amaneet
Thomas
|
|
|
|
|
and actually using TransmitFile() is easier them managing the bytes yourself
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
Hi, i was asking abt how can i use a tabcontrol within ma app. cuz i can't find the tabcontrol in the toolbox
i really need to use that sttuff , can you tell me how ?
thank you
try to be good if you can't be the best
|
|
|
|
|
|
You have to make tab controls using javascript and css with html.
Do good and have good.
|
|
|
|
|
hi,
i what to know how to create setup for web application.
kamalnath
|
|
|
|
|
probably you are looking for this.
http://www.15seconds.com/issue/030806.htm
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hello friends,
I am alex,i need your help in my project i need to unzip a zipped file in asp.net c# .can anybody help me to solve this.
Waiting 4 ur reply.
alex.
|
|
|
|
|
|
If you are using 2.0 you can use the System.IO.Compression classes
only two letters away from being an asset
|
|
|
|
|
Hi, thanks but if you can tell me the exact way of using this classes
Regards alex.
|
|
|
|
|
|
I need to add a Dropdownlist in ie webcontrol toolbar, and need fire selectedindexchanged events..any guidence please..? or any good tutorial to ie webcontrol toolbar.?
Thanks in Advance..
|
|
|
|
|
Hi
I am trying to create a base page that will set the page title for all pages that reference it. I found one way on here, but it involves changing the aspx page itself (removing the sections), which I dont want to do. Also, is there a way in .net 1.1 to ensure all pages are rendered as XHTML? I have been looking and can only find it for .net 2.0. If its not possible to do this, one solution is just remove the entire head section from the HTMLWriter using ToString - though I am sure there must be a better way to do this.
Thanks in advance
Wayde
|
|
|
|
|
|
Hello all,
I am geeting the 39 digit SessionId from one of the php site by giving the login & password. like this
http://somesite/login/somepage.php?login=abcd&pass=1234
after giving this page is displaying only
SUCCESS: 50 - Authentication Succeeded, sessionID: ae0ca3ec5ed5a193341e0cd576122ecd3995663,
in viewsource also same as it is displaying.
I need this sessionId to use in my ASP.NET application.
any body tell me How to get that string/id?
awaiting for reply
regards
GV Ramana
|
|
|
|
|
You'll have to get the php pages to pass it to you in querystring, or post to an asp page.
|
|
|
|
|
Hi,
We have developed the site using iframe in asp.net technology. We want to remove the iframe for search engine optimization .
Our current site designed is as follows-
The site contain common navigation menu and iframe to display the content of the pages according to links click in navigation menu.
Some pages which are displayed in iframe resided in same site(developed in asp.net)
But some pages are fetched from other sites located on some other remote servers. These sites are developed using asp.net and php technologies
We want to remove iframe for search engine optimization.
I tried to use server side includes i.e. user control. I created user control which contain common nevigation menu for our site. I added this menu usercontrol on each .aspx page of our site. But the issue is as I mentioned above our site display the some pages from other site using iframe. We dont have modify rights on other site so we can not make changes to add common navigation menu.
Can you suggest the solution to display the content of web pages which are located in same site and other site with the common menu as mentioned above without using iframe?
Thank you in anticipation.
|
|
|
|
|
i need to retreive values from a table based on the value present in a session variable.
<asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="data source = orcl; user id = nasim; password = nasim" providername="System.Data.OracleClient" selectcommand="select * from book where bookname=:bn">
<selectparameters>
<asp:sessionparameter name="bn" sessionfield="bn" type="string">
am using asp.net 2.0 and oracle 8i
but this doesnt work, shows character set mismatch and few more errors
Any help please..
thanks in advance
where there is a will there is a way
|
|
|
|
|
HI
I want to create a custom control in ASP.NET? How can i do that. Can someone suggest me a nice referrence for this topic that contains good examples.
Regards,
Uma
|
|
|
|
|