Okay, DataGrids.... lovely lil buggerz
I have a dataset, that has a table with 4 rows. I databound the datagrid to
this, but, here's what I would like to do.... I would like to add a
CheckBox Column as the first column of this bound datagrid, and the CheckBox
value has nothing to do with the underlying table. It's to tell me, as I
parse through the rows of the datagrid, if I need to do a perticular action.
I have searched for 5 hours and really have come up to a loss....
Thanks
Sueffel 6 1106
this is something am using...
am using two pictures(images) one blank and other with check sign. when
user click on a first column of row i swap image (using cellpicture
property). then while parsing i check which image is currently there in
first column. very straight forward solution....
one thing i shud tell u. i used Flexgrid for this. am not sure whether
data grid has cellpicture property.
"Sueffel" <so*****@somewhere.com> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl... Okay, DataGrids.... lovely lil buggerz I have a dataset, that has a table with 4 rows. I databound the
datagrid to this, but, here's what I would like to do.... I would like to add a CheckBox Column as the first column of this bound datagrid, and the
CheckBox value has nothing to do with the underlying table. It's to tell me, as
I parse through the rows of the datagrid, if I need to do a perticular
action. I have searched for 5 hours and really have come up to a loss....
Thanks Sueffel
Hi,
Datagridboolcolumn is a checkbox. http://msdn.microsoft.com/library/de...classtopic.asp
Ken
------------------
"Sueffel" <so*****@somewhere.com> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl... Okay, DataGrids.... lovely lil buggerz I have a dataset, that has a table with 4 rows. I databound the datagrid to this, but, here's what I would like to do.... I would like to add a CheckBox Column as the first column of this bound datagrid, and the CheckBox value has nothing to do with the underlying table. It's to tell me, as I parse through the rows of the datagrid, if I need to do a perticular action. I have searched for 5 hours and really have come up to a loss....
Thanks Sueffel
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OX****************@TK2MSFTNGP10.phx.gbl... Hi,
Datagridboolcolumn is a checkbox. http://msdn.microsoft.com/library/de...classtopic.asp Ken ------------------ "Sueffel" <so*****@somewhere.com> wrote in message news:OD**************@TK2MSFTNGP12.phx.gbl... Okay, DataGrids.... lovely lil buggerz I have a dataset, that has a table with 4 rows. I databound the
datagrid to this, but, here's what I would like to do.... I would like to add a CheckBox Column as the first column of this bound datagrid, and the CheckBox value has nothing to do with the underlying table. It's to tell me, as
I parse through the rows of the datagrid, if I need to do a perticular action. I have searched for 5 hours and really have come up to a loss....
Thanks Sueffel
Cool, but, that's not quite what I'm concerned about. The DataGrid is bound
to a Table in a DataSet, and this table has 4 columns. I need to add a 5th,
unmapped column to the datagrid and make it a CheckMark. I'm going to play
around with it a little bit....
Thanks for the site though, gives me a little more insight thanI had
before....
Sueffel
Hi,
You can add a column to the datatable.
Dim dc As New DataColumn("MyBoolColumn", GetType(Boolean))
ds.Tables("Categories").Columns.Add(dc)
Dim dr As DataRow
For Each dr In ds.Tables("Categories").Rows
dr.BeginEdit()
dr("MyBoolColumn") = False
dr.EndEdit()
Next
Ken
----------------
"Sueffel" <so*****@somewhere.com> wrote in message
news:eO*************@TK2MSFTNGP11.phx.gbl... "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:OX****************@TK2MSFTNGP10.phx.gbl... Hi,
Datagridboolcolumn is a checkbox. http://msdn.microsoft.com/library/de...classtopic.asp Ken ------------------ "Sueffel" <so*****@somewhere.com> wrote in message news:OD**************@TK2MSFTNGP12.phx.gbl... > Okay, DataGrids.... lovely lil buggerz > I have a dataset, that has a table with 4 rows. I databound the datagrid > to > this, but, here's what I would like to do.... I would like to add a > CheckBox Column as the first column of this bound datagrid, and the > CheckBox > value has nothing to do with the underlying table. It's to tell me, as I > parse through the rows of the datagrid, if I need to do a perticular > action. > I have searched for 5 hours and really have come up to a loss.... > > Thanks > Sueffel > >
Cool, but, that's not quite what I'm concerned about. The DataGrid is bound to a Table in a DataSet, and this table has 4 columns. I need to add a 5th, unmapped column to the datagrid and make it a CheckMark. I'm going to play around with it a little bit....
Thanks for the site though, gives me a little more insight thanI had before....
Sueffel
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uw**************@TK2MSFTNGP09.phx.gbl... Hi,
You can add a column to the datatable.
Dim dc As New DataColumn("MyBoolColumn", GetType(Boolean))
ds.Tables("Categories").Columns.Add(dc)
Dim dr As DataRow
For Each dr In ds.Tables("Categories").Rows
dr.BeginEdit()
dr("MyBoolColumn") = False
dr.EndEdit()
Next Ken ---------------- "Sueffel" <so*****@somewhere.com> wrote in message news:eO*************@TK2MSFTNGP11.phx.gbl... "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:OX****************@TK2MSFTNGP10.phx.gbl... Hi,
Datagridboolcolumn is a checkbox. http://msdn.microsoft.com/library/de...classtopic.asp Ken ------------------ "Sueffel" <so*****@somewhere.com> wrote in message news:OD**************@TK2MSFTNGP12.phx.gbl... > Okay, DataGrids.... lovely lil buggerz > I have a dataset, that has a table with 4 rows. I databound the
datagrid > to > this, but, here's what I would like to do.... I would like to add a > CheckBox Column as the first column of this bound datagrid, and the > CheckBox > value has nothing to do with the underlying table. It's to tell me,
as I > parse through the rows of the datagrid, if I need to do a perticular > action. > I have searched for 5 hours and really have come up to a loss.... > > Thanks > Sueffel > >
Cool, but, that's not quite what I'm concerned about. The DataGrid is bound to a Table in a DataSet, and this table has 4 columns. I need to add a 5th, unmapped column to the datagrid and make it a CheckMark. I'm going to play around with it a little bit....
Thanks for the site though, gives me a little more insight thanI had before....
Sueffel
Coool, wasn't sure if that was going to screw with the mappings..... Had to
run a network drop, so haven't been able to play yet...
Thanks again,
Sueffel
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uw**************@TK2MSFTNGP09.phx.gbl... Hi,
You can add a column to the datatable.
Dim dc As New DataColumn("MyBoolColumn", GetType(Boolean))
ds.Tables("Categories").Columns.Add(dc)
Dim dr As DataRow
For Each dr In ds.Tables("Categories").Rows
dr.BeginEdit()
dr("MyBoolColumn") = False
dr.EndEdit()
Next Ken ---------------- "Sueffel" <so*****@somewhere.com> wrote in message news:eO*************@TK2MSFTNGP11.phx.gbl... "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:OX****************@TK2MSFTNGP10.phx.gbl... Hi,
Datagridboolcolumn is a checkbox. http://msdn.microsoft.com/library/de...classtopic.asp Ken ------------------ "Sueffel" <so*****@somewhere.com> wrote in message news:OD**************@TK2MSFTNGP12.phx.gbl... > Okay, DataGrids.... lovely lil buggerz > I have a dataset, that has a table with 4 rows. I databound the
datagrid > to > this, but, here's what I would like to do.... I would like to add a > CheckBox Column as the first column of this bound datagrid, and the > CheckBox > value has nothing to do with the underlying table. It's to tell me,
as I > parse through the rows of the datagrid, if I need to do a perticular > action. > I have searched for 5 hours and really have come up to a loss.... > > Thanks > Sueffel > >
Cool, but, that's not quite what I'm concerned about. The DataGrid is bound to a Table in a DataSet, and this table has 4 columns. I need to add a 5th, unmapped column to the datagrid and make it a CheckMark. I'm going to play around with it a little bit....
Thanks for the site though, gives me a little more insight thanI had before....
Sueffel
How does one change the TriState of the check? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Peter |
last post by:
My problem is the last bit of coding below, the like statement does not
work. what I have is a product options field and in it is stored characters
i.e. "avcy" etc what the query does is...
|
by: ano1optimist |
last post by:
I've got the code to search through a directory for word documents,
open the doc, search for specific text... but I'm trying to extract
data that immediately follows the selected highlighted text. ...
|
by: amit |
last post by:
I want to find out that if there is a mechanism to find a text inside a C# file and replace it with another string.
I am using DTE to do it, the find proerty does it, the results are getting...
|
by: David T. Ashley |
last post by:
Hi,
Red Hat Enterprise Linux 4.X.
I'm writing command-line PHP scripts for the first time.
I get the messages below. What do they mean? Are these operating system
library modules, or...
|
by: etuncer |
last post by:
Hello All,
I have Access 2003, and am trying to build a database for my small
company. I want to be able to create a word document based on the data
entered through a form. the real question is...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
| |