PC Review


Reply
Thread Tools Rate Thread

How assign information in a datagrid control?

 
 
=?Utf-8?B?Q2FybWVuIGRlIExhcmE=?=
Guest
Posts: n/a
 
      14th May 2004
hello to all, I have a datagrid control in which i need that after I capture a value in certain cell, the following cells tak
the value of variables, but I want that it is in automatico. What
found was the following

Private Sub dtgCobD_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles dtgCobD.CurrentCellChange
If dtgCobD.CurrentCell.ColumnNumber = 3 The
dtgCobD.Item(dtgCobD.CurrentCell) = Client
End I
If dtgCobD.CurrentCell.ColumnNumber = 4 The
dtgCobD.Item(dtgCobD.CurrentCell) = Import
End I
End Su

but the disadvantage is that I must move with the arrows or the ke
tab for the values to be updated.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to assign foreground and background color for datagrid =?Utf-8?B?c2hhbm11Z2FyYWph?= Microsoft Dot NET Compact Framework 1 15th May 2006 06:51 PM
check list boxes: how to assign information to items D Microsoft VB .NET 0 1st Nov 2005 04:52 PM
How do you assign a task with all the information from the form? =?Utf-8?B?TWVsODk0MA==?= Microsoft Outlook Discussion 1 1st Nov 2005 09:21 AM
Assign value from datagrid to a session variable Jesper Pedersen Microsoft ASP .NET 3 24th Oct 2004 02:58 PM
How to assign the DataKeys property of the datagrid programatically from a datasource? Alex Microsoft ASP .NET 0 23rd Apr 2004 09:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.