Solved

modify dataGridView Header

Posted on 2006-11-29
5
254 Views
Last Modified: 2006-11-29
I have my information appearing in my datagrid view, but in the header it shows the name of the columns, I would like to change the headers to what I would like for them to say !

could someone help please !
0
Comment
Question by:prowebinteractive
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
maralans earned 500 total points
ID: 18038603
yourdataset.Columns("firstname").HeaderText = "First Name"

or

With yourdatagrid
          .Columns(0).HeaderText = "Your new column name"
End With
0
 

Author Comment

by:prowebinteractive
ID: 18038706
I will try that, thanks

I also would like to append first name and last name that appear in 2 fields into 1 field
0
 
LVL 5

Expert Comment

by:maralans
ID: 18038839
update yourDataSet
set FullName=CONCAT(Firstname, ' ',  LastName);
0
 

Author Comment

by:prowebinteractive
ID: 18038897
sorry, but I dont understand, dataset ?????

do you have some sample code you could show me, im quite new at this vb stuff
0
 

Author Comment

by:prowebinteractive
ID: 18038909
what is the property to change the order to which I see the information ?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question