We currently have a .Net site at: http://www.wiredtalent.com/default2.aspx?section=About&page=Mission that is using some JavaScript to display a flyout menu from a set of images. I am attempting to convert this functionality to an asp menu, and everything is working fine, except that I can't...
I am working through the first exercise in Professional ASP.Net 2.0 Server Control and Component Development, and the author tells you to use the command line to compile the assembly for the gac using: csc /t:library /out:CustomComponents.dll /r:System.dll /r:System.Web.dll AssemblyInfo.cs...
I am creating an image upload page for my site, and I would like to create a folder for each user. I have the file upload posting to a static folder, but I can't seem to find an example of how to create the user folder on the fly. Any ideas?
We currently have a class that does all database actions, but as it is now, each method is creating its own connection. I am trying to add a constructor to the class to allow all methods to use a single connection. When I try to call the Open method of Conn in
the DataTable GetDataTable method...
I have a page with two controls that are databound:
I am using a single connection with two commands, and the code is breaking when I attempt to execute the second reader.
The error says "There is already an open DataReader associated with this Command which must be closed first.", but it is a...
How do I surpress the enter key from submitting an asp:ImageButton?
<asp:ImageButton ID="CatTopNavigationUp" runat="server" CausesValidation="false" OnClick="CatTopNavigationUp_Click" AlternateText="Click here to expand this menu" ImageUrl="Images/CatTopNavigationUp.gif" />
I am using this...
I wrote a custom error handler class that is supposed to insert the error info into the database when an error occurs, but when I call it from a catch block all I get is the generic error page and no insert. Is there something I need else I need to do in addition to adding a try block to trap...
Trying to run a stored procedure and place it in a data table. Can't figure out the problem. Any Help?
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);
SqlCommand myCommand = new SqlCommand("pr_GetPlayers", con)...
I have a gridview with some control filters. A couple of text, a drop down list and a listbox with multiple.
The sql is placed in the code behind in the isPostBack section. For some reason, the grid does not redraw itself
when I change the filter values unless I change other filter values in...
Converting vbscript to C#
I have a drop down list that displays some videos to a user. The drop down is set to auto post the form.
The videos are are embedded into the html, and surrounded by a placeholder. All placeholders are initially not visible.
I am having two problems:
1) Visual web...
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.