473,581 Members | 2,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataGridView: How to allow single row to span multiple lines?

Hi All :)

I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.

I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.

I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.

If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?

Thanks in advance for any assistance!
May 11 '07 #1
7 15638
One thing you could do is to use multiple datagridviews. If your table
contains, say 100 rows and the form can only display 20 columns you could add
5 tables to your datasource tab (in the design view - these would be
persistent tables in the application - unless you prefer to create the tables
on the fly - I think it is just easier to create the tables in the
datasources tab - next to the solution explorer tab) then you could add an
additional form with 5 datagridview that would use each of these 5 tables
which would contain only 20 column a piece from the original table. You
could populate and clear the table as the user moves from record to record.
I will wager that something like this was going on under the hood of your
datagridPro 8.0.

The datagridview is very flexible, you can hide row headers if you don't
want to display them in the additional datagridviews, so it would look like
one continuous row.

Rich
"LostInMD" wrote:
Hi All :)

I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.

I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.

I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.

If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?

Thanks in advance for any assistance!
May 11 '07 #2
Hi Rich,

Thank you very much for the suggestion. I would like to keep all my data
within one table. I have row validation that occurs and I think the code
involved with managing multiple tables would not be worth the benefit of
being able to display all the columns within one screen. Do you know if
there is a way to have, for example, a row that spans 3 lines where cols 0-3
are on line 1, cols 4-6 are on line 2, and cols 7-9 are on line 3? There
would be multiple rows displayed within the grid. Thanks again for your help!

"Rich" wrote:
One thing you could do is to use multiple datagridviews. If your table
contains, say 100 rows and the form can only display 20 columns you could add
5 tables to your datasource tab (in the design view - these would be
persistent tables in the application - unless you prefer to create the tables
on the fly - I think it is just easier to create the tables in the
datasources tab - next to the solution explorer tab) then you could add an
additional form with 5 datagridview that would use each of these 5 tables
which would contain only 20 column a piece from the original table. You
could populate and clear the table as the user moves from record to record.
I will wager that something like this was going on under the hood of your
datagridPro 8.0.

The datagridview is very flexible, you can hide row headers if you don't
want to display them in the additional datagridviews, so it would look like
one continuous row.

Rich
"LostInMD" wrote:
Hi All :)

I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.

I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.

I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.

If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?

Thanks in advance for any assistance!
May 11 '07 #3
Hello again,

The thing about VB2005 is that you have to write your own code, but - now
you have all the tools you need to be able to do this. With VB6 you could
not perform operations that required OOP. Now you have that. As for your
tables, you can stil use your primary table with row validation and so on.
What I am suggesting is that you pull each row from the main table into the
temp tables and display that. The original row still resides in the main
table. You clear the temp tables for each row you want to display. This is
not very resource intensive. The only catch is that you have to write a
little bit of code.

Regards,
Rich

"LostInMD" wrote:
Hi Rich,

Thank you very much for the suggestion. I would like to keep all my data
within one table. I have row validation that occurs and I think the code
involved with managing multiple tables would not be worth the benefit of
being able to display all the columns within one screen. Do you know if
there is a way to have, for example, a row that spans 3 lines where cols 0-3
are on line 1, cols 4-6 are on line 2, and cols 7-9 are on line 3? There
would be multiple rows displayed within the grid. Thanks again for your help!

"Rich" wrote:
One thing you could do is to use multiple datagridviews. If your table
contains, say 100 rows and the form can only display 20 columns you could add
5 tables to your datasource tab (in the design view - these would be
persistent tables in the application - unless you prefer to create the tables
on the fly - I think it is just easier to create the tables in the
datasources tab - next to the solution explorer tab) then you could add an
additional form with 5 datagridview that would use each of these 5 tables
which would contain only 20 column a piece from the original table. You
could populate and clear the table as the user moves from record to record.
I will wager that something like this was going on under the hood of your
datagridPro 8.0.

The datagridview is very flexible, you can hide row headers if you don't
want to display them in the additional datagridviews, so it would look like
one continuous row.

Rich
"LostInMD" wrote:
Hi All :)
>
I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.
>
I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.
>
I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.
>
If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?
>
Thanks in advance for any assistance!
May 14 '07 #4
Hi Rich,

Thanks for all your help so far :) I would like to attempt what you are
suggesting. However, I think I am not completely clear as to how to attempt
this.

I am guessing that my original query would retrieve all columns from the
table into a datatable (via an adapter) to be used as the datasource for a
bindingsource that will be used as the datasource for the dataviewgrid.

Am I using the main datagridview to populate the other 'few cols'
datagridviews or do I use the bindingsource to populate the other
datagridviews?

Also, for the row validation, etc... when the user moves from record to
record, how do I get the values the user updates to the temp grids to the
main grids?

One last question, how do I display multiple records (each made up of
multiple lines from each sub-grid) on the grid displayed to the user?

I would be very appreciative if you could write a few lines of code that
shows the basics on how to implement your suggestion.

Thank you again for all your help!

"Rich" wrote:
Hello again,

The thing about VB2005 is that you have to write your own code, but - now
you have all the tools you need to be able to do this. With VB6 you could
not perform operations that required OOP. Now you have that. As for your
tables, you can stil use your primary table with row validation and so on.
What I am suggesting is that you pull each row from the main table into the
temp tables and display that. The original row still resides in the main
table. You clear the temp tables for each row you want to display. This is
not very resource intensive. The only catch is that you have to write a
little bit of code.

Regards,
Rich

"LostInMD" wrote:
Hi Rich,

Thank you very much for the suggestion. I would like to keep all my data
within one table. I have row validation that occurs and I think the code
involved with managing multiple tables would not be worth the benefit of
being able to display all the columns within one screen. Do you know if
there is a way to have, for example, a row that spans 3 lines where cols 0-3
are on line 1, cols 4-6 are on line 2, and cols 7-9 are on line 3? There
would be multiple rows displayed within the grid. Thanks again for your help!

"Rich" wrote:
One thing you could do is to use multiple datagridviews. If your table
contains, say 100 rows and the form can only display 20 columns you could add
5 tables to your datasource tab (in the design view - these would be
persistent tables in the application - unless you prefer to create the tables
on the fly - I think it is just easier to create the tables in the
datasources tab - next to the solution explorer tab) then you could add an
additional form with 5 datagridview that would use each of these 5 tables
which would contain only 20 column a piece from the original table. You
could populate and clear the table as the user moves from record to record.
I will wager that something like this was going on under the hood of your
datagridPro 8.0.
>
The datagridview is very flexible, you can hide row headers if you don't
want to display them in the additional datagridviews, so it would look like
one continuous row.
>
Rich
"LostInMD" wrote:
>
Hi All :)

I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.

I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.

I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.

If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?

Thanks in advance for any assistance!
May 14 '07 #5
One last question,

How would I go about showing all the column headers at the top of the "grid"
for all "five" datagridviews?

Thanks again!

"LostInMD" wrote:
Hi Rich,

Thanks for all your help so far :) I would like to attempt what you are
suggesting. However, I think I am not completely clear as to how to attempt
this.

I am guessing that my original query would retrieve all columns from the
table into a datatable (via an adapter) to be used as the datasource for a
bindingsource that will be used as the datasource for the dataviewgrid.

Am I using the main datagridview to populate the other 'few cols'
datagridviews or do I use the bindingsource to populate the other
datagridviews?

Also, for the row validation, etc... when the user moves from record to
record, how do I get the values the user updates to the temp grids to the
main grids?

One last question, how do I display multiple records (each made up of
multiple lines from each sub-grid) on the grid displayed to the user?

I would be very appreciative if you could write a few lines of code that
shows the basics on how to implement your suggestion.

Thank you again for all your help!

"Rich" wrote:
Hello again,

The thing about VB2005 is that you have to write your own code, but - now
you have all the tools you need to be able to do this. With VB6 you could
not perform operations that required OOP. Now you have that. As for your
tables, you can stil use your primary table with row validation and so on.
What I am suggesting is that you pull each row from the main table into the
temp tables and display that. The original row still resides in the main
table. You clear the temp tables for each row you want to display. This is
not very resource intensive. The only catch is that you have to write a
little bit of code.

Regards,
Rich

"LostInMD" wrote:
Hi Rich,
>
Thank you very much for the suggestion. I would like to keep all my data
within one table. I have row validation that occurs and I think the code
involved with managing multiple tables would not be worth the benefit of
being able to display all the columns within one screen. Do you know if
there is a way to have, for example, a row that spans 3 lines where cols 0-3
are on line 1, cols 4-6 are on line 2, and cols 7-9 are on line 3? There
would be multiple rows displayed within the grid. Thanks again for your help!
>
"Rich" wrote:
>
One thing you could do is to use multiple datagridviews. If your table
contains, say 100 rows and the form can only display 20 columns you could add
5 tables to your datasource tab (in the design view - these would be
persistent tables in the application - unless you prefer to create the tables
on the fly - I think it is just easier to create the tables in the
datasources tab - next to the solution explorer tab) then you could add an
additional form with 5 datagridview that would use each of these 5 tables
which would contain only 20 column a piece from the original table. You
could populate and clear the table as the user moves from record to record.
I will wager that something like this was going on under the hood of your
datagridPro 8.0.

The datagridview is very flexible, you can hide row headers if you don't
want to display them in the additional datagridviews, so it would look like
one continuous row.

Rich
"LostInMD" wrote:

Hi All :)
>
I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.
>
I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.
>
I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.
>
If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?
>
Thanks in advance for any assistance!
May 14 '07 #6
And one more :)

How would I be able to determine how many records to move forward/backward
when the user clicks on the vertical scrollbar - whether s/he clicks on the
up/down arrow (for one record) or in the middle of the scrollbar (for one
"screen" up or down) or by dragging the scrollbar (multiple records - how to
determine how many need to be scrolled) up or down?

Thanks again!

"LostInMD" wrote:
One last question,

How would I go about showing all the column headers at the top of the "grid"
for all "five" datagridviews?

Thanks again!

"LostInMD" wrote:
Hi Rich,

Thanks for all your help so far :) I would like to attempt what you are
suggesting. However, I think I am not completely clear as to how to attempt
this.

I am guessing that my original query would retrieve all columns from the
table into a datatable (via an adapter) to be used as the datasource for a
bindingsource that will be used as the datasource for the dataviewgrid.

Am I using the main datagridview to populate the other 'few cols'
datagridviews or do I use the bindingsource to populate the other
datagridviews?

Also, for the row validation, etc... when the user moves from record to
record, how do I get the values the user updates to the temp grids to the
main grids?

One last question, how do I display multiple records (each made up of
multiple lines from each sub-grid) on the grid displayed to the user?

I would be very appreciative if you could write a few lines of code that
shows the basics on how to implement your suggestion.

Thank you again for all your help!

"Rich" wrote:
Hello again,
>
The thing about VB2005 is that you have to write your own code, but - now
you have all the tools you need to be able to do this. With VB6 you could
not perform operations that required OOP. Now you have that. As for your
tables, you can stil use your primary table with row validation and so on.
What I am suggesting is that you pull each row from the main table into the
temp tables and display that. The original row still resides in the main
table. You clear the temp tables for each row you want to display. This is
not very resource intensive. The only catch is that you have to write a
little bit of code.
>
Regards,
Rich
>
"LostInMD" wrote:
>
Hi Rich,

Thank you very much for the suggestion. I would like to keep all my data
within one table. I have row validation that occurs and I think the code
involved with managing multiple tables would not be worth the benefit of
being able to display all the columns within one screen. Do you know if
there is a way to have, for example, a row that spans 3 lines where cols 0-3
are on line 1, cols 4-6 are on line 2, and cols 7-9 are on line 3? There
would be multiple rows displayed within the grid. Thanks again for your help!

"Rich" wrote:

One thing you could do is to use multiple datagridviews. If your table
contains, say 100 rows and the form can only display 20 columns you could add
5 tables to your datasource tab (in the design view - these would be
persistent tables in the application - unless you prefer to create the tables
on the fly - I think it is just easier to create the tables in the
datasources tab - next to the solution explorer tab) then you could add an
additional form with 5 datagridview that would use each of these 5 tables
which would contain only 20 column a piece from the original table. You
could populate and clear the table as the user moves from record to record.
I will wager that something like this was going on under the hood of your
datagridPro 8.0.
>
The datagridview is very flexible, you can hide row headers if you don't
want to display them in the additional datagridviews, so it would look like
one continuous row.
>
Rich
"LostInMD" wrote:
>
Hi All :)

I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.

I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.

I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.

If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?

Thanks in advance for any assistance!
May 14 '07 #7
Good morning,

Generally, a datagridview is used for displaying detail data, and it sounds
like your records are the detail data - but you want to display each row sort
of wrapped around, so to speak. Here is another idea. On the primary form
you have the main datagridview. If a user needs to see the entire row in one
shot - you can programm the app so that when the user selects a row in the
main datagridview - it brings up a 2nd form. In this 2nd form is where you
have the 5 temp datagridviews.

In order to keep track of where the user is on the main datagridview, use a
CurrencyManager object. My suggestion(s) here is/are based on the notion
that you are already using a currency manager. If you are not using a
currency manager - you should note that whenever you are using a
datagrid/datagridview you should always be using a currencyManager :
declare at form Level (or globally sometimes in a Module - you can have
multiple currencyManager s)

Dim curMgr1 As CurrencyManager

Private Sub Form_Load(...) Handles Me.Load
....
curMgr1 = CType(Me.Bindin gContext(datase t.Tables("tbl1" ), CurrencyManager )
curMgr1.Positio n = 0
txtRecordPositi on.Text = (curMgr1.Positi on + 1).ToString
Datagridview1.D ataSource = dataset.Tables( "tbl1"0
....
End Sub

In the click event of the datagridview, the currencyManager will
automatically update its position (starting at position 0 (zero) - thus I add
a 1 when displaying the position). Make your dataset Application level
(global). On the click event of the datagridview you bring up the 2nd form.
Note: I generally display datagridview recordposition in a statusstrip
lable. Add a statusSTrip from the toolbox to your datagridview (or to the
form). It will automatically dock to the bottom of the form. When you click
on the statusStrip, it will automatically start creating either a
statusLable, or dropdown box, or textbox (very nifty control).
Private Sub dgrv1_Click(ByV al sender As Object, ByVal e As System.EventArg s)
Handles dgrv1.Click
tssL2.Text = (curMgr1.Positi on + 1).ToString
Dim frm As New Form2
frm.Show
End Sub

In Form2 you have your 5 datagrids. You populate your 5 temp tables from
dataset.Tables( "tbl1"). You can pass the selected row from the main form
either to the constructor of Form2 and populate your temp tables directly
from the row or set up a ReadOnly property on your main form that would
contain the selected row and read the selected row from the property when
Form2 comes up, or you can pass in the index of the selected row and use a
Dataview control to find that row in dataset.Tables( "tbl1") when in Form2 and
read the contents of the row that way, or you can use an ArrayList to collect
all the values from the selected row and pass the ArrayList to Form2 (I think
the arrayList idea would be the easiest - brain storming here). Say we go
with the ArrayList idea, read in the first 10 items from the list to
tempTable1, then the next 10 items to tempTbl2, tmptbl3, ... then

For i As Integer = 0 to ArrayList.Count
If i < 10 Then
populate tmptbl1
End If
If i >= 10 And i < 20 Then
populate tmptbl2
End If
....
Next

datagridvew1.Da tasource = ds.Tables("tmpT bl1")
datagridview2.D atasource = ds.Tables("tmpT bl2")
....

Now you have a static extended dispaly of the selected row with all the
column Headers viewable on one form without having to scroll.

If this seems a little tedious, just remember -- you are the programmer.
This is what you do.

Regards,
Rich

"LostInMD" wrote:
Hi Rich,

Thanks for all your help so far :) I would like to attempt what you are
suggesting. However, I think I am not completely clear as to how to attempt
this.

I am guessing that my original query would retrieve all columns from the
table into a datatable (via an adapter) to be used as the datasource for a
bindingsource that will be used as the datasource for the dataviewgrid.

Am I using the main datagridview to populate the other 'few cols'
datagridviews or do I use the bindingsource to populate the other
datagridviews?

Also, for the row validation, etc... when the user moves from record to
record, how do I get the values the user updates to the temp grids to the
main grids?

One last question, how do I display multiple records (each made up of
multiple lines from each sub-grid) on the grid displayed to the user?

I would be very appreciative if you could write a few lines of code that
shows the basics on how to implement your suggestion.

Thank you again for all your help!

"Rich" wrote:
Hello again,

The thing about VB2005 is that you have to write your own code, but - now
you have all the tools you need to be able to do this. With VB6 you could
not perform operations that required OOP. Now you have that. As for your
tables, you can stil use your primary table with row validation and so on.
What I am suggesting is that you pull each row from the main table into the
temp tables and display that. The original row still resides in the main
table. You clear the temp tables for each row you want to display. This is
not very resource intensive. The only catch is that you have to write a
little bit of code.

Regards,
Rich

"LostInMD" wrote:
Hi Rich,
>
Thank you very much for the suggestion. I would like to keep all my data
within one table. I have row validation that occurs and I think the code
involved with managing multiple tables would not be worth the benefit of
being able to display all the columns within one screen. Do you know if
there is a way to have, for example, a row that spans 3 lines where cols 0-3
are on line 1, cols 4-6 are on line 2, and cols 7-9 are on line 3? There
would be multiple rows displayed within the grid. Thanks again for your help!
>
"Rich" wrote:
>
One thing you could do is to use multiple datagridviews. If your table
contains, say 100 rows and the form can only display 20 columns you could add
5 tables to your datasource tab (in the design view - these would be
persistent tables in the application - unless you prefer to create the tables
on the fly - I think it is just easier to create the tables in the
datasources tab - next to the solution explorer tab) then you could add an
additional form with 5 datagridview that would use each of these 5 tables
which would contain only 20 column a piece from the original table. You
could populate and clear the table as the user moves from record to record.
I will wager that something like this was going on under the hood of your
datagridPro 8.0.

The datagridview is very flexible, you can hide row headers if you don't
want to display them in the additional datagridviews, so it would look like
one continuous row.

Rich
"LostInMD" wrote:

Hi All :)
>
I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView.
True DBGrid has a MultipleLines property that controls whether individual
records span multiple lines. Is there an equivalent property for the
DataGridView? I have searched, but have not found one.
>
I would like the user to be able to see all the columns of the table on one
screen - thus eliminating the need to use the horizontal scroll bar to view
columns that extend to the right and do not fit within the screen's view.
>
I am not interested in wrapping the cell text within the cell to allow the
column to have a shorter width.
>
If there is no such property for the DataGridView, does anyone have any
suggestions as to how to accomplish the above programmaticall y?
>
Thanks in advance for any assistance!
May 14 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
9617
by: thomasp | last post by:
This is a two part question, 1) The code below should display a form with a datagridview and a few command buttons. This form should allow the user to make change to the records displayed in the datagridview and have to changes written to the Filters table in an MS Access database. The if the user chooses, clicking on the Restore button...
0
6934
by: TNSFED | last post by:
I have a dilemma when trying to delete a row from the DataGridView. Here is a sample of my code: private void dgv_EQUPS_UserDeletingRow(object sender, DataGridViewRowCancelEventArgs e) { fDeleteRow = false; if (chx_DeleteFlag.Checked) {
7
7699
by: randy1200 | last post by:
I have some buttons that increment and decrement the index of a DataGridView. The code below gets the updated index value. The code below highlights the first column of the current row. dataGridView1.CurrentCell = dataGridView1; This is almost exactly what I want. I'd really prefer it if the code above could highlight the entire row,...
7
12584
by: Mitchell S. Honnert | last post by:
Is there an equivalent of the DataGrid's DataGridTableStyle for the DataGridView? If not, is there an easy way to duplicate the DataGridTableStyle's functionality for the DataGridView? Here's the background for my question... Before I switched my application over to the Fx 2.0, I used a DataGrid to display my data. I would store...
0
1539
by: Bruce HS | last post by:
I use DataGridViews for the detail part of lots of Master/Detail entry forms. This time I need the user to see a dozen fields all at once for each detail record, and the best way to do this would be to show two or three lines of controls for each record (not just scroll off to the right). Can I get the DataGridView to allow multiple rows...
7
16391
by: Ryan | last post by:
I have a DataGridView which displays numeric (Int32) data from an underlying database. I want the numbers to be displayed in numeric format "#,###" (with commas). I want to also limit the user so they can only input numerical values. Is there any way to do this? Currently my formatting works but if the user enters a value manually the...
1
4499
by: nwmotogeek | last post by:
Is it possible to span multiple rows with a single column? For example I may want to associate two items with a persons name and want that name spanned accross both rows (each item) . Is this possible? If not what control could this be done with?
0
1578
by: LostInMD | last post by:
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is there an equivalent property for the DataGridView? I have searched, but have not found one. I would like the user to be able to see all the columns...
4
4740
by: colin | last post by:
Hi, I wish to display and edit 3 collections of different object types, each object type also has a collection of the other 2 types, such that if one object contains another then the reverse is always true, a many to many relationship. the objects are 3d objects making up a wire mesh model, points,wire,surfaces. im not sure wich is the...
0
7882
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, 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...
0
7808
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8312
jinu1996
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...
0
6564
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5683
isladogs
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...
0
5366
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...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2309
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
0
1145
bsmnconsultancy
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...

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.