Click here to Skip to main content
15,897,718 members

Comments by ShotDriller (Top 12 by date)

ShotDriller 14-Sep-12 13:56pm View    
Did you open the Connection before ExecuteNonQuery?
ShotDriller 14-Sep-12 12:30pm View    
post your exception details
ShotDriller 14-Sep-12 12:24pm View    
Entity Framework Code First allows you to create data model classes prior to creating a database. When you run the application for the first time, a database is created for you on the fly based on the classes you created. Database initializers allow you to decide a strategy of database creation and seed data generation. Code First provides its own set of database initializer classes and also allows you to create your own.
ShotDriller 14-Sep-12 11:48am View    
Updated functionality/Code provided. just copy&paste provided code and check. if its what you want.
ShotDriller 14-Sep-12 11:37am View    
The code that i gave doesnt need Hide anchor. Click on "showDescription" will show the description. click again on the same "showDescription" will hide the Description. You can show "Hide description" anchor tag when description is expanded.