473,396 Members | 1,892 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,396 software developers and data experts.

How to insert one row(not column) in HList?

34
My problem is that, I want to insert one ENTIRE ROW at a time.
How can I do thatttt??????/

Any reply make me happy.
Oct 10 '07 #1
3 1719
numberwhun
3,509 Expert Mod 2GB
My problem is that, I want to insert one ENTIRE ROW at a time.
How can I do thatttt??????/

Any reply make me happy.
And a little more information would make us happy. :-)

Could you tell us what you are inserting a row into? (ie: csv file? text file? database? Also, can you please post your code so we can help you troubleshoot what you are trying to do?

Regards,

Jeff
Oct 10 '07 #2
aurekha
34
Im am inserting rows into database through Hlist.
when I am inserting;
i am getting as,
Name Code Place
surekha
43020
Hyd.
Instead of displaying as a row like,
surekha 43020 Hyd.
My code is;
$Col1 = $hlist1->header('create', 0, -text => 'Code');
$Col2 = $hlist1->header('create', 1, -text => 'Name');
$Col3 = $hlist1->header('create', 2, -text => 'Address');
$Col4 = $hlist1->header('create', 3, -text => 'Mail Id');
$Col5 = $hlist1->header('create', 4, -text => 'Phone No.');
$Col6 = $hlist1->header('create', 5, -text => 'Status');

foreach(@res) {
$hlist->add($_);
$hlist->itemCreate($_,0,-text =>$_);

}


Here, I want to add a ROW in HList.
Help me......
Oct 12 '07 #3
KevinADC
4,059 Expert 2GB
Have you read the documentation for which ever module you are using that has the Hlist function? I assume this is a Tk sub class, which I have no experience with and no interest in learning.
Oct 12 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: RajS | last post by:
Hi All, I am new to C#. I was trying to get column values from a datagrid row( user selected a row ) and show them in a messagebox. How can I do that?. Thanks for helping me. -RajS
2
by: Sam | last post by:
Hi all Is there an easy way to find the previous Cell or Row that user just left on DataGrid Control or Table. For example, if I'm currently on Row 1 Column 2 and then I click on Row 3 Column 5....
10
by: JohnR | last post by:
I have a datatable as the datasource to a datagrid. The datagrid has a datagridtablestyle defined. I use the datagridtablestyle to change the order of the columns (so they can be different than...
2
by: Chris | last post by:
Hi, I want to show the whole recordset. There are 42 records and 2 fields. .... comd = New System.Data.OleDb.OleDbCommand("select name,lok from pc", oConnection) dtreader = comd.ExecuteReader...
1
by: bindurajeesh | last post by:
I run the following code: objoledbcommand.Connection.Open() strsql = "select first_name + ' ' + last_name as fullname from tblperson where pers_entity_id = '" & ddlClient.SelectedValue & "'"...
1
by: Noppers | last post by:
I am trying to insert data into 2 tables, Order and Order_Item, in a transaction. Everything works fine if I only have 1 row in my objCartDT dataset. If I have only one row, the 2 tables are updated...
0
by: NickW | last post by:
I have written a stored procedure that is used to load data into a SQL Server 2000 and 2005 databases from some 40ish different text files. One of the text files is loading all of the rows apart from...
0
by: ponyryd | last post by:
It appears the default behavior for the final row/column is to autofill the "avaialble space" I set the number of rows and columns and then dynamically add my controls to each "cell". The...
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
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,...
0
Oralloy
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,...
0
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...
0
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...
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,...

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.