473,466 Members | 1,631 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to Focus Particular Cells of Datagridview in vb.net

mafaisal
142 New Member
How to Focus Particular Cells of Datagridview in vb.net
ie, in FlexGrid We got focus by
With flexgrid1
.Row=0
.col=1
.focus
end with
then we get focus on col1

in Datagridview how get it..?
Nov 25 '07 #1
1 10773
mafaisal
142 New Member
DataGridView.CurrentCell = DGView.Rows(rowno).Cells(colno)
Nov 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: VA | last post by:
t=document.getElementById('mytable') is a HTML table with some input fields in its cells Why doesnt t.getElementsByTagName('tr').firstChild.focus; put the focus on that text field? It...
0
by: Brian Conway | last post by:
How can I code something to pull a particular cells information in a datagrid and assign it to a variable? I have a button that I want to user to click on, and when they do this it will pull the...
1
by: Nathan Franklin | last post by:
I have a DataGridView on my windows form and I am trying to enable buttons on a toolbar when the DataGridView's GotFocus is called and then disable with LostFocus(). The problem is I can only get...
0
by: SePp | last post by:
Hi all, I have three datagridviews filled by Datasets from a Database. I want to give the user the ability to enter contacts to persons which work in a company. The first datagridview is the...
1
by: Beagley | last post by:
This error occurs when chaning the "Badge Number" field of my database, the program is taking the photo of the record that is being changed and copies it to the NEXT record in the DataGridView...
0
by: Leonidas Savvides | last post by:
When getting from database and appearing to JTable, how I modify particular cells just prior appearance(eg. Increase base salary(from db) by 10%) to JTable? below in BOLD are cells to modify... ...
1
by: Sean Len | last post by:
Hi guys, currently Im working on a program where generate a datagridview from database. After generating the datagridview, i would like to add another row below the column to sum the value. ...
0
by: lenniekuah | last post by:
Hullo Good Guys, I need your help. Please help me. I am very surprise of this error message: Index was out of range. Must be non-negative and less thatnt he size of the collection. Parameter name...
1
BRawn
by: BRawn | last post by:
Hi guys, I'm busy writing an Orders application and one of the columns in the DGV is editable so the user can type in the order amount of the product. I'd like to know if there's a way to set...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.