System.EventArgs Class
Information   Base Types   Related Resources

EventArgs is the base class for classes containing event data.

  • Namespace: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (890)Discussions (11139)MembersRotorChanges
    Discussions

    Page: 1234567891011121314151617181920
    2122232425262728293031323334353637383940
    4142434445464748495051525354555657585960
    6162636465666768697071727374757677787980
    81828384858687888990919293949596979899100
    101102103104105106107108109110111112113114115116117118119120
    121122123124125126127128129130131132133134135136137138139140
    141142143144145146147148149150151152153154155156157158159160
    161162163164165166167168169170171172173174175176177178179180
    181182183184185186187188189190191192193194195196197198199200
    201202203204205206207208209210211212213214215216217218219220
    221222223224225226227228229230231232233234235236237238239240
    241242243244245246247248249250251252253254255256257258259260
    261262263264265266267268269270271272273274275276277278279280
    281282283284285286287288289290291292293294295296297298299300
    301302303304305306307308309310311312313314315316317318319320
    321322323324325326327328329330331332333334335336337338339340
    341342343344345346347348349350351352353354355356357358359360
    361362363364365366367368369370371372373374375376377378379380
    381382383384385386387388389390391392393394395396397398399400
    401402403404405406407408409410411412413414415416417418419420
    421422423424425426427428429430431432433434435436437438439440
    441442443444445446
    Insert header row more than once? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, I am just wondering if I can insert a header row (with proper format and sorting ability) every 50 rows? Is there a way to do this in datagrid? Reason I am doing this is because our output typically contains a table with 200 columns and 1000 rows. I do not want user to lost context after scrolling a few pages. Thanks, Guogang
    Insert New Row to a DataGrid (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    Hi, I want to add a new row to a datagrid. The new values will get inserted to the new row when a button click event is triggered. I have a situation where the new row is selected, but when the button is clicked, the focus is placed on the previous row and the new row is removed. At this point no values have been inserted to the new row. I found a way around my problem by having to manually add th...
    INSERT syntax error (VIP replies)
    microsoft.public.dotnet.languages.csharp
    when I try to write to a database I get a syntax error I made the code a simple as possible bur also the VS generated code gives the same error. WHY? private void button1 Click(object sender, System.EventArgs e) { string strSQL; strSQL "INSERT INTO Overwerk(datum , begin, eind, omschrijving) VALUES('10 01 2004', '12:00', '16:00', 'Test')"; string strDSN "Provider Microsoft.Jet.OLEDB.4.0;Data Sourc...
    InsertCommand & Parameters (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    Hi All, Strange problem, but I didn't find a solution: I created a C# Form. Because it's some easy stuff to handle here, I used the drag n drop Function to create DataConnection, DataSet & DataAdapter. So far, so well. Update and Delete functions work fine. BUT the Insert function won't do it's work as expected. Here's a code snippet: snip private void Broadcast Load(object sender, System.EventArg...
    InsertCommand and Parameters (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Hi All, Strange problem, but I didn't find a solution: I created a C# Form. Because it's some easy stuff to handle here, I used the drag n drop Function to create DataConnection, DataSet & DataAdapter. So far, so well. Update and Delete functions work fine. BUT the Insert function won't do it's work as expected. Here's a code snippet: snip private void Broadcast Load(object sender, System.EventArg...
    Inserting new row into DataTable ... doesn't work (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Hi there, I need to insert new row into DataGrid to a specified position (not at the end of the table). I tried to use the DataTable.Rows.InsertAt() method which does (almost) exactly what I need. The 'almost' means that the row is added at the end of the table even if I specify an index for the new row. I have already tried to search the internet and the only solution I have found was to call Dat...
    Inserting rows in dataset bound to XmlDataDocument - Framework bug? (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have a C# Windows form with a datagrid. The datagrid displays a dataset. The dataset is created by reading an xml file. The dataset is read into an XmlDataDocument. The datagrid and the xml data will not sync when inserting new rows: When I insert a new row to the dataset by using System.Data.DataRowCollection.InsertAt, everything looks fine in the datagrid. The problem is the xml in the XmlData...
    inserting trouble in V1 (VIP replies)
    ASPFriends.com 'aspngdatagridrepeaterdatalist' list
    Hi Is there any changes in V1 from B2 about inserting a record in a database. It complains about Missing semicolon (;) at end of SQL statement. In B2 this was without ";" but now it seems to be a part. But I still get error when trying to save, not when I'm compiling. Is there anyone who sees my problem..? Thanks Eivind My code below Private Sub bLagre Click(ByVal sender As System.Object, ByVal e ...
    Inserting/Updating a new row into an access database problem (VIP replies)
    microsoft.public.dotnet.languages.vb
    Im trying to insert a new row into an access database from a dataset in a windows form. I load the form with proper InsertCommand and UpdateCommand properties and parameters. I then fill my dataset with my data adapter, define a primary key, bind my text boxes to column names. For the insert, i create a new datarow in the dataset to insert. It seems to be binding correctly because I can scroll thr...
    Instance of Variable over InvokeMember() (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hello, i want to fill all sqlDataAdapters in a form generically. I tried sth. with MemberInfo[] from system.reflection. But in the end i couldnt got the instance of my Variables. what is the normal way to get the instance of component variable "CallByName" like ? thanks, Frank Dzaebel
    Instantly disable a server side asp.net button? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello. I've read many posts about disabling submit buttons, but I can't get these answers to solve my problem. I have a server side asp.net button, and under the button I have code behind that does some simple processing, followed by a response.redirect. When the user clicks on this button, I would like the button to instantly appear to be "ghosted / grayed out / disabled", like a typical disabled...
    Instar a record in Access (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Hi! When I execute a INSERT statement this error is display: "Operation must use an updateable query" The Server is a Windows 2003 The users of ASP.NET and IU ...... is in Administrators groups! The database is Access 2003. Can you help me please? This is the code: % @Page Language VB debug true% % @Import Namespace "System.Data"% % @Import Namespace "System.Data.OLEDB"% Script Runat Server Sub Pa...
    Instead of Response.Redirect I'm getting HTML returned (VIP replies)
    ASPFriends.com 'aspngescalate' list
    I tried to ask this on [aspngfreeforall] and the moderators private lists and got no working answer (one answer in total). Now I need to get this answered because the other lists are not providing me with valid answers. This in an intermittent error id say 80% of the time its occurring. I'm calling Response.Redirect in a sub as so Sub NextPage(sender As Object, e As System.EventArgs) Dim dNo, dQst...
    int32 to native int (VIP replies)
    microsoft.public.dotnet.languages.vc
    Can this be done? Is there a way to "de alias" the int datatype so I can pass an int into a C method?? Paul
    Integer Type (.net) (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    If I have a textbox, Let use to input a text.. I want to check the input text is integer type or not I use isnum() to validate it, but double type also pass the validation.. I don't want to use Field Validation (asp.net) to check it. Any Function can check the input type is integer or not? Thank You X 100!!
    Interact With Dynamically Created Control (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    I am building an app in VB.NET. I have code that dynamically creates a textbox control and populates it based on some values in a dataset. The textbox is disabled upon creation. I am also creating a command button, that when clicked should enable the textbox. However, since I created the txtbox dynamically I do not know how to reference it or any of its properties. I would appreciate it if someone...
    Interaction between the classes (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I'm trying to emulate the TAB and ENTER key with two hardware buttons of my PDA, using VB.NET and an implementation of iMessageFilter of OpenNETCF. My question is: if I have to emulate the click of a button that is not in the filter class, but in the form class, how do I do this ? Thanks, Luca
    Intercept Messages with MessageWindow? (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, I'm trying to intercept windows messages of a control, so I saw I have to use a MessageWindow derived class. I made this simple example, that I thinked would intercept all messages to my form and changed Form1.Text into the message code. Obviously it does nothing :( Why? ' You can do a Copy and paste on a blank .vb file ' ' Form Imports Microsoft.WindowsCE.Forms Imports System.Windows.Forms Pu...
    Internal Class Storage as DataRow (VIP replies)
    microsoft.public.dotnet.framework
    Hi all, I have a data intensive application and I'm in the process of design a middle tier object to abstract the data model. All the properties of these objects are going to need private internal storage. Each property maps directly to a database field.Since the object is so data intensive i am going to use the SQL data types for a cleaner mapping to my DB layer. I was thinking of using the DataR...
    Internal connection fatal error (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    We are running a asp.net site, we are using a tiered architecture with the data class looking like: Function MyDataReader(ByVal stylemainid As Int32, ByVal letter As String) As SqlDataReader Dim myConnection As SqlConnection New SqlConnection(ConfigurationSettings.AppSettings("connectionString")) myConnection.Open() Dim myCommand As SqlCommand New SqlCommand("", myConnection) myCommand.CommandType...
    Internal connection fatal error (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I've seen other posts about such errors, but never a solution. It seems to appear randomly under load. We are pretty vigilant about "using" IDataReader's and Connections, so it's pretty unlikely that we're doing something outwardly wrong that would excuse this sort of behavior. The stack is: TARGETSITE: System.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior, System.Data.SqlC...
    Internal vs friend (C++) (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I need to grant a class access to protected fields of another class in the way its possible in C with the friend keyword. However I would like to keep the class protected towards other class within the same program/assembly. The two classes are not 'related' (inherited). How can I do this. I cant see how the keyword Internal can be used for this purpose. best regards Jesper.
    Interop with Java WS - Serialization Exception (VIP replies)
    microsoft.public.dotnet.framework.webservices
    I have a .NET client where I am trying to invoke an rpc/lit web service running on WebLogic 8.1 SP2. This is a POJO web service (no fancy interfaces, just a WebServiceServlet wrapping a java object ala weblogic API). The service method is simply: org.w3c.Document myServiceMethod(org.w3c.Document input); The WSDL marks the input and response data type as "XSD:anyType" where XSD is the XMLSchema nam...
    Invalid Cast Exception Calling Bsse Class Method (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS 5), but fails on IIS 6 running on a Win2003 server. The web uses Pages derived from a custom class I wrote (which itself derives from Page) to provide some common functionality. The Page Load handler the...
    Invalid cast from SQL to other server (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Making the following call to a local MSAccess database works fine: Sub Session Start(ByVal sender As Object, ByVal e As EventArgs) Dim intRows As Integer Dim strSQL As String Dim ds As New DataSet ' Create connection Dim cn As New OleDbConnection With cn .connectionstring "provider Microsoft.Jet.OLEDB.4.0;" & "Data Source C:\PDB\Development\Database\PDB.mdb" End With ' Open connection cn.Open() ' ...
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com