Description:
Microsoft .NET technology newsgroup.
|
|
|
HttpFileCollection and HttpPostedFile
|
| |
I realize I can use Dim hpf As HttpPostedFile hpf.SaveAs("c:\whereever\filen ame.xxx) to save a file. But I need to pass the hpf.InputStream to a class and save the file from there. So all I do is need to pass a System.IO.Stream to it with hpf.InputStream . Once that is passed, how do I know how to save contents of hpf.InputStream ?... more »
|
|
Getting unbound ListView data values
|
| |
How do I retrieve the data values of a Datasource used in a ListView but are not bound or displayed to any controls on the ListView? Below is how I do that in the ItemDataBound event of the ListView. 'Get the item and row objects. Dim dataItem As ListViewDataItem = CType(e.Item, ListViewDataItem)... more »
|
|
Ugly URLs when an ASP .NET MVC app is hosted in a virtual director
|
| |
I am using Godaddy Deluxe hosting which allows me to host several websites in a single hosting account. The main website is hosted in the root of the hosting account and the rest of the websites are hosted in a subfolder in the form /hosting/websitename. If I deploy an MVC app under a virtual directory, I get ugly looking URLs... more »
|
|
Need to display a document into a protion of the aspx page
|
| |
I need to have a secretary produce text that will be changed weekly for a portion of one of my aspx pages. That is, there would be an area with a border and scroll bars into which the code-behind or the markup would load the text file into. The text file produced by a secretary might contain bold, font changes,... more »
|
|
Run Remote App from Web Page
|
| |
I need to be able to start an application on a client machine from a web page. I am in a controlled corporate environment so modifying browser security settings is not the issue although I am hoping to be able to use the Trusted Sites section of IE's security settings. I am hoping to avoid using... more »
|
|
Publishing with FTP or Front Page?
|
| |
I started to sign up with a new web host service. I have to select for Publishing either FTP or Front Page. I am using VS2008 to develop and wonder which I should chose. Does one of them interface better with VS/ASP.Net than the other? Thanks
|
|
HTML Response to Web Service XML Request Message
|
| |
So, we are developing a client that consumes 3rd-party web services using the .NET Framework in the v2.0 (Add Web Reference..., i.e., non- WCF) method, and we've run into a thorny issue. When there is some problem with the service host, instead of sending back an XML response message, it will in some situations send back... more »
|
|
ReportViewer and MailMessage
|
| |
I am using MailMessage and ReportViewer.I am using below code snippet, my problem is that I get the email and it has attachment Temp.pdf, but the attachment doesnt open. ========= byte[] buffer = ReportViewer1.LocalReport.Rend er("pdf", null, out mimeType, out encoding, out extension, out streamids, out warnings);... more »
|
|
|