Forum: ASP.NET Aug 5th, 2009 |
| Replies: 11 Views: 1,427 1. This is a VS template. Install it first.
2. Open VS and create a web site using the newly installed template.
3. The main folder of your new web site contains (amongst the others) the file... |
Forum: ASP.NET Aug 5th, 2009 |
| Replies: 11 Views: 1,427 Take a look at the PhotoHandler here: http://www.asp.net/downloads/starter-kits/personal/ |
Forum: ASP.NET May 28th, 2009 |
| Replies: 1 Views: 1,011 Try to clean the project/website by deleting the binaries (in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files) then rebuild the application. asp.net uses "shadow copy" of... |
Forum: ASP.NET May 25th, 2009 |
| Replies: 5 Views: 696 javascript is especially useful serverside, where ASP.NET is absolutely weak... ;) from this point on you can guess my answer. Or maybe we wouldn't need servers in the future... |
Forum: ASP.NET Apr 26th, 2009 |
| Replies: 2 Views: 882 Maybe you mean Visual Studio 2005? You can't - use SSMS (SQL Server Management Studio). |
Forum: ASP.NET Apr 24th, 2009 |
| Replies: 1 Views: 344 First of all the line must throw an exception. Take a look and you'll find out why.
Second, using a switch is the preferred coding practice in such cases.
Third, it is not possible that the code... |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 5 Views: 618 What xml files?!? This is new to this thread! Just type SCHEMA TRANSFER in SSMS (Sql Server Management Studio) followed by the tablename. That's all you have to do. |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 5 Views: 618 Just create the schema and use SCHEMA TRANSFER to move objects to your newly created schema. After you have your table(s) in the schema you will be able to issue absolutely the same (syntactically)... |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 5 Views: 998 You should have
in your web.config. The line is allowed only within appSettings section. The section appSettings should be one and only one in the whole config file. |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 5 Views: 998 Nevermind! You still have two appConfig sections. The fact that the first one does not have child nodes does not mean that the sections are getting merged or otherwise processed by the configuration... |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 5 Views: 618 You may use schema in MSSQL: Thus your query would look the same. |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 1 Views: 663 This is exactly what you have to expect! You cannot modify web.config from the web application/web site/web service that is configured from this web.config. Just remember that fact as if it is an... |
Forum: ASP.NET Apr 22nd, 2009 |
| Replies: 5 Views: 998 This is what is wrong. You have two appSettings sections: an empty one (the above) and your modified one. You should keep only one of them.
If you find this answer satisfactory, please add to my... |
Forum: ASP.NET Apr 15th, 2009 |
| Replies: 4 Views: 519 The point is not sending, but viewing the messages. The messages for a user should carry some information about the receiver. Most probably the MembershipUser provider key. Check for authenticated... |
Forum: ASP.NET Apr 15th, 2009 |
| Replies: 2 Views: 300 Perhaps it is better to spend some time and learn the answers to such important questions instead of placing incredibly low bids on sites like www.rentacoder.com |
Forum: ASP.NET Apr 8th, 2009 |
| Replies: 8 Views: 580 Kids often do more important things than adults. Read "The Little Prince" by Antoine de Saint-Exupéry to get to the point. (Or many other books...) |
Forum: ASP.NET Apr 6th, 2009 |
| Replies: 8 Views: 580 More than ASP.NET? You gotta be kidding. :) PHP is poor man's ASP.NET, but if you like it go for it! |
Forum: ASP.NET Apr 6th, 2009 |
| Replies: 8 Views: 580 ...or you can use Mono, Apache, Linux and MySQL if expenses are critical for you. This is still ASP.NET. |
Forum: ASP.NET Apr 1st, 2009 |
| Replies: 6 Views: 1,194 In general set the @Page attribute trace="true" to locate the control. Then you'll easily figure out how to "FilndControl()" it. Read MSDN on FindControl() also. This should be enough! |
Forum: ASP.NET Apr 1st, 2009 |
| Replies: 5 Views: 691 don't do that! there are at least two other options SQL server offers:
1. use autoincrement fields, or
2. use guids
In either case the server will handle the creation of new value for a PK. |
Forum: ASP.NET Mar 31st, 2009 |
| Replies: 2 Views: 401 Your question is not quite clear. What do you want to do? Be more precise in order to get answered. |
Forum: ASP.NET Mar 29th, 2009 |
| Replies: 5 Views: 691 You have at least two choices:
1. use the lock(...) in C#, or use SqlTransaction (http://www.knowdotnet.com/articles/transactions.html) ; there should be only one instance of the application... |
Forum: ASP.NET Mar 26th, 2009 |
| Replies: 4 Views: 533 You need your brain and your fingers. No link can help you. |
Forum: ASP.NET Mar 26th, 2009 |
| Replies: 1 Views: 329 |
Forum: ASP.NET Mar 24th, 2009 |
| Replies: 4 Views: 533 HttpSesssion (if that's what you mean) has nothing to do with vs200x. If you merge both projects you'll be able to use same session in any page despite its original belonging. Otherwise you should... |
Forum: ASP.NET Mar 16th, 2009 |
| Replies: 3 Views: 1,281 Often controls are buried into deeper level of control hierarchy. Obviously the control you were trying to find is not in the next level. Add trace="true" in your Page directive attributes and try to... |
Forum: ASP.NET Mar 13th, 2009 |
| Replies: 17 Views: 2,737 Again, almost! C# goes a bit closer to the CLR specs... |
Forum: ASP.NET Dec 1st, 2008 |
| Replies: 17 Views: 2,737 Depends on your preferences - whatever you choose the results are (almost!) the same. My preferences, however, tend to C#. Moreover C# utilizes .NET CLR capabilities a bit better than VB. |