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
    Datagrid and Dataset help needed (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I am trying to do a multi row edit of a datagrid per the article: http://www.dotnetjohn.com/articles.aspx?articleid 83 with the purpose of getting the template column data in the datagrid back to a stored procedure for a SQL update. My code below compiles and appears to work, however I have not been able to figure out how to loop through the dataset to verify it received the data from the template...
    DataGrid and Wheel on mouse (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Using VS 2003, VB.net, msde... I have a databound datagrid that works fine. The form also has several combo boxes that determines what the datagrid displays. When data is displayed, if you highlight a row, or click on a cell, and use the mouse wheel to scroll down, it immediately gives focus to combobox tab stop 1, scrolling down it's options. I would anticipate the wheel to simply scroll down the...
    DataGrid BGcolor (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Is there a way to change the BGcolor of row(s) on the web datagrid based on values within a cell Example: rows 1, 5, 9 all need to have their background color different than all other rows I am using vb.net code behind, web form datagrid, calling a webs service
    DataGrid Binding Boolean Property of Custom Objects (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    I am experimenting with binding collections of custom objects to a DataGrid. I am having problems with the DataGridBoolColumn style that I am mapping to my boolean properties: I cannot turn off the tri state behavior. Setting AllowNulls false does not work. I also get an error "Cannot Winen from Target Type to Primitive Type. Do you want to correct the value?" when leaving a cell in Null state. (g...
    datagrid binding problem (VIP replies)
    microsoft.public.dotnet.languages.vb
    What I have is three forms. Form one with buttons 1, 2 and 3; and forms 2 and 3 with datagrids. Button 1 populates arrays a(i,j) and b(i,j) with values. Button 2 creates a datatable containing the a(i,j) array then adds that table to a dataset which is in turn bound to a datagrid in an instance of form 2 called matrixa. Button 3 creates a datatable containing the b(i,j) array then adds that table ...
    Datagrid button column gives BC30456: "not a member" error (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, Relatively new to asp.net and having some trouble wiring up a button column in a datagrid. I keep getting the error: BC30456: 'AddToCart' is not a member of 'ASP.homepage aspx'. Have been following the guidelines in ASP.NET Data Web Controls, but seem to be pounding my head on the wall. Probably an easy fix for one of you all. Would really appreciate your input. Thanks in advance. Tom Here's t...
    Datagrid ButtonColumn short Question (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, Im making a web custom datagrid of products. I have this piece of code in the override OnInit Method: ButtonColumn colbtn new ButtonColumn(); colbtn.ButtonType ButtonColumnType.LinkButton; colbtn.Text " a href # onclick alert(" ") See Product /a "; How could i know what link is pressed by the user?, i would like to have a link buton in each row of the datagrid, and when a user clicks on it ope...
    Datagrid cell - How to de-select a cell (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello, Can someone tell me how you de select (un select) the currently selected cell in a datagrid? Thanks
    Datagrid Cell validation (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    By using the datagrid.currentcellchanged, I can get a grid row/column value before changes. How could I validate if this row/column has been modified? Thanks. Nancy.
    DataGrid childcontrols problem (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    Hi, I am developing a custom control that inherits from the datagrid. I want the normal functionality of the Datagrid, then several buttons created underneath the grid (not in the footer or pager). In my basic example below I am creating a single button in the overridden CreateChildControls. This compiles ok, and when I use the control in a page, the grid renders ok, but I do not see the button. I...
    DataGrid column Locked Property (VIP replies)
    microsoft.public.dotnet.languages.vb
    In VB6, any column in the DataGrid had a Locked Property. I can not find this property in the .Net DataGrid. Where is this property or what is the replacement property?
    DataGrid Column sizing - Help (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I have snipped the following code from an example only to find that it apparently doesn't work with regard to comlun sizing. I have been wrestling with this to no avail. The dataset is filled with the expected data but the size is wrong. Whenever I run with the code below numeric fields have a size of 1, vchar fields a size of 5 and date fields a size of 2. If I comment the column.width statements...
    DataGrid column with a different DataSource (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I've got a template column (Status) in my datagrid which must retrieve its content from a different datatable (Status) than the one used by the datagrid (Apps). There is a relationship between the tables and the grid contains the column StatusId which could be used for the link. How can I databind the 'Status' column?
    DataGrid column with a different DataSource (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I've got a template column (Status) in my datagrid which must retrieve its content from a different datatable (Status) than the one used by the datagrid (Apps). There is a relationship between the tables and the grid contains the column StatusId which could be used for the link. How can I databind the 'Status' column?
    DataGrid Command Doesn't work (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, I have this column in my DataGrid: asp:ButtonColumn DataTextField "site name" HeaderText "Name" CommandName "Select1" ItemStyle HorizontalAlign "Left" VerticalAlign "Top" /ItemStyle /asp:ButtonColumn This is how I bind the command to event handler: this.dg.ItemCommand new System.Web.UI.WebControls.DataGridCommandEventHandler(this.dg Command); And this is the event handler: private void dg Comm...
    datagrid copy rows (VIP replies)
    microsoft.public.dotnet.general
    Hello Group, I have 2 datagrids and the first one is bound to a database. Each row consists of checkbox, textbox etc.. As the user makes the selection, I want to add the corresponding row to the other datagrid. Unable to figure out how to copy rows in DG. Any help would be appreciated! Thanks, Chris.
    datagrid datatable problem. (VIP replies)
    microsoft.public.dotnet.languages.csharp
    At added two column and more column hereafter,I immediately click del button,the program is no problem. but if i first click the DataGrid columnHeader and then click the del button, i find when column is finally ,a error is happen underside is my program. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namesp...
    DataGrid disappears on UpdateCommand (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, I'm using a DataGrid with dynmically created colums. (AutoGenerateColumns false) I call the DataGrid creation and data binding if !IsPostBack in Page Load. By clicking on Update my DataGrid disappears. The strange this is: When I use AutoGenerateColumns true (not using dynmically created columns) everything works fine. Can anybody help me out? Tom
    DataGrid does not work correctly when selecting item to fill controls and refreshing...HELP? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have been having just on going problems with my MS Datagrids. I have NO idea what I am doing wrong. What is esentially happening is that say I have three records in my Dataset. I click on the third row to populate the textboxes below the grid that correspond to the various columns in the grid. The textboxes fill. I edit the data in one of the textboxes. As I lose focus I update the dataset and r...
    DataGrid does not work correctly when selecting item to fill controls and refreshing...HELP? (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    I have been having just on going problems with my MS Datagrids. I have NO idea what I am doing wrong. What is esentially happening is that say I have three records in my Dataset. I click on the third row to populate the textboxes below the grid that correspond to the various columns in the grid. The textboxes fill. I edit the data in one of the textboxes. As I lose focus I update the dataset and r...
    DataGrid does not work correctly when selecting item to fill controls and refreshing...HELP? (VIP replies)
    microsoft.public.dotnet.languages.vb.data
    I have been having just on going problems with my MS Datagrids. I have NO idea what I am doing wrong. What is esentially happening is that say I have three records in my Dataset. I click on the third row to populate the textboxes below the grid that correspond to the various columns in the grid. The textboxes fill. I edit the data in one of the textboxes. As I lose focus I update the dataset and r...
    datagrid doesn't reflect addnew to dataset (VIP replies)
    microsoft.public.dotnet.framework.adonet
    datagrid doesn't reflect addnew to dataset. I have a form which includes a currency manager (cm), a dataset with one table, and a set of controls that shows the table one row at a time. The buttons allow edit, delete, addnew, update the dataset, and submitchanges (update the dataadapter). The form also includes a grid whose datasource is the dataset's one table. There is no relation between the tw...
    Datagrid enforcing rules of xml schema?! (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Howto make datagrid enforce rules of xml schema?? Created xml schema in the designer. Constraints created there using the following: xs:simpleType name "zipcode" xs:restriction base "xs:string" xs:pattern value "\d{5}" / /xs:restriction /xs:simpleType Datagrid does not enforce this rule, even though dataGrid1 Validating() is called. dataset.WriteXml() saves withouth any warning, but the following ...
    Datagrid events (VIP replies)
    microsoft.public.dotnet.languages.vb
    I wish to know which datagrid event is called when I save data the data on my datagrid by clicking the little pen. The Mydatagrid currentcellchanged event seems to be called just by clicking on the grid without changing anything. The grid is bound to a dataset called mydataset. The reason I wish to know this is because the I need to call 2 procedures when the datagrid details are changed each one ...
    DataGrid has a DataSource, but thinks it isn't bound (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I'm getting a: Data cannot be read from a DataGrid which is not bound to a DataTable. .... exception when I try the following code: Private Sub testSub(ByVal intCol As Integer, ByVal dgIn As DataGrid) Dim dtTemp As DataTable Try dtTemp CType(dgIn.DataSource, DataTable) Console.WriteLine(dtTemp.Rows(0).Item(0)) ' works, no problem ' TODO: ERROR HERE Console.WriteLine(dgIn.BindingContext(dgIn.DataSo...
    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