- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Always curious...
- Interests
- ancient history, off-road, dog breeding
- PC Specs
- ASP.NET MVC 2,3,4... EF CodeFirst, jQuery
21 Posted Topics
Re: Take a look at the PhotoHandler here: [url]http://www.asp.net/downloads/starter-kits/personal/[/url] | |
Re: 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... | |
Re: [QUOTE=bharatshivram;834358]please reply[/QUOTE] You have at least two choices: 1. use the lock(...) in C#, or use SqlTransaction ([url]http://www.knowdotnet.com/articles/transactions.html[/url]) ; there should be only one instance of the application accessing the db. If you cannot guarantee that then 2. use BEGIN TRAN, COMMIT, ROLLBACK in SQL. Read about all these and … | |
Hi guys, Has someone measured how many lines of code (approx) she/he produces daily? NLoc utility or OxyProject Metrics help in counting number of lines. Thanks! | |
Re: 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 binaries, so make sure everything is absolutely clean. maybe you'll also need to kill the asp.net framework process (aspnet_wp.dll or may have different name, look in the web). | |
Re: Maybe you mean Visual Studio 2005? You can't - use SSMS (SQL Server Management Studio). | |
Re: First of all the line [QUOTE]int MST = Convert.ToInt32(Convert.ToInt32(DetailsView3.Rows[0].Cells[1].Text));[/QUOTE] must throw an exception. Take a look and you'll find out why. Second, using a [B]switch[/B] is the preferred coding practice in such cases. Third, it is not possible that the code does not work. If you doubt this put a … | |
Re: You may use schema in MSSQL: [QUOTE]select * from schemaname.tablename.[/QUOTE] Thus your query would look the same. | |
Re: [QUOTE]<appSettings/>[/QUOTE] [QUOTE]<!-- other stuff here... -->[/QUOTE] [QUOTE]<appSettings> <add key="networkDrive" value="C:\test"/> </appSettings>[/QUOTE] This is what is wrong. You have two [B]appSettings[/B] sections: an empty one (the above) and your modified one. You should keep only one of them. [I]If you find this answer satisfactory, please add to my reputation.[/I] | |
Re: 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 axiom. Later on you'll figure out why... | |
Re: VS Professional (no "full" release) is quite functionally rich, there are other editions too: [url]http://www.microsoft.com/visualstudio/en-us/products/teamsystem/default.mspx#compare_products[/url]. SharpDevelop is the descendant to MonoDevelop - an interesting project, free (GPL-ed - not quite sure). Also check here: [url]http://csharp-source.net/open-source/ides[/url] | |
Re: The point is not sending, but viewing the messages. The messages for a user should carry some information about the receiver. Most probably the [CODE]MembershipUser [/CODE] provider key. Check for authenticated user and load only the messages for this user. Use [CODE]Page.User[/CODE] property. If no user has been logged in … | |
Re: 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 [url]www.rentacoder.com[/url] | |
Re: ...or you can use Mono, Apache, Linux and MySQL if expenses are critical for you. This is still ASP.NET. | |
Re: 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! | |
Re: Your question is not quite clear. What do you want to do? Be more precise in order to get answered. | |
Re: 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 implement your own session that has to be transfered between both sites. | |
Re: What tool are you using to build the project? | |
Re: 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 locate the control. Also, it is often decorated with some additional symbols, especially if it is … | |
Re: 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. |
The End.