By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

Datagrid

P: n/a
Hi all,

I got a problem in a datagrid. After I get data from database and then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How can do
it?
Anyone can give me some idea..

Thanks



Jun 13 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Localbar,

There are two DataGrids one is for the Web and one is for Window
applications, if you want a right answer, than I would in your place tell
for what it is.

Cor

"Localbar" <lo*********@gmail.comschreef in bericht
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi all,

I got a problem in a datagrid. After I get data from database and then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How can
do
it?
Anyone can give me some idea..

Thanks



Jun 13 '07 #2

P: n/a
thx Cor,

my one is window application

"Cor Ligthert [MVP]" <no************@planet.nl秎ン
news:uX**************@TK2MSFTNGP06.phx.gbl い级糶...
Localbar,

There are two DataGrids one is for the Web and one is for Window
applications, if you want a right answer, than I would in your place tell
for what it is.

Cor

"Localbar" <lo*********@gmail.comschreef in bericht
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi all,

I got a problem in a datagrid. After I get data from database and
then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How
can
do
it?
Anyone can give me some idea..

Thanks





Jun 13 '07 #3

P: n/a
Localbar,

I don't see a difference between your two example. Maybe some formatting
was lost?
Steve

"Localbar" <lo*********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi all,

I got a problem in a datagrid. After I get data from database and then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How can
do
it?
Anyone can give me some idea..

Thanks



Jun 13 '07 #4

P: n/a
sorry may be some mistake...

should be like that...what I want

Time Lession
10:00 - Yoga
10:45

11:00 - Boxing
11:45

thx

"PlatinumBay" <st*******@community.nospam级糶秎ン穝籇:ez****** ********@TK2MSFTNGP02.phx.gbl...
Localbar,

I don't see a difference between your two example. Maybe some formatting
was lost?
Steve

"Localbar" <lo*********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>Hi all,

I got a problem in a datagrid. After I get data from database and then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How can
do
it?
Anyone can give me some idea..

Thanks




Jun 13 '07 #5

P: n/a
Localbar,

It looks like you want to split a single 'record' across multiple rows?
Steve
"Localbar" <lo*********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
sorry may be some mistake...

should be like that...what I want

Time Lession
10:00 - Yoga
10:45

11:00 - Boxing
11:45

thx

"PlatinumBay" <st*******@community.nospam>
级糶秎ン穝籇:ez**************@TK2MSFTNGP02.phx.g bl...
>Localbar,

I don't see a difference between your two example. Maybe some formatting
was lost?
Steve

"Localbar" <lo*********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>Hi all,

I got a problem in a datagrid. After I get data from database and
then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How
can do
it?
Anyone can give me some idea..

Thanks





Jun 13 '07 #6

P: n/a
Localbar,

That is not impossible, as long as you don't want to use it for an update,
just create an extra table and it goes fine.

Here a sample from reflection. (turn it upside down) It is even more
difficult.

http://www.vb-tips.com/dbpages.aspx?...8-2b9e762316ab
Cor

"Localbar" <lo*********@gmail.comschreef in bericht
news:%2****************@TK2MSFTNGP05.phx.gbl...
sorry may be some mistake...

should be like that...what I want

Time Lession
10:00 - Yoga
10:45

11:00 - Boxing
11:45

thx

"PlatinumBay" <st*******@community.nospam>
级糶秎ン穝籇:ez**************@TK2MSFTNGP02.phx.g bl...
>Localbar,

I don't see a difference between your two example. Maybe some formatting
was lost?
Steve

"Localbar" <lo*********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>Hi all,

I got a problem in a datagrid. After I get data from database and
then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How
can do
it?
Anyone can give me some idea..

Thanks





Jun 13 '07 #7

P: n/a
yes

"PlatinumBay" <st*******@community.nospam秎ン
news:OL****************@TK2MSFTNGP03.phx.gbl い级糶...
Localbar,

It looks like you want to split a single 'record' across multiple rows?
Steve
"Localbar" <lo*********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
sorry may be some mistake...

should be like that...what I want

Time Lession
10:00 - Yoga
10:45

11:00 - Boxing
11:45

thx

"PlatinumBay" <st*******@community.nospam>
级糶秎ン穝籇:ez**************@TK2MSFTNGP02.phx.g bl...
Localbar,

I don't see a difference between your two example. Maybe some
formatting
was lost?
Steve

"Localbar" <lo*********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi all,

I got a problem in a datagrid. After I get data from database and
then
add row in datagrid. I would like the result is like that:

Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing

but now the result is:
Time Lession
10:00 - 10:45 Yoga
11:00 - 11:45 Boxing
I try to add chr(13) in data before add row. The result is same. How
can do
it?
Anyone can give me some idea..

Thanks




Jun 14 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.