webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: Get the Primary key on Insert Using Entity Framework
http://webmisterradixlecti.blogspot.com/2013/04/get-primary-key-on-insert-using-entity.html
Goodies for Software Developers. Sunday, April 28, 2013. Get the Primary key on Insert Using Entity Framework. Hey guys, this is just a quick code example to show how you can get the auto incrementing Primary Key ID when inserting a new row using Entity Framework. All you need to do is insert the record as you normally would, then after you saveChanges() just assign the ID to an integer as seen below. How easy is that! Posted by Carl Bartlett. Web development services australia. May 8, 2013 at 12:44 AM.
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: March 2013
http://webmisterradixlecti.blogspot.com/2013_03_01_archive.html
Goodies for Software Developers. Sunday, March 17, 2013. Writing Better C# Code - If Statements. A very important part of being a good programmer is writing concise and clean code. There are many ways that we can eliminate unnecessary code so I will be writing a few articles about how to write better code, but I will start with the humble “If Statement”. Setting a Boolean value. Take a look at this code;. BtnMerge.Visible = (WebUtil.isDebug);. Operator as follows;. BtnMerge.Visible = (! When you write an...
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: Goodies for Software Developers
http://webmisterradixlecti.blogspot.com/p/goodies-for-software-developers.html
Goodies for Software Developers. Goodies for Software Developers. Custom designed products for software developers, programmers, and loyal readers of Lost in the Stack Trace who want to support this blog (Hint, Hint). Dictionary Style Recursion T-Shirt. HTML End War T-Shirt. Theres no place like 127. Software Apocalypse Now Mug. Lost in the Stack Trace Mug. Find another coffee cup. Subscribe to: Posts (Atom). The Carl Bartlett Web Site. My Linked in page. Crafty Duck Animal Farm. View my complete profile.
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: April 2012
http://webmisterradixlecti.blogspot.com/2012_04_01_archive.html
Goodies for Software Developers. Thursday, April 19, 2012. Slideshow with multiple hyperlinks links per slide. Have you seen those websites with the cool slideshows that have items on each slide which link to other pages? Well, one of my customers had seen this, and that’s what they wanted, only they wanted to have 3 different links on each slide. There are a lot of WordPress plugins that provide this sort of feature, but not with the degree of control that I wanted. And add image maps to each slide.
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: June 2011
http://webmisterradixlecti.blogspot.com/2011_06_01_archive.html
Goodies for Software Developers. Monday, June 20, 2011. SQL : select between specific times but relative dates? This is just a quick post in case any of my more technical readers ever need this solution. An online friend of mine recently wrote a useful blog post on how to select rows between specific times but relative dates in SQL. He uses MySQL, so if you are using SQL server, you may need to tweak the solution. Posted by Carl Bartlett. Sunday, June 19, 2011. 10 Most and Least Retweeted Words. My Linke...
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: April 2013
http://webmisterradixlecti.blogspot.com/2013_04_01_archive.html
Goodies for Software Developers. Sunday, April 28, 2013. Get the Primary key on Insert Using Entity Framework. Hey guys, this is just a quick code example to show how you can get the auto incrementing Primary Key ID when inserting a new row using Entity Framework. All you need to do is insert the record as you normally would, then after you saveChanges() just assign the ID to an integer as seen below. How easy is that! Posted by Carl Bartlett. Wednesday, April 10, 2013. Why is the postback not working?
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: C# accessing or copying files over a network that requires authentication
http://webmisterradixlecti.blogspot.com/2012/09/c-accessing-or-copying-files-over.html
Goodies for Software Developers. Sunday, September 9, 2012. C# accessing or copying files over a network that requires authentication. I was working on a project with the requirement that I copy files over a network connection that needed username and password authentication. The big problem that I found was that the .NET framework did not natively expose the win32 API needed to do this, so I had to write my own wrapper using P/Invoke. You can learn more about P/Invoke on MSDN. For tons of great resources.
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: October 2012
http://webmisterradixlecti.blogspot.com/2012_10_01_archive.html
Goodies for Software Developers. Sunday, October 21, 2012. JavaScript SecondIndexOf or (x)indexOf. Methods return the position of the first and last occurrence of a specified value in a string. You can learn more about them here. These can be very usefull, but what if you want the Second. IndexOf() to get the second occurrence of a specified value in a string. There is no standard JavaScript method for this, so I made my own one;. But why stop there, what if you want the third or fourth indexOf(). Will p...
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: SQL Best Practices
http://webmisterradixlecti.blogspot.com/p/sql-best-practices.html
Goodies for Software Developers. If you are a software developer, it’s very likely that you will have to create a database at some point in your career. When you do, it is VITAL that you design your database with best practices to prevent further issues as the applications grows, especially when you develop at an enterprise level. While most books and training courses on software development will cover the basics of database design, this is not enough for a serious developer. Subscribe to: Posts (Atom).
webmisterradixlecti.blogspot.com
Carl Bartlett | Lost in the Stack Trace: JavaScript Error – Submit is not a Function
http://webmisterradixlecti.blogspot.com/2012/09/javascript-error-submit-is-not-function.html
Goodies for Software Developers. Sunday, September 16, 2012. JavaScript Error – Submit is not a Function. If you get the JavaScript error “Submit is not a Function” then you are probably trying to call the Form’s Submit() Method, but you also have a button whitch is called Submit. This results in a conflict in the JavaScript becuse the Submit Method is already bound to the button. The Solution is simply to change the name of the button so that name=”newname” (or what ever you prefer). A good naming conve...
SOCIAL ENGAGEMENT