2
Answers

MVC Controller for Scaffoldings

Blumonde

Blumonde

9y
378
1
Hello,
 
Under Models, I added "Ado.Net Entity data model" so that I can create CRUD on 1 database table. On the Entity Data Model Wizard, I selected my existing database connection string in my web.config file. I didn't want to create a new connection string because there is no point to have more than one. Everything is fine and I completed the wizard. I then went to the Controller folder to create "Scaffoldings" for the CRUD. However, this process doesn't allow me to select the same existing connection string. The dropdown option doesn't list it on the wizard.
 
Would someone please give me some pointer on how to solve this? Where did I go wrong? Thank you. 
Answers (2)
0
Krishna Kishore

Krishna Kishore

NA 39 0 19y
Hello,

When I tried to compile the resx file iam getting some errors in the resp.. xml file....

Fortunately or unfortunately i don't know XMl....Can u give me an other alternative.....
(A small code if possible)..

Thanx,,,
0
Shri Dutta

Shri Dutta

NA 6 0 19y


Actually u need to Link ur assemblies everytime u change ur resource files from .Net command prompt if u are not doing so u won't get the desired results this is eliminated in .Net 2.0 if u are not using it on a public website then better to go for XML as they are easy to change & handle ....drawback is that ur field names will be public(specially label & button text) so i said if u r not using it on a public website :D



Bye & TC .....Plz BUG me in case m wrong or any further help u need...@ shridutta@hotmail.com