Click here to Skip to main content
15,941,615 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to dynamically add roles to authorize attribute for controller and action in ASP.Net MVC Pin
Tridip Bhattacharjee5-Jan-17 2:11
professionalTridip Bhattacharjee5-Jan-17 2:11 
AnswerRe: How to dynamically add roles to authorize attribute for controller and action in ASP.Net MVC Pin
Eddy Vluggen5-Jan-17 2:55
professionalEddy Vluggen5-Jan-17 2:55 
GeneralRe: How to dynamically add roles to authorize attribute for controller and action in ASP.Net MVC Pin
Tridip Bhattacharjee5-Jan-17 3:41
professionalTridip Bhattacharjee5-Jan-17 3:41 
GeneralRe: How to dynamically add roles to authorize attribute for controller and action in ASP.Net MVC Pin
Eddy Vluggen5-Jan-17 4:05
professionalEddy Vluggen5-Jan-17 4:05 
Questionasp.net_add two entries to the same selected row cell of table from different pages. Pin
Member 129357304-Jan-17 23:44
Member 129357304-Jan-17 23:44 
AnswerRe: asp.net_add two entries to the same selected row cell of table from different pages. Pin
Afzaal Ahmad Zeeshan5-Jan-17 7:45
professionalAfzaal Ahmad Zeeshan5-Jan-17 7:45 
GeneralRe: asp.net_add two entries to the same selected row cell of table from different pages. Pin
Member 129357305-Jan-17 22:01
Member 129357305-Jan-17 22:01 
AnswerRe: asp.net_add two entries to the same selected row cell of table from different pages. Pin
Afzaal Ahmad Zeeshan5-Jan-17 22:10
professionalAfzaal Ahmad Zeeshan5-Jan-17 22:10 
Member 12935730 wrote:
when x2 enters in same cell entry of x3 gets erased and vice versa.
Of course it does, because you are using UPDATE query. That query will simply ignore the previous data and overwrite it with the newer data.

Can you show the table structure, or the code being used? In any circumstances, you will have to rewrite the query to remove the updation of columns by x3 that x2 has to write. So in this case, all 3 of these x will have a different column to write in, x1 will create a new record, x2 will enter details in a few, and x3 will enter the data to a few.

If you do not want to modify your SQL queries, then chances are you will have to write a lot of validations — such as checking if data exists, and executing if data IS NOT NULL etc. That will just make things over confusing as well as complex.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

QuestionFew questions regarding MCSD and MCPD exam for dotnet Pin
Tridip Bhattacharjee4-Jan-17 22:21
professionalTridip Bhattacharjee4-Jan-17 22:21 
AnswerRe: Few questions regarding MCSD and MCPD exam for dotnet Pin
Richard MacCutchan5-Jan-17 1:00
mveRichard MacCutchan5-Jan-17 1:00 
QuestionPassing Model info in MVC Pin
eejaynic2-Jan-17 8:27
eejaynic2-Jan-17 8:27 
AnswerRe: Passing Model info in MVC Pin
eejaynic2-Jan-17 13:42
eejaynic2-Jan-17 13:42 
QuestionCreate and Use an ASP.NET Core Website Template Pin
xiecsuk1-Jan-17 23:03
xiecsuk1-Jan-17 23:03 
AnswerRe: Create and Use an ASP.NET Core Website Template Pin
Afzaal Ahmad Zeeshan2-Jan-17 21:53
professionalAfzaal Ahmad Zeeshan2-Jan-17 21:53 
GeneralRe: Create and Use an ASP.NET Core Website Template Pin
xiecsuk2-Jan-17 22:29
xiecsuk2-Jan-17 22:29 
Questiontargeting .js files into different directories using typescript and tsconfig file - need really some help Pin
indian14331-Dec-16 5:51
indian14331-Dec-16 5:51 
QuestionCalling get method using typescript - need really some help Pin
indian14331-Dec-16 5:40
indian14331-Dec-16 5:40 
QuestionHow Can I Expand the Field Name Column in an MVC Details view? Pin
Member 1282452923-Dec-16 14:41
Member 1282452923-Dec-16 14:41 
AnswerRe: How Can I Expand the Field Name Column in an MVC Details view? Pin
Afzaal Ahmad Zeeshan24-Dec-16 1:31
professionalAfzaal Ahmad Zeeshan24-Dec-16 1:31 
GeneralRe: How Can I Expand the Field Name Column in an MVC Details view? Pin
Member 1282452924-Dec-16 6:04
Member 1282452924-Dec-16 6:04 
GeneralRe: How Can I Expand the Field Name Column in an MVC Details view? Pin
Afzaal Ahmad Zeeshan24-Dec-16 7:29
professionalAfzaal Ahmad Zeeshan24-Dec-16 7:29 
AnswerRe: How Can I Expand the Field Name Column in an MVC Details view? Pin
Richard Deeming10-Jan-17 4:06
mveRichard Deeming10-Jan-17 4:06 
QuestionASP Button not displaying on Windows 2012 Server Pin
pmcm22-Dec-16 3:00
pmcm22-Dec-16 3:00 
AnswerRe: ASP Button not displaying on Windows 2012 Server Pin
Afzaal Ahmad Zeeshan22-Dec-16 3:57
professionalAfzaal Ahmad Zeeshan22-Dec-16 3:57 
GeneralRe: ASP Button not displaying on Windows 2012 Server Pin
pmcm22-Dec-16 4:02
pmcm22-Dec-16 4:02 

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.