hi
i am getting an error
DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'image'.
i use xml and asp.net
<%@ Page Language="C#" MasterPageFile="ContentMasterPage.master" Debug="true"%>
<%@ Import Namespace="System.Xml"%>
<%@ Import Namespace="System.Xml.Xsl" %>
<%@ Import Namespace="System.Xml.XPa...
Hi
I am using Enterprise Library Data for my Sql database. I am using version 3.1.
I am using this code to execute a long running sp (about 1 min).
Dim db As SqlDatabase = New SqlDatabase(System.Web.Configuration.WebConfigurationManager.ConnectionStrings("portalConnection").ConnectionString)
db.ExecuteNonQuery("spna...
I want to load all the name/value pairs into a hashtable from an XML file in C#.
Note, the 'value' part may contain HTML markup, so it has to somehow escape from that. Would this be done in code or should I use CDATA?
Example XML:
<root><node name="node1">value</node><node name="node1">value2</node><root>
...
I am trying to view my ASP.NET web page but it only gets displayed if I am not connected to the internet. There is no proxy server.
The address I am using:
http://localhost:50266/IWS/MyWorld.aspx
The message I receive:
Internet Explorer cannot display the
webpage
Most likely causes: You are not connected to the Int...
I am using a ListView control to display Pictures along with description and caption. I used to save the full path of the image in the url field, so when I display them in the ListView I don't need to edit anything. Now I am using something like:
HttpContext.Current.Server.MapPath("~/photos/") + savedURL
How can I edit my ListView t...
I am working on a program that requires the date of an event to get returned. I am looking for a "Date", not a "DateTime". There has to be a datatype that returns just the date... is there?
...
Duplicate
http://stackoverflow.com/questions/798096/asp-net-fails-to-view-page
i am trying to view my asp.net web page but it only gets displayed if i am not connected to the internet....there is no proxy server...the foloowing msg is displayed..the adress is...http://localhost:50266/IWS/MyWorld.aspx...workoffline is also unchecked.....
I wrote an application using ASP.NET MVC, in this application I have an Index view which renders multiple partial views. The application works fine in both IE and Google chrome but does not seem to work in Firefox. Does Firefox have any issues when rendering partial views or is there something extra that I have to add to my code? This is...
I have an Import function for an Excel spreadsheet within an application. It uses the FileUpload control at the moment. I upload the file, then run an operation on that file. I want to inform the user of the operation being done, and the percentage that is done. I figure that I can take the total number of rows I extracted from the Excel...
Consider a web application that resizes large tiff files on the fly. Each large tiff file is resized into a jpg thumbnail and larger jpg when the user invokes the operation. The dimensions of these converted files is always the same.
During a code review yesterday, one of the other developers asked me why I set those dimensions in my gl...
I've just been bitten by a problem where I have a view (FindUser.aspx) trying to render a partial view (FindUser.ascx). The default search paths for views look for a file named after the view in a variety of folders. Rather surprisingly, for views, it looks for a file with the extensions of .aspx or .ascx. And the partial views use the s...
I am writing a WinForms app which will execute some web UI tests written in a web testing framework.
Is there a way I can get the error on the page being tested (I specify the page through a method parameter) without screenscraping the page? For example, if it throws:
A potentially dangerous Request.QueryString value was detected from ...
Hi,
I have been trying to set an image on an HTML.ActionLink by adding a CSS class for a link (a) and using the background-image to display the link as an image. This works great in all browsers but IE 6 and IE7. I need to get it working in these browsers, but can not figure it out. Any ideas???
a.edit
{
background-image: url("...
I'm building an ASP.NET 3.5 application and would like to expose an enum I have in my WebService class without using it as a parameter in once of my WebMethods.
I have a really simple example to illustrate what I want... Let's say I have the following WebService (I'll call it Agent.asmx):
<System.Web.Script.Services.ScriptService()> _...
How do you get the ipaddress and location of every website vistor of your website through Asp.Net?
Thanks
...
hi,
as you all know update panel send the same response to server as a full post back ( or maybe i am understanding wrong), it is true that it is much better than a full post back.
so is there an alternative to send only response data ? like you have a method that ill return date, i think this is the only thing that should be sent and...
I'm running a form in a second thread. If I do Ctrl-C to copy text on the clipboard, I get an Exception, "Current thread must be set to a single thread apartment (STA) before OLE calls can be made. (Using the clipboard involves OLE apparently).
Putting the [STAThread] with my thread proc, which is the entry point of my second thread ...
I am designing a winforms based testing app (which is based upon WatiN). I specify a page to test and the value to insert into a textbox, and then click the corresponding button.
Is it possible to add a query string to the request I make (when clicking button) and then get the URL of the next page? Based on this, I need to screen scrape...
Hello,
I've got a search box that users can type terms into. I have a table setup with fulltext searching on a string column. Lets say a user types this: "word, office, microsoft" and clicks "search".
Is this the best way to deal with multiple search terms?
(pseudocode)
foreach (string searchWord in searchTerms){
select col1 f...
I have an ASP.NET website in which I am loading some validation rules from an xml file. This xml file name, with no path info, is hard coded in a library. (I know that the hard coded name is not good, but let's just go with it for this example).
When I run the website, ASP.NET tries to find the xml file in the source path, where the C#...