Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to assign role to linq queries? Pin
kaushikpathak18-Mar-14 1:26
kaushikpathak18-Mar-14 1:26 
GeneralRe: How to assign role to linq queries? Pin
miss78618-Mar-14 1:51
miss78618-Mar-14 1:51 
GeneralRe: How to assign role to linq queries? Pin
kaushikpathak18-Mar-14 2:36
kaushikpathak18-Mar-14 2:36 
GeneralRe: How to assign role to linq queries? Pin
miss78618-Mar-14 2:48
miss78618-Mar-14 2:48 
Questionhow to set the visibility true for <Div> tag in vb.net Pin
Nandan Basak16-Mar-14 21:46
Nandan Basak16-Mar-14 21:46 
Questionyoutube videos behind login page Pin
raghushetty1616-Mar-14 21:41
raghushetty1616-Mar-14 21:41 
Questiondata is not getting saved to the database. Pin
samflex15-Mar-14 13:18
samflex15-Mar-14 13:18 
AnswerRe: data is not getting saved to the database. Pin
Garth J Lancaster15-Mar-14 14:45
professionalGarth J Lancaster15-Mar-14 14:45 
>> No errors but just doesn't work

really ? there are always errors - you just need to know where to look

first off, not that it will likely show much, is that ExecuteNonQuery() does return an Int32 value for RowsAffected - that you arnt looking at - I would be irrespective of other issues

So, the real crux is, have you checked wether your database user (that you are likely connected to the database with) has permissions to the database and execute sql/stored procs ?

I would be looking at the database and event logs ....

Im always suspicious of connections to databases - so while you're trying to get it to work, after your

C#
conn.Open()


I would add something like

C#
Console.WriteLine("State: {0}", conn.State)
and set a breakpoint on that line so I could check for sure

I cant think of anything else obvious though
GeneralRe: data is not getting saved to the database. Pin
samflex15-Mar-14 16:21
samflex15-Mar-14 16:21 
GeneralRe: data is not getting saved to the database. Pin
samflex16-Mar-14 9:55
samflex16-Mar-14 9:55 
QuestionLogin status Pin
sbangani15-Mar-14 5:26
sbangani15-Mar-14 5:26 
QuestionFacebook share using jQuery Pin
Member 803236015-Mar-14 2:45
Member 803236015-Mar-14 2:45 
AnswerRe: Facebook share using jQuery Pin
Tom Marvolo Riddle15-Mar-14 3:22
professionalTom Marvolo Riddle15-Mar-14 3:22 
QuestionFacebook share button is not working Pin
Member 803236014-Mar-14 21:47
Member 803236014-Mar-14 21:47 
GeneralRe: Facebook share button is not working Pin
Peter Leow14-Mar-14 22:01
professionalPeter Leow14-Mar-14 22:01 
Questioncant trigger button server side event Pin
vangli13-Mar-14 22:26
vangli13-Mar-14 22:26 
AnswerRe: cant trigger button server side event Pin
kaushikpathak18-Mar-14 1:41
kaushikpathak18-Mar-14 1:41 
QuestionPage Cache - Panel control Pin
oDoJo13-Mar-14 19:37
oDoJo13-Mar-14 19:37 
QuestionHow to playing song in the mobil devices with my ASP Pin
famontepeque13-Mar-14 10:20
famontepeque13-Mar-14 10:20 
AnswerRe: How to playing song in the mobil devices with my ASP Pin
Bernhard Hiller14-Mar-14 0:36
Bernhard Hiller14-Mar-14 0:36 
GeneralRe: How to playing song in the mobil devices with my ASP Pin
famontepeque15-Mar-14 3:49
famontepeque15-Mar-14 3:49 
GeneralRe: How to playing song in the mobil devices with my ASP Pin
Richard Deeming17-Mar-14 2:27
mveRichard Deeming17-Mar-14 2:27 
Questionasp.net dropdownlist show all list item Pin
VLRRAJ13-Mar-14 4:18
VLRRAJ13-Mar-14 4:18 
AnswerRe: asp.net dropdownlist show all list item Pin
_AK_13-Mar-14 4:34
_AK_13-Mar-14 4:34 
QuestionDeploy ASP.NET MVC site under existing ASP site Pin
rlangi0512-Mar-14 22:40
rlangi0512-Mar-14 22:40 

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.