|
by: Bryan Masephol |
last post by:
Hi All
I got a datagrid and a ComboBox on a form. I populate the combobox with
years for all the data avaiable. When the user chooses a year the datagrid
is populated with the specific years information.
Problem... when the users scrolls the datagrid with the mouse wheel it work
for 2 wheel clicks and then for some reason the focus jumps to the combobox
and the year is then changes there for causing the data to change and errors...
|
by: Tom |
last post by:
Hi,
I have been through all kinds of documentation on the datagrid and
dataviews. I have many expensive books that I have looked through. But
nothing has really helped. I want to find out and retrieve copies of
any selected records that are in a dataview. One thing I have done is
used the MouseDown event and HitTestInfo to find out what record has
been clicked on. This tells me the current record and I can retrieve
the record and add it...
|
by: Lalit Bhatia |
last post by:
Hi,
In Datagrid, while setting width of column through GridColumnStyles
collection. width does not set to exact width that I am setting in my code.
If I set width to 13, it is changed to 130 or if set to 208, it changes to
206.
On changing width of column I am resizing the width of grid. I am using
mouse down and mouse up events for this. On Mouse down, I store the position
and on mouse up, check the difference between positions and set...
|
by: Fred Nelson |
last post by:
Hi:
I have a VB.NET web app that contains a datagrid on a web form that is
loaded as follows:
DataGrid1.DataSource = lookup.searchnames(getinformation)
DataGrid1.DataBind
The grid displays data for the user and contains one column that is an html
link.
|
by: Andy |
last post by:
Hi all,
I'm a beginner. I have a problem. In my datagrid i have read only data
grid. I written code to delete a row by using delete key in keydown
event of datagrid. But this event is not always firing. I have to
select index using mouse and when i press delete key the arrow icon
change into a pen. And then i have to click the same row with the
mouse and then press delete key. Now it's works. Why? I want to delete
arow using click mouse...
|
|
by: Karl |
last post by:
Hi there,
I have a problem needs help.
In a winform, I have a datagrid.
In Mouse move event, I can get coodinates of Mouse. I want to decide which
datagridcell my mouse is on. Can anybody tell me how to do it?
Thanks,
|
by: Nick |
last post by:
Hello,
Please pardon my ignorance as I'm sure this is easy to do. I have a datagrid
where I want to let the user delete columns. I added a context menu to the
datagrid that has a delete option. If the user right clicks on a column
heading can I highlight that column and then delete it? I'm not exactly sure
how to highlight it or figure out what column has been clicked.
In my testing so far when I use the context menu I always get the...
|
by: Ryan Liu |
last post by:
Hi,
I need the MouseDown event be trigged everytime when you press mouse in a
datagrid (System.Windows.Forms).
Hi,
I need the MouseDown event be trigged everytime when press mouse in a
datagrid (System.Windows.Forms).
|
by: Ryan Liu |
last post by:
Can someone give a sample to prevent a row from being deleted in a
datatable?
I tried e.Row.RejectChanges(); in dt_RowDeleting() but seems does not work.
I need verify if there other data using data in this row before actually
remove it from datagrid.
I can certainly control with Delete button. But if I want to allow the user
to use Del key on the keyboard, I lost this kind control.
|
by: DaveS |
last post by:
I am trying to capture the mouse click position in a datagrid but I get the
following compilation error:
Compiler Error Message: BC30002: Type 'System.Windows.Forms.MouseEventArgs'
is not defined.
Source Error:
Line 84: Private myCheckBoxCol As Integer = 0 'my checkbox column
Line 85:
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|