My wife bought the Blackberry Curve 8320 this weekend and is just loving it. She had the older model from four years ago; the one with the dial and back button on the right side, those buttons gave out. After four years, that’s awesome! … way to go RIM! You’re making an awesome product! We’re staying with you. Keep it up. Continue reading
Chicken wings are great! and here’s a funny encounter I had with a restaurateur; first, I’m going to give you some info about my favorite wing stops and then I’ll tell you what happened to me that had me on the floor laughing. Continue reading
Well, here it goes again. It’s been almost seven months to the day since I performed my last blackberry upgrade. What a champ of a phone. I have dropped it numerous times, installed a few new apps, and have run it through the “data ringer”. I use it so much and have put it through so much that it’d be tough to go to another type of phone ever again! It’s great. Continue reading
Searching for a document that helps to connect a .NET web application with MySQL is hard to find. So, I thought I would provide instructions I put together while developing my own applications.
The .NET infrastructure is very flexible and is easier to use than people think. Here are the steps that I went through to get everything working and connected. Because I program in C# this tutorial is presented in that language. This is an outline of the process and steps to accomplish this tutorial. It helps to keep the ideas in check and that there are no missing subjects.
- Install MySQL v5.0
- Install Visual Studio (use the express editions if you don’t have full versions)
- Install the MySQL 5.0 .NET Data Connector v5.2 (for example mysql-connector-net-5.2.1.zip) or other connector of your programming choice.
- Start building a database
- A nice application to use is ModelRight 3 community edition
- Create two tables and add some fields and join one of the tables to the other in a parent-child relationship
- Generate (engineer) the database to MySQL
- Open Visual Studio
- Go to the Server Explorer, right-click on Data Connections
- Click Add Connection
- Change the datasource to MySQL Database and make sure the Data provider is .NET Framerwork Data Provider for MySQL and click OK
- Login to the server with the following:
- Server name: localhost
- User name: root
- Password: the initial password you gave when setting up MySQL
- Database name: This is the name of the database you will attach to. It’s possible you haven’t set one up yet, see the Building a MySQL Database below.
- Create a website application using Visual Studio (File | New | Website)
- Pick ASP.NET Web Site (or ASP.NET AJAX-Enabled Web Site) if you have the .NET AJAX Toolkit installed.
- Add the connection string to Web.Config
- Update App_Code data layer classes to use the schema of the database
- Add an Object Data Connection to the web page with the following settings
- Put a DataGridView on the screen and connect it to the Object Data Connection object with these settings
- Run the application
I didn’t get to respond to the blog at this other site because the Blog Administrator has blocked new posts. So I’m taking things into my own hands to speak my peace. For the record, it’s not really Mac vs Picasa. It’s that Picasa doesn’t yet work (natively) on the Mac, the keyword being YET. Continue reading