Click here to Skip to main content
15,309,768 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionOn web form button, prevent user from clicking the button more than 1 time Pin
dcof17-Jan-19 5:10
Memberdcof17-Jan-19 5:10 
AnswerRe: On web form button, prevent user from clicking the button more than 1 time Pin
Richard MacCutchan17-Jan-19 5:20
mveRichard MacCutchan17-Jan-19 5:20 
Questionhow to Import Excel file into Data base using Entityframework in MVC Pin
Member 1408535316-Jan-19 17:55
MemberMember 1408535316-Jan-19 17:55 
AnswerRe: how to Import Excel file into Data base using Entityframework in MVC Pin
Member 1408535316-Jan-19 18:03
MemberMember 1408535316-Jan-19 18:03 
GeneralRe: how to Import Excel file into Data base using Entityframework in MVC Pin
Richard Deeming17-Jan-19 1:52
mveRichard Deeming17-Jan-19 1:52 
QuestionASP.Net code won't run Pin
Member 1406015916-Jan-19 11:43
MemberMember 1406015916-Jan-19 11:43 
AnswerRe: ASP.Net code won't run Pin
F-ES Sitecore17-Jan-19 0:15
professionalF-ES Sitecore17-Jan-19 0:15 
QuestionAn exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user code Pin
RedPandinus15-Jan-19 12:34
MemberRedPandinus15-Jan-19 12:34 
I am new to ASP.NET MVC, getting error at below code :

<div id="wrapper" style="background-color:#fff;">
       <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin-bottom: 0">
           <div class="navbar-header">

               <a class="navbar-brand" href="/Home/EmployeeDashboard" target="_blank">
                   @{
                       string comnameup = "";
                       using (PMEntities dc = new PMEntities())
                       {
                           var data = dc.tblGenerals.SingleOrDefault();
                           comnameup = data.CompanyName;
                           @comnameup
                       }
                   }

               </a>
           </div>


also adding connection string :

<connectionStrings>
  <add name="PMEntities" connectionString="metadata=res://*/PMData.csdl|res://*/PMData.ssdl|res://*/PMData.msl;provider=System.Data.SqlClient;provider connection string="data source=localhost\SQLEXPRESS;initial catalog=eee;integrated security=SSPI;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
 </connectionStrings>

AnswerRe: An exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user code Pin
Richard Deeming16-Jan-19 8:12
mveRichard Deeming16-Jan-19 8:12 
QuestionImport Tabulor form data from PDF file Pin
Member 1411436712-Jan-19 20:34
MemberMember 1411436712-Jan-19 20:34 
AnswerRe: Import Tabulor form data from PDF file Pin
Richard MacCutchan12-Jan-19 22:54
mveRichard MacCutchan12-Jan-19 22:54 
GeneralRe: Import Tabulor form data from PDF file Pin
Member 1411436714-Jan-19 1:13
MemberMember 1411436714-Jan-19 1:13 
GeneralRe: Import Tabulor form data from PDF file Pin
Richard MacCutchan14-Jan-19 1:46
mveRichard MacCutchan14-Jan-19 1:46 
GeneralRe: Import Tabulor form data from PDF file Pin
Nitin S25-Jan-19 1:40
professionalNitin S25-Jan-19 1:40 
QuestionWhat layers required for make asp.net core 2 project for prevent repeat data ? Pin
ahmed_sa2-Jan-19 21:53
Memberahmed_sa2-Jan-19 21:53 
AnswerRe: What layers required for make asp.net core 2 project for prevent repeat data ? Pin
Richard MacCutchan2-Jan-19 23:37
mveRichard MacCutchan2-Jan-19 23:37 
AnswerRe: What layers required for make asp.net core 2 project for prevent repeat data ? Pin
Vincent Maverick Durano3-Jan-19 22:35
professionalVincent Maverick Durano3-Jan-19 22:35 
AnswerRe: What layers required for make asp.net core 2 project for prevent repeat data ? Pin
James Walsh Jr12-Jan-19 5:47
professionalJames Walsh Jr12-Jan-19 5:47 
QuestionLossless Image compression Pin
Member 141024622-Jan-19 8:37
MemberMember 141024622-Jan-19 8:37 
AnswerRe: Lossless Image compression Pin
Richard MacCutchan3-Jan-19 1:18
mveRichard MacCutchan3-Jan-19 1:18 
QuestionIs there any data mocking for calling Web API Put and post methods with C# Code Pin
simpledeveloper25-Dec-18 12:55
Membersimpledeveloper25-Dec-18 12:55 
AnswerRe: Is there any data mocking for calling Web API Put and post methods with C# Code Pin
F-ES Sitecore30-Dec-18 5:41
professionalF-ES Sitecore30-Dec-18 5:41 
AnswerRe: Is there any data mocking for calling Web API Put and post methods with C# Code Pin
James Walsh Jr1-Jan-19 8:58
professionalJames Walsh Jr1-Jan-19 8:58 
AnswerRe: Is there any data mocking for calling Web API Put and post methods with C# Code Pin
James Walsh Jr12-Jan-19 5:50
professionalJames Walsh Jr12-Jan-19 5:50 
QuestionWant to learn React.Js Pin
simpledeveloper20-Dec-18 23:14
Membersimpledeveloper20-Dec-18 23:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.