C# - Trigger On Database Using A Web And Winform Application
May 25, 2010
Situation: I have a web application which shows errors and where you can accept those error messages. I also have a service, which checks errors from a system and sets the error messages in the database. When I accept an error in the web application, i would like the service to know which error message has been accepted, so that it can do some other actions. My guess is that this could be done through some sort of trigger, but i can't figure out how.
View 1 Replies
Similar Messages:
May 17, 2010
I'm trying to create Global.asax in a Winform. I could do it in ASP.NET, but i couldn't find a way for Windows Application. I have a singleton class called DataAccessLayer, i need to instantiate it once only, so i can call its method/properties anywhere in the application easily.
View 5 Replies
Mar 9, 2010
I've developed a very simple ASP.NET (jQuery) application. The RDBMS is MS Sql Server but I could easily convert it in MS Access. My client would like to have it available on a CD, ready to run. I was thinking to convert it in a WinForm app but, still, I have to install the framework on the client. Is there any other "possible" solution?
View 5 Replies
Mar 10, 2011
Microsoft release a product named - Visual Studio Load Test Virtual User Pack 2010 to do that. However, it cost USD$4,799. So,is it other free or commercial tool can do simulate jobs? At now, my solution is :
Winform :
3 x virtualbox + WinXP with some macro software.
ASP.NET
3 x virtualbox + WinXP + Firefox and iMacro
View 3 Replies
Nov 26, 2010
i have C# Winform program and i need to convert it to Webform. can i get any simple sample for how to show database grid on screen,
add new, update and delete ?
i try to show table on screen like this:
SQL = "SELECT * FROM MEN order by Lname";
dsView = new DataSet();
adp = new SqlDataAdapter(SQL, Conn);
adp.Fill(dsView, "MEN");
adp.Dispose();
GridView1.DataSource = dsView.Tables["MEN"].DefaultView;
View 1 Replies
Jan 20, 2010
I want to trigger a client application when a button in the browser is pressed. I want o have a button in the browser that says "Record sound". When its clicked a client app starts recording the sound (in this case a call via Skype). How can I do this? Or perhaps there already is a browser based application/plugin that does this?
View 1 Replies
Dec 6, 2010
I have many operations in the database that need to trigger asp.net applicaton code with service broker in sql server 2005
View 5 Replies
Aug 1, 2010
I am creating a website using MVC and Entity Framework for data access and implementing my own user registration etc.. I was wondering if it is better to use a SQL Trigger or addtional LINQ in the register function to enter data into a user profile table after entering data into the Users table when a user registers. I need to add a row to the UserProfile table with the userID etc for additoional info they might have down the road if they choose to enter it.
View 1 Replies
Oct 31, 2010
I have UpdatePanel with GridView and i want register posback triger for index changing and asyncpostback for pagging and sorting.
When registering AsyncPostback (with event) and Postback in one control i have ASP event.
How go around this problem? , dynami register triggers mayby is a solution but i can`t unregister triger.
View 2 Replies
Aug 2, 2010
how to migrate an existing database from a specific application to a new Ms Access based application(database)?
View 4 Replies
Aug 20, 2010
I have table A in database A , in table A i have trigger to insert record to database B table A, each update and insert of database A -table A, triiger fire and insert record in database B table A, when i try to update some times asp.net application gives error
"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
and then error log says System.Data.SqlClient.SqlException: Database 'database B is being recovered. Waiting until recovery is finished.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)[code]....
View 1 Replies
Jun 1, 2010
I want to know when to use winform and MVC asp.net
View 11 Replies
Oct 25, 2010
I have pdf file saved on my hard disk. I want to print it without opening it in a single click.
View 1 Replies
Dec 7, 2010
I didn't think it was possible but I was just talking to a co-worker who said she had done it before. Is she pulling my chain?
View 4 Replies
Jan 25, 2010
I have succeeded in capturing image from webcam with window form.
There is a problem, i.e I'd like to apply this application on web page.
I try to convert winform component to webform component
(Winform Component (PictureBox) to Web User Control (asp:Image)), but it fails.
View 1 Replies
Apr 1, 2011
I've an ASP.NET application running for reporting purposes. This is done for the management. The persons on the production floor have
a windows application running. Some of them needs to view the ASP.NET reporting page. To avoid writing twice the same reporting tools
(ASP.NET and Windows application) I want to import the ASP.Net pages into a windows form. I don't want to have the ASP.NET pages running
outside the windows application.
View 1 Replies
Aug 6, 2010
Assuming i have a winform that has a button called "Create a Quote". Once user clicks it, a PDF File gets created on desktop. The PDF File has a fixed design/structure e.g. the logo is at the top left corner, the headers are fixed, etc. However, the data it self is pulled from a database.
As you see above, Quotation #, Description, Qty, U.P (USD), T.P (USD) records should be fetched from the db and dumped in the pdf template then create the pdf for user.
View 1 Replies
Jan 23, 2011
From:
[URL]
The OriginalSource property of the object identifies the original object that received/initiated the event. Consider a custom control (called CustomControl1 in this example) that is composed of a TextBlock. When a MouseDown event is raised on the TextBlock, the OriginalSource property will be the TextBlock, but in CustomControl1's handler, the Source will be changed to the CustomControl1 object so that other elements along the event's route will know that CustomControl1 received a MouseDown.
Is there equivalent of WPF OriginalSource event property in Winform and ASP.NET ? If not how to emulate this ?
View 1 Replies
Apr 16, 2010
I would like to write a helper function which build the exception message to write to a log.The code look like:
if(IsWebApp)
{
use HttpContext to get the Request Path and RawUrl [code]....
View 4 Replies
Dec 18, 2010
The dependency property framework is a general UI Framework that can be needed outside WPF. So is there a way to use it for Winforms or ASP.NET UI for example ?
Update: I mean can I declare a few namespaces and use dependency property framework in winforms and asp.net ?
View 3 Replies
Nov 8, 2010
I developped a light WinForm Control that run like an ActiveX in a Web Page. No problem yet.However, when i want to access System.IO I got a Security Exception. It seems that I have to sign my assembly, so that's what I did. When my assembly is signed, my Web Browser can't show the Winform. I set IE to download any ActiveX in the Security tab ... Nothing happens. Uncheck "Sign Assembly" ... works fine ...
View 2 Replies
Nov 22, 2010
It's a ?/$%/$%"!$ mess ... My webpage contains a winform user control. That user control send text to LPT1.It acts like an ActiveX. I set my website (on localmachine) as a trust one in IE and set all properties for ActiveX under security tab. The user control is showed under IE but I got a System.Security.Permissions.SecurityPermission when execute it.When I sign my control, IE can't display it ! I registered the dll in the .Net Framework Configuration tool
View 3 Replies
Nov 22, 2010
I am getting a parameter is not valid exception..While saving the image
Here is my code to save the image
if (!File.Exists(pictureBox1.Tag.ToString()))
{
Image image = pictureBox1.Image;
image.Save(pictureBox1.Tag.ToString(), ImageFormat.Jpeg);
}
else
{
string delStr = pictureBox1.Tag.ToString();
pictureBox1.Image.Dispose();
File.Delete(delStr);
Image image = pictureBox1.Image;
image.Save(delStr, ImageFormat.Jpeg);
pictureBox1.Image = Image.FromFile(delStr);
}
View 2 Replies
Nov 13, 2010
Data from the server subscription cannot trigger table trigger
View 2 Replies
Jan 25, 2011
I need to display report in winform based on winform parameters.
I'm ve in SSRS report via URL, I deployed in Reportviewer in winform . Now I need to display that report based on my win form parameters i.e., I'm ve in textbox and button.
I ve to enter related item in textbox and when I press the button the report should be viewed based on this values. Remember I'm calling report via URL.
View 2 Replies