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
    Database - SPEED (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hello everyone. With the enormously helpful developers out there I was able to customize the code below (most of which was supplied TO me (Thank you)). However, what I'm finding is that there is a speed delay problem from when the button is clicked and the results are displayed. While I could create a 'progress bar' control to fill the time while the delay is happening I would like to find out the...
    Database Updating problem (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Please help! I have spent all weekend trying to solve this and its driving me mad! I have a form with a datagrid on. When I click button btnNew, the new row appears in the datagrid but it does not update the back end access database. The program continues to the messagebox to say that it has updated it though. I've attached the relevant code but the main area is the Private Sub btnNew Click at the...
    Database Updating problem (VIP replies)
    microsoft.public.dotnet.general
    Please help! I have spent all weekend trying to solve this and its driving me mad! I have a form with a datagrid on. When I click button btnNew, the new row appears in the datagrid but it does not update the back end access database. The program continues to the messagebox to say that it has updated it though. I've attached the relevant code but the main area is the Private Sub btnNew Click at the...
    Databinding & Saving Updates (VIP replies)
    ASPFriends.com 'aspngdata' list
    I have a page with a list box control. In the OnLoad() method of the page, I've bound the listbox to a dataset that is returned from buiness a object method. When the user finishes updates to the page, they click on an 'ok' button. At that time, I have to update the database from the bound control. Does the list control maintain a pointer to the databound object? I.e. is there a way for me to get ...
    databinding label control (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I'm trying to use a label control to show the # of records in my datagrid and think I'm stuck on something simple...please help: Error is: Name 'myDataSet1' is not declared. FYI, it works fine if I use an integer value like "100" rather than myDataSet1.Tables("CommunitiesT1") MY LABEL CONTROL asp:Label ID "lblRecordCount" runat "server" text " %# RecordCount % " / MY PROPERTY ReadOnly Property Rec...
    DataBinding NumericUpDown to an Object Property (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I am having erratic binding from an object properties to a numericUpDown control. Run the code below and it will be erratic in how it binds to the object properties. Sometimes it will work for 10 15 times in a row, then it doesn't. I have tried hooking Click, Validating, Events events to a routine that will access the .Value property of the control as there were some bugs in this(KB#814347).. but ...
    Databinding problem (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have several controls that I want to bind to properties in a class. The code I use to bind is: txtAddressLine1.DataBindings.Add(New Binding("text", ebtrPlanDetails, "CompanyAddress1")) Whenever I change the text of the textbox, and try to navigate to another control on the form, it doesn't work. The cursor stays on the text box. Tracing what happens, I see that as soon as I click on another cont...
    Databinding to a business object (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, I have an object that I am binding to a text box, this object exposes a boolean field, and I have implemented a format event handler and a parse event handler for the binding object, where I convert the bool value to some meaningful text. i.e. Binding b new Binding("Text",AppOptions.Instance,"RemoteDataRetrieved"); b.Format new ConvertEventHandler(RemoteDataRetrievedToString); b.Parse new Conv...
    databinding to a property of a class ? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Help please I have an example class called Person with 2 public properties Firstname and Lastname, I cant create a textbox on an asp.net form bound to the Person.Firstname property Can anyone help with the required syntax? if i do TExtbox1.text x.firstname it works ok, but I want to edit the textbox setting the value of x.firstname. I am after a webcontrol that will edit person class with a button...
    Databinding to collection properties (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    I have a Orders custom collection with a datagrid and some textboxes bound do it, so that when you click on row, the textboxes are populated with the current object in the collection. code orderCollection Order.FindAllOrders(); // Bind data dataGrid1.DataSource orderCollection; textBox4.DataBindings.Add(new Binding("Text",this. orderCollection,"OrderID")); textBox5.DataBindings.Add(new Binding("Te...
    Databinding Updating (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    Hello, I am trying to build my form using databinding, and I have it displaying the individual row cells in text boxes very nicely, and I can move next and previous through the rows, as well. Oddly enough, I can add rows to the database without a problem, but when I change a value in a text box, and click my save button, it updates the dataset but not the database itself (apart from adding new row...
    DataBinding with controls on a tabpage (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have a problem with controls (several combobox and textbox controls) placed on the TabPages of a TabControl. The controls on the first TabPage display the data from the dataset, but a null dataset is returned from GetChanges when attempting to update. On the other tabpages, no data is displayed in the controls from the dataset, although the dataset contains the right information. All controls we...
    databindings (VIP replies)
    microsoft.public.dotnet.languages.csharp
    hi i have the following code in my project ArrayList pictures (new Pictures()).GetAllPictures(); allPictures.DataSource pictures; allPictures.DisplayMember "pictures.ToString()"; //pictures.ToString returns the names of the pictures. allPictures.ValueMember "pictures.Bitmap"; //this returns the actual picture. and i get the foll error here private void allPictures SelectedValueChanged(object sende...
    Databound text box does not update database (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have a fairly simple form with databound text boxes, but changes (or new records) are not recognized. The text boxes are successfully populated with data (from the database) and I can cycle through all the records. Using a datagrid works fine for updating. I've based this on the first sample project from the book "C# Professional Projects" (Premier Press). I've read many posts concerning this (a...
    DataForm - DataGrid coordination ? Parent/Child tables on a form (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    I create Data Form for displaying data for two tables with foreign key relationship. I select single record in individual controls and add controls for all navigation. Due to the foreign key constraint, I would like to have any change on that key value on the master table to be populated directly to the client table (data grid form). I use the OnLeave event to trigger the change but I don't have a...
    DataFormatString="{0:C}" doesn't show currency (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I put this into my boundColumn in my dataset. the dataset is bound to a Run time created table. The resulting page shows 7.5 or 3.75 or 15, but no $. What gives?
    Datagri "Index was outside the bounds of the array datagrid" error (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    I've a datagrid filled with a collection of objects that inherits from basecollection. When I remove an item from this collection and then click onto the datagrid, I've always this error: "Index was outside the bounds of the array datagrid" I've tried this structure: Dim oldList As Business.MyBaseCollection DirectCast(dgDetails.DataSource, Business.MyBaseCollection) Me.BindList(Nothing, Nothing) D...
    DataGrid (VIP replies)
    ASPFriends.com 'aspngdatagridrepeaterdatalist' list
    Moved from [aspngstart] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll darthcarroll@aspfriends.com I am just starting to learn the datagrid functionality and here's the question. DataGrid editing works fine, if you have limited number of columns to be changed. I've already figured out how to combine full editing and paging. Works well too. What if there are more then 10 columns to be edi...
    Datagrid (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Okay, I give up! I have a datagrid containing a table from a dataset. I want to double click a line and be able to edit the values in that line in a separate window. How can I return the value of the line that has been double clicked? Can I then pass the primary key of that row to another window? thanks
    DataGrid (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I am creating a datagrid control at run time. Me.Controls.Add(Answers) With Answers .AllowPaging True .PageSize 1 .DataSource Data() .DataBind() End With But when I try to access PageIndexChanged event it is not recognized. Any idea why? here is my code for PageIndexChanged event With Answers .CurrentPageIndex e.NewPageIndex .SelectedIndex 1 .DataSource Data() .DataBind() End With
    Datagrid & checkbox (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a datagrid with a checkbox colum created using a template colum How can I reference the checkboxes at run time though code? Thanks Lee
    Datagrid - can that be refreshed via client side javascript? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hello, Through this forum I have found out that you can refresh most web page controls via javascript. That made me wonder if there is a way to refresh (.i.e. rebind) a bound datagrid via combination of webservice calls and javascript functions so that a complete page roundtrip is not necessary to refresh only a datagrid within the page. Does anyone know if this is possible, and if so, how one cou...
    datagrid - get two Add rows at once (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I have a grid control, dataGrid1. It can get into the situation where I get two blank rows for adding new data. When this occurs, doing a quickwatch of the control shows: DataGridRows {length 9} [0] System.Windows.Forms.DataGridRelationshipRow .... [7] System.Windows.Forms.DataGridAddNewRow [8] System.Windows.Forms.DataGridAddNewRow DataGridRowsLength 8 Clicking on the last row, and stopping in th...
    Datagrid add and edit features (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have a read only datagrid that I use to display a heirarchal model of three tables (The example I am setting up uses the Customer, Orders, and Order Detail tables from the northwind database). I load the three tables into a single dataset and then create the relationships. What I want to do is use a separate grid that would display the selected record from the datagrid only, but still would be b...
    Datagrid Add? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Folks, Can somebody help me how I can insert a record into MS Access (oledb) using asp.net? Inserting a record using a datagrid would be the best. But, by going to another add page will also do the trick. My sort, update, delete, and cancel are all working except my add. Any direct help or a link to a help will be highly appreciated. Barney.
    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