?
Solved

modify dataGridView Header

Posted on 2006-11-29
5
Medium Priority
?
261 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

777 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