Forum: ASP.NET Dec 24th, 2007 |
| Replies: 8 Views: 1,537 Installing IIS should be fine. The VS webserver will allow to to run an ASP.NET website from your local machine, but only when you start it through VS. When you debug a website this way, VS fires... |
Forum: ASP.NET Dec 24th, 2007 |
| Replies: 8 Views: 1,537 hm... I don't see any reason why that wouldn't work. As much as I hate the idea, have you tried uninstalling and reinstalling .NET and VS? |
Forum: ASP.NET Dec 23rd, 2007 |
| Replies: 8 Views: 1,537 VS ships with it's own web server so that developers can test their websites without having IIS installed on the local machine :icon_wink:
@choudhuryshouvi: since this happens for web apps and... |
Forum: ASP.NET Dec 23rd, 2007 |
| Replies: 2 Views: 1,184 Try using an ImageButton instead of a Hyperlink and set the PostBackUrl instead of using onClick="..." |
Forum: ASP.NET Dec 15th, 2007 |
| Replies: 2 Views: 2,885 If you're using VS 2008 (or VWD 2008) you can get the ASP.NET AJAX Control Toolkit (available somewhere on http://asp.net/ajax), which includes a tab extender, as seen here... |
Forum: ASP.NET Dec 15th, 2007 |
| Replies: 2 Views: 4,022 Pre-response disclaimer: I skimmed your code quickly to find what part of it was related to this query, and then took a guess at the problem.
In the lines... |
Forum: ASP.NET Dec 15th, 2007 |
| Replies: 2 Views: 1,043 add the runat="server" attribute to your html tag and it should show up in the code behind. |
Forum: ASP.NET Dec 15th, 2007 |
| Replies: 11 Views: 2,065 As this has turned out to be an interesting learning experience, I may as well point out that the MSIL for the switch and the if-elseif are different. Apparently, switch is directly supported in... |
Forum: ASP.NET Dec 14th, 2007 |
| Replies: 11 Views: 2,065 It's faster? Really? Has someone benchmarked this? I'd be willing to bet that the compiler takes a Select Case and turns it into an if-elseif-else chain.
That said, if you're using a database,... |
Forum: ASP.NET Dec 14th, 2007 |
| Replies: 3 Views: 2,362 You don't actually serve (e.g. link to) the masterpage. The .aspx file refers to the masterpage, so the server knows to put everything together correctly. This allows you to use the same masterpage... |
Forum: ASP.NET Oct 5th, 2007 |
| Replies: 2 Views: 739 Visual Web Developer is for making websites. If you want to make VB apps, use the VB development environment. |
Forum: ASP.NET Oct 5th, 2007 |
| Replies: 2 Views: 1,503 Assuming that your button is on one page and you want to link to another, you can just set the PostBackUrl attribute to your destination:
<asp:Button ID="Button1" runat="server"... |
Forum: ASP.NET Oct 3rd, 2007 |
| Replies: 3 Views: 4,143 I think you might have to do something about taking the repeater and finding the label in its children or something... I had a problem like this once, but I don't quite remember what I did... |
Forum: ASP.NET Oct 2nd, 2007 |
| Replies: 3 Views: 3,955 Option 2, closing after the last query for the page load (which may be automatic anyways, when everything is GC'ed). The overhead of opening and closing the connections for a single load will always... |
Forum: ASP.NET Oct 2nd, 2007 |
| Replies: 1 Views: 2,719 Look into the DragPanel control offered in the AJAX Control Toolkit (http://www.asp.net/ajax/ajaxcontroltoolkit/) |
Forum: ASP.NET Oct 1st, 2007 |
| Replies: 7 Views: 1,147 I think most browsers still execute the page unload event when you close them. You can always try it and see how it goes ;) |
Forum: ASP.NET Oct 1st, 2007 |
| Replies: 2 Views: 10,689 Here's 2 sample ways to do it (I used two tables, each of which have a PK and either an int or an nvarchar column):
1) Have several INSERT commands that, when the form is submitted, each pick out... |
Forum: ASP.NET Sep 20th, 2007 |
| Replies: 3 Views: 3,670 Would using the TextChanged event for your input fields work? |
Forum: ASP.NET Sep 20th, 2007 |
| Replies: 8 Views: 4,972 I recommend you read my previous post. There aren't any books like Building A Forum For Dummies because there's already a ton of forum software out there, and likely most of them are better tested... |
Forum: ASP.NET Sep 18th, 2007 |
| Replies: 4 Views: 3,348 foo is a value to compare against. You'll want to replace it with whatever value you have, and other values with else if statements. And I'm totally out of the habit of writing code. Those should... |
Forum: ASP.NET Sep 18th, 2007 |
| Replies: 4 Views: 3,348 Using the AutoPostBack, check the value of the drop down box. Something like this:
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
... |
Forum: ASP.NET Sep 18th, 2007 |
| Replies: 13 Views: 1,462 Couple notes:
1) C++ and C# are almost completely unrelated.
2) C# and VB are equally suited for web development with ASP.NET.
3) You can learn C# and ASP.NET side by side. Of course, you'll only... |
Forum: ASP.NET Sep 15th, 2007 |
| Replies: 8 Views: 4,972 Creating a forum sounds like a fun project. I've not tried it myself, though I've thought about it several times. It'll be a bit of work though...
You'll need to decide how to structure your... |
Forum: ASP.NET Sep 15th, 2007 |
| Replies: 2 Views: 596 Why not run the query and see what it does? My guess would be that it basically makes a copy of table1 and saves it to table2. |
Forum: ASP.NET Sep 15th, 2007 |
| Replies: 3 Views: 1,086 There shouldn't be a problem with the two versions. The Visual Studio group does side-by-side testing of their releases to make sure the new one won't break the old one, and they usually cover most... |
Forum: ASP.NET Sep 14th, 2007 |
| Replies: 1 Views: 1,394 For limiting the files, you could check to make sure that the extensions are within a certain list (e.g. .pdf, .xls, .xlsx, .doc, .docx) and only upload ones that match. Note, this will only work... |
Forum: ASP.NET Sep 14th, 2007 |
| Replies: 7 Views: 2,769 That's going to depend on the router, and - I'm guessing - would be difficult at best with those languages. If a router had a web-based interface, you could scrape the data, but that'll be a small... |
Forum: ASP.NET Sep 14th, 2007 |
| Replies: 3 Views: 1,086 I don't know why that would happen, but I was just wondering why you chose to use VS 2003 when you already had 2005? |
Forum: ASP.NET Sep 14th, 2007 |
| Replies: 9 Views: 1,614 I don't know for sure. I think Amazon had a webservice that would supply XML data, but I don't know if it was public or if you had to be one of their partners (or whatever they call 'em). That's... |
Forum: ASP.NET Sep 12th, 2007 |
| Replies: 2 Views: 707 Do you just want cornered edges, or can it be done by putting your control on top of an image? If layering will work, that can be done with CSS, using the z-index property as I recall. If you want... |
Forum: ASP.NET Sep 12th, 2007 |
| Replies: 9 Views: 1,614 Start with paper. Decide how you need to model your data, what operations you'll have to do to it (e.g. sorting, searching), etc... Design your web interface separately. You'll also have to decide... |
Forum: ASP.NET Sep 11th, 2007 |
| Replies: 4 Views: 981 Great. Feel like giving us enough info to try helping? |
Forum: ASP.NET Sep 11th, 2007 |
| Replies: 9 Views: 21,951 about the links: when you post something in <link name> (<some url>) tags, be sure to put the http:// or else it will be a relative path.
about the topic: you might look into building a... |
Forum: ASP.NET Sep 11th, 2007 |
| Replies: 6 Views: 24,730 Not only did you change units between your posts (from seconds to minutes), but you blatantly ignored the post describing why this method would be ineffective. :icon_rolleyes: |
Forum: ASP.NET Sep 11th, 2007 |
| Replies: 3 Views: 8,541 |
Forum: ASP.NET Sep 11th, 2007 |
| Replies: 3 Views: 8,541 What do you mean by "not worked"? Do you have your resources set up properly? You can also try setting it programmatically (refer to the last bit of this page... |
Forum: ASP.NET Sep 9th, 2007 |
| Replies: 1 Views: 1,376 The web doesn't support a multi-file upload, AFAIK. You can make an ActiveX or .NET user control that would do it, but that limits you to an IE base. Otherwise, have a form with multiple... |
Forum: ASP.NET Aug 28th, 2007 |
| Replies: 1 Views: 3,153 You'll either have to upload it or create a .NET or ActiveX control that will be able to manipulate the local file. Web apps themselves should not be able to manipulate local files for security... |
Forum: ASP.NET Aug 28th, 2007 |
| Replies: 2 Views: 1,184 Try setting the font-color to black when you set enabled to false. :icon_wink: |
Forum: ASP.NET Aug 27th, 2007 |
| Replies: 5 Views: 1,787 See if the clips at http://asp.net/learn/ work for you. I've only watched one of them though (and without sound, so it wasn't very helpful but I got what I was looking for). |