Is is possible to display a message box (similar to the one in the Windows Forms class) within an ASP.NET page? I am having a user delete an item, and wish to display an "are you sure" confirmation without having to create more ASPX pages, hense a dialog would be perfect! Cheers, Peter
Peter Greenall
Posts
-
prompt -
music filesNot entirely sure, but you may want to try directX - there is plenty of functionality to use filters to compress/decompress different multimedia types. Peter
-
Save wordIm not entirely sure what your problem is. Are you saying that the program will not close or minimise? What did you give the file name and path to - was it TestReport.doc? "Can anyone guide me how to handle the same." this sentence makes no sense - handle the same what??? Regards, Pete
-
.NET platform independant?Hi - a quick question. In one of my books it mentions that .NET programms can run on multiple platforms. Is this just referring to different versions of windows, or is it possible to run apps written for example in c# on linux/Mac OS/Unix etc. If it is possible - roughly how is it done and is anything required on the target OS if it is not windows to allow it to use the application. Cheers Peter
-
Web Service errorHi, Can anyone tell me why I am getting this error?
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Web.Services.Protocols.SoapException: Server was unable to process request. --> A generic error occurred in GDI+. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Mugshot_grabber2.desktop5130.mgupload.upload(String user, String password, Byte[] imgBuffer) in C:\Documents and Settings\Peter Greenall\Desktop\Mugshot_grabber3\Web References\desktop5130\Reference.cs:line 59 at Mugshot_grabber2.Form1.captureTimer_Tick(Object sender, EventArgs e) in c:\documents and settings\peter greenall\desktop\mugshot_grabber3\form1.cs:line 631 at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll ---------------------------------------- Mugshot_grabber2 Assembly Version: 1.0.1496.30186 Win32 Version: 1.0.1496.30186 CodeBase: file:///C:/Documents%20and%20Settings/Peter%20Greenall/Desktop/Mugshot_grabber3/bin/Debug/Mugshot_grabber2.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- Accessibility Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.0 CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.3300.0__b03f5f7f11d50a3a/accessibility.dll ---------------------
-
Help with Images RequiredHi, I am writing an ASP.NET application with c# code-behind. I have a
System.Drawing.Bitmap
variable which funnily enough contains a bitmap image. How can I display this bitmap on an aspx page??? The standard image box will only accept an image source. Thanks Peter -
C# to SQLThankyou all for your help - Im a good few steps closer to my solution. Thanks again, Peter
-
Images, SQL and C# -PLEASE HELPThanks once again for your help Heath!! I did use the search facility for the message boards and general articles, but I was unable to find something which actually stored the image in the database, not just a referance. I will consider doing this though in my implementation. I am using MS SQL Server - not access, and I will carefully go through the mentioned articles. Thankyou once again - I will battle on! Peter
-
C# to SQLI was going along these lines, but part of my problem is that the ways I have seen to do this involve reading the image from a file to put it into a stream, then saving it as an array of bytes. This can then be reversed at the other end. I need to be able to create a byte-array of a System.Drawing.Image.Bitmap variable, to reduce the overhead of saving the file first. As for storing in the SQL server, I did consider using a web-service which re-constructed the stream before saving in the server - not sure if this is possible. There is an 'image' data type in MS SQL, and I was hoping it was going to be as easy as doing an INSERT non-query directly from my c# application, but there seems to be serialization issues here because the System.Drawing.Image.Bitmap data tybe does not implement IConvertable (or something like that). Thanks for your reply - if anyone can help me any further with this problem, I would be MOST grateful. Thanks peter ;P
-
C# to SQLCan anyone tell me how to store an image from a c# windows form, to a MS SQL Server Database. I've been struggling with this for some time now - please help me if you can. Thanks in advice, Peter
-
Images, SQL and C# -PLEASE HELPHi, Im developing a project which consists of a client which sends images to a server. The server must store these images in a database, and I am having a multitude of problems. I first tried creating a web-service which accepted the image as a parameter in a web method, but it would appear that System.Drawing.Image.Bitmap is not serializable - it generates an XML Serialization error. I then thought I would try and access the database directly and just store add images using an INSERT command, but I am getting an error message that the 'object' (I believe this refers to the image object) must implement IConvertable. Can anyone help me at all - I've been trying to sort this for the last week, and I really need to sort it. Thanks in advance Peter