473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

VS 2005 C# DataGridView.UserAddedRow Event

When I try to add this event handler, I get an error:
this.dgScheduleCamera.UserAddedRow += new
System.Windows.Forms.DataGridViewRowEventHandler(t his.dgScheduleCamera_UserAddedRow);

Error:
No overload for 'dgSchedule_UserAddRow' matches delegate
'System.Windows.Forms.DataGridViewRowEventHandler'

What I am try to do is set up a parent child multi-grid form where I need to
add the parent key info in the child grid when a new row is added.

Please advise if I am doing this wrong.

Thanks Mike
Nov 22 '05 #1
2 2925
Sorry I add this to dotnet.languages.csharp. I wasn't aware of the csharp
newsgroup.

"msmith" wrote:
When I try to add this event handler, I get an error:
this.dgScheduleCamera.UserAddedRow += new
System.Windows.Forms.DataGridViewRowEventHandler(t his.dgScheduleCamera_UserAddedRow);

Error:
No overload for 'dgSchedule_UserAddRow' matches delegate
'System.Windows.Forms.DataGridViewRowEventHandler'

What I am try to do is set up a parent child multi-grid form where I need to
add the parent key info in the child grid when a new row is added.

Please advise if I am doing this wrong.

Thanks Mike

Nov 22 '05 #2
Sorry I add this to dotnet.languages.csharp. I wasn't aware of the csharp
newsgroup.

"msmith" wrote:
When I try to add this event handler, I get an error:
this.dgScheduleCamera.UserAddedRow += new
System.Windows.Forms.DataGridViewRowEventHandler(t his.dgScheduleCamera_UserAddedRow);

Error:
No overload for 'dgSchedule_UserAddRow' matches delegate
'System.Windows.Forms.DataGridViewRowEventHandler'

What I am try to do is set up a parent child multi-grid form where I need to
add the parent key info in the child grid when a new row is added.

Please advise if I am doing this wrong.

Thanks Mike

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Arvind | last post by:
Hi I edit a cell in a DataGridView, and then would move to another cell in the DataGridView using mouse. Then the DataGridView as of now does scroll down to the last visited cell. But when I try...
2
by: msmith | last post by:
When I try to add this event handler, I get an error: this.dgScheduleCamera.UserAddedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.dgScheduleCamera_UserAddedRow); Error: No...
0
by: David Veeneman | last post by:
I've come across an odd bit of behavior on the VS 2005 TabControl, and I'm wondering if its a bug, or if I'm missing something. I have a TabControl with five tab pages. Each page has a...
1
by: Joaquin | last post by:
OK, I hate myself for asking this, it's the worst question I have ever asked but it's worse not to ask: ¿How do I update a datatable in vs 2005? I mean, I am using a typed dataset, a...
1
by: Dave | last post by:
I have a table with 3 fields of which the primary key is a autonumber. I have created my dataadapter, dataset and datagridview using a wizard. However, in the datagrid, the update and delete...
1
by: David | last post by:
I have a realtime stock quote system developed where I am updating a typed dataset with realtime quotes. I want my DataGridView control to show green forecolor when a price moves up and red...
2
by: bob | last post by:
Can anyone tell me the best way to update a dataset while it is being edited/viewed in the DataGridView control? Is this something that should be inserted into one of the grid's events? or should...
7
by: Ryan | last post by:
I have a DataGridView which displays numeric (Int32) data from an underlying database. I want the numbers to be displayed in numeric format "#,###" (with commas). I want to also limit the user so...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
On a form - I have a datagridview which is docked to the entire form. The datagridview allows users to Delete and/or Add Rows. On the Form_Load event I Fill the datagridview source table with a...
1
by: QuickBooksDev | last post by:
VB.NET 2005 DataGridView Checkbox - Check Event need to know check status I would like to use the DataGridView Checkbox like a normal checkbox. When someone clicks on it I would expect that I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.