473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

How to create lines in a datagrid

Hello all,
I need to create lines in my datagrid programatically.
After databinding my datagrid have 5 lines, and
programatically i need to create plus 5 white lines.

Somebody have a ideia about how to know this?
Thanks Dexter
Nov 19 '05 #1
5 1205
Just add blank rows

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dexter" <pr******@yahoo.com.br> wrote in message
news:u9*************@TK2MSFTNGP15.phx.gbl...
Hello all,
I need to create lines in my datagrid programatically.
After databinding my datagrid have 5 lines, and
programatically i need to create plus 5 white lines.

Somebody have a ideia about how to know this?
Thanks Dexter

Nov 19 '05 #2
Just add blank rows

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dexter" <pr******@yahoo.com.br> wrote in message
news:u9*************@TK2MSFTNGP15.phx.gbl...
Hello all,
I need to create lines in my datagrid programatically.
After databinding my datagrid have 5 lines, and
programatically i need to create plus 5 white lines.

Somebody have a ideia about how to know this?
Thanks Dexter

Nov 19 '05 #3
Ok, but how to?
"Curt_C [MVP]" <software_AT_darkfalz.com> escreveu na mensagem
news:u2**************@TK2MSFTNGP09.phx.gbl...
Just add blank rows

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dexter" <pr******@yahoo.com.br> wrote in message
news:u9*************@TK2MSFTNGP15.phx.gbl...
Hello all,
I need to create lines in my datagrid programatically.
After databinding my datagrid have 5 lines, and
programatically i need to create plus 5 white lines.

Somebody have a ideia about how to know this?
Thanks Dexter


Nov 19 '05 #4

"Dexter" <pr******@yahoo.com.br> wrote in message
news:eO**************@TK2MSFTNGP12.phx.gbl...
Ok, but how to?
"Curt_C [MVP]" <software_AT_darkfalz.com> escreveu na mensagem
news:u2**************@TK2MSFTNGP09.phx.gbl...
Just add blank rows

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dexter" <pr******@yahoo.com.br> wrote in message
news:u9*************@TK2MSFTNGP15.phx.gbl...
Hello all,
I need to create lines in my datagrid programatically.
After databinding my datagrid have 5 lines, and
programatically i need to create plus 5 white lines.

Somebody have a ideia about how to know this?
Thanks Dexter



Nov 19 '05 #5
Add new rows into the data source that you bind to the datagrid and then
rebind the datagrid

HTH

Ollie Riches

"Dexter" <pr******@yahoo.com.br> wrote in message
news:eO**************@TK2MSFTNGP12.phx.gbl...
Ok, but how to?
"Curt_C [MVP]" <software_AT_darkfalz.com> escreveu na mensagem
news:u2**************@TK2MSFTNGP09.phx.gbl...
Just add blank rows

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dexter" <pr******@yahoo.com.br> wrote in message
news:u9*************@TK2MSFTNGP15.phx.gbl...
Hello all,
I need to create lines in my datagrid programatically.
After databinding my datagrid have 5 lines, and
programatically i need to create plus 5 white lines.

Somebody have a ideia about how to know this?
Thanks Dexter



Nov 19 '05 #6

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

Similar topics

2
by: Savvas | last post by:
Hi I am trying to make my datagrid look a bit better than the typical one. How do i show the datagrid to have alternating colours e.g. like in windows media player v.10? Thanks Savvas
0
by: James lennon | last post by:
I am attempting to format a Window.Forms.DataGrid. How do I set the color for the grid lines in the data grid header. The GridLineColor attribute in the table style does not set the color of the...
4
by: Fabrizio | last post by:
HI, I need to create a form that shows a planner (with employees and working days ) where i can use a different colors for "busy" days and "available" days (i'll read the data from a Database)....
3
by: Mark.Larsen | last post by:
What object would I override in order to control painting of Grid Lines in a DataGrid?
0
by: Patrick | last post by:
I'm working on a contact management application, and need a hand with one aspect... Here's what I want to create: ------------------------------------ A form split into two parts. There is a...
1
by: thomaz | last post by:
Hi again... There is a DataGrid method or any way (like Foreach) to cover only the 10 or 20 selected lines in a DataGrid with 3000 lines??? Thanks....
3
by: peshrad | last post by:
Hi ! I'm using ASP.NET 1.1 and C# . For Microsoft Internet Explorer 6.0, the following code suppresses the drawing of horizontal and vertical lines in the web page:
0
by: Dexter | last post by:
Hello all, I need to create lines in my datagrid programatically. After databinding my datagrid have 5 lines, and programatically i need to create plus 5 white lines. Somebody have a ideia...
0
by: DraguVaso | last post by:
Hi, I'm having a DataGrid on which I want to draw 2 moveable vertical lines. What should happen is: When I move a vertical line, I have somewhere an indication on which character in the datagrid...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
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
tracyyun
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...
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
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...

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.