|
by: Aaron Ackerman |
last post by:
I am using typed datasets in an N-Tier Windows app using VB.NET.
I know this posting cannot be fully explained in a single post that is why I
am asking for someone to point me to a real world tutorial (in vb.net) that
can show me how to use a bound Datagrid to it's fullest potential. I need to
utilize the bound Datagrid in two modes. One were a bound Datagrid can be in
edited directly utilizing bound combos and textbox right on the grid,...
|
by: PAUL EDWARDS |
last post by:
I have a windows form that is bound to a datatable. In VB6
I could just update the field contents and it would be
updated in the database, however if I update the text
property of the control from code it is 50% chance that
the update will make it back to the dataset. If I update
the dataset instead of the form, it does not show on the
form.
Is there a method that should be used?
|
by: Oliver Hopton |
last post by:
Hello,
I'm trying to write a PageableCollection class which implements paging for
me so I don't need to rely on the paging provided by the DataGrid as that
generates huge viewstate when bound to a collection with a lot of items.
The code below works fine when I use foreach to iterate over it but when I
bind the Datagrid to an instance of this class I get the whole collection
displayed in the grid! Does the Datagrid not use...
|
by: Matthew Woods |
last post by:
Hi, is there any way to format and order the columns displayed in a datagrid
bound to a class that inherits from IBindingList? i have used
DataGridTableStyle and added DataGridTextBoxColumns to it in the correct
order which works fine if the dataGrid.dataSource = "ArrayList", but it
doesn't work for my IBindingList wrapper.
If i bind the datasource to the arraylist method then the
ListChangedEventHandler is never invoked and my grid only...
|
by: Mark Kamoski |
last post by:
Everyone--
I have a DataGrid that is bound at run-time.
Upon the click of the Add, a new row is added to the top and it has several
types of controls, (but, it is not permissible to use the built-in editing
functionality of the DataGrid).
The DataGrid is bound.
|
|
by: Ya Ya |
last post by:
I have create a page with SQLDateAdapter, SQLConnetion, DataSet and
Datagrid.
I have bound the Datagrid at design time.
I could not find a way to perform sort operation on the datagrid this way.
I could only sort when I am not bounding the datagrid at design time
Anyone has a code example for that (datagrid is bound in the designer) ?
Thanks for your time
ra294@hotmail.com
|
by: timbobd |
last post by:
I have a Windows form that displays a database table in a DataGrid. When you
click on a row, the row's values get copied to bound TextBoxes below, and
when the "Save" button is clicked the database is updated (as is the DataGrid
row) with changed values in the TextBoxes. Here are some observations:
1) When changes are typed into a text box and "Save" is clicked, the changes
are reflected in the DataSet.Tables().Rows().ItemArray value, but...
|
by: Marcus Kwok |
last post by:
I am having a weird problem with my DataGrid that is bound to an
ArrayList. My situation is as follows:
I have two DataGrids on a modal form. The top grid populates an
ArrayList from a file, then the datagrid is bound to it, and it works
fine. The bottom DataGrid is bound to a different ArrayList that holds
the same type as the first ArrayList. Both DataGrids are set to
Read-Only.
The user selects a row from the top DataGrid, then...
|
by: g.o.atkins |
last post by:
Hi,
I've bound an ArrayList to a datagrid and succesfully managed to
display the data via an ItemTemplate column and using <%#
Container.DataItem %>.
The problem I have however is trying to read the value back out of the
datagrid. Basically I have checkboxes next to each item in the datagrid
- when the user clicks on a button im looping through each item in the
datagrid and then trying to read the value out. This works for when a
|
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: 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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|