[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

modify dataGridView Header

Posted on 2006-11-29
5
Medium Priority
?
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
maralans earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

656 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