Click here to Skip to main content
15,917,997 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Paging in Data Grid Pin
Khan.Bangash9-Mar-07 20:32
Khan.Bangash9-Mar-07 20:32 
GeneralRe: Paging in Data Grid Pin
Khan.Bangash9-Mar-07 20:34
Khan.Bangash9-Mar-07 20:34 
GeneralRe: Paging in Data Grid Pin
JustChiragPatel9-Mar-07 21:45
JustChiragPatel9-Mar-07 21:45 
Questionhow to insert image in database from image control Pin
Imran Khan Pathan9-Mar-07 19:25
Imran Khan Pathan9-Mar-07 19:25 
AnswerRe: how to insert image in database from image control Pin
Atif Ali Bhatti9-Mar-07 23:13
Atif Ali Bhatti9-Mar-07 23:13 
Questionurl rewritting problem... Pin
JustChiragPatel9-Mar-07 19:00
JustChiragPatel9-Mar-07 19:00 
AnswerRe: url rewritting problem... Pin
Michael Sync9-Mar-07 20:59
Michael Sync9-Mar-07 20:59 
QuestionHOw to Display or prompt message for asking user for further action Pin
mohd imran abdul aziz9-Mar-07 18:37
mohd imran abdul aziz9-Mar-07 18:37 
Dear All ,
I am bit new to dotnet .
I am making small web application using C#, ASp.net , sql2000 using VIsual studio 2005.

I want to know how can i display message for the user before saving the data. and after only he say yes then save the corresponding data.
i had tried with the following code

result = MessageBox.Show("Do you want to save the record", "Save", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
if (result == DialogResult.Yes)
{

cmd.ExecuteNonQuery();
MessageBox.Show("Successfully Saved ", "Successful", MessageBoxButtons.OK, MessageBoxIcon.Information);
)
But it showing following error
Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
please Help.

Thanks



regards
imran khan

AnswerRe: HOw to Display or prompt message for asking user for further action Pin
Khan.Bangash9-Mar-07 19:04
Khan.Bangash9-Mar-07 19:04 
AnswerRe: HOw to Display or prompt message for asking user for further action Pin
Michael Sync9-Mar-07 20:53
Michael Sync9-Mar-07 20:53 
QuestionFree ASP.NET 2.0 Shipping cart Pin
szmulder9-Mar-07 17:03
szmulder9-Mar-07 17:03 
Questionimage does not display. Pin
Eyungwah9-Mar-07 12:27
Eyungwah9-Mar-07 12:27 
AnswerRe: image does not display. Pin
Guffa9-Mar-07 15:14
Guffa9-Mar-07 15:14 
AnswerRe: image does not display. Pin
JustChiragPatel9-Mar-07 20:11
JustChiragPatel9-Mar-07 20:11 
QuestionRe: image does not display. Pin
Eyungwah12-Mar-07 7:03
Eyungwah12-Mar-07 7:03 
Questiona little help again [modified] Pin
blitz2bleach9-Mar-07 10:41
blitz2bleach9-Mar-07 10:41 
QuestionHow to Secure my default.aspx page Pin
Eyungwah9-Mar-07 9:02
Eyungwah9-Mar-07 9:02 
AnswerRe: How to Secure my default.aspx page Pin
kubben9-Mar-07 10:21
kubben9-Mar-07 10:21 
QuestionRe: How to Secure my default.aspx page Pin
Eyungwah9-Mar-07 12:23
Eyungwah9-Mar-07 12:23 
AnswerRe: How to Secure my default.aspx page Pin
kubben9-Mar-07 13:31
kubben9-Mar-07 13:31 
Questionusing Template columns Pin
Mr.Sam9-Mar-07 4:23
Mr.Sam9-Mar-07 4:23 
AnswerRe: using Template columns Pin
Parwej Ahamad9-Mar-07 6:18
professionalParwej Ahamad9-Mar-07 6:18 
GeneralRe: using Template columns Pin
Mr.Sam9-Mar-07 6:52
Mr.Sam9-Mar-07 6:52 
AnswerRe: using Template columns Pin
postmaster@programmingknowledge.com9-Mar-07 6:57
postmaster@programmingknowledge.com9-Mar-07 6:57 
QuestionError! Pin
nclauder9-Mar-07 4:21
nclauder9-Mar-07 4:21 

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.