TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jacco stokx
NA
5
0
Hiding colums in a datagrid
Aug 14 2004 11:38 AM
I'am reading data from a mysql database into a datagrid see example ------------------------------------------------------------------------------------------------ string connectionString = "DRIVER={MySQL ODBC 3.51 Driver};" + "SERVER=localhost;" + "DATABASE=klanten;" + "UID=root;" + "PASSWORD=;" + "OPTION=3"; OdbcConnection conn= new OdbcConnection(connectionString); conn.Open(); this.da = new OdbcDataAdapter ("SELECT naw_id as id ,klantcode as Code, voorletters as Voornaam, tussenvoegsel as Tussenv, naam as Achternaam,totaalopen as Tegoed, adres as Adres, postcode as Postcode, plaats As Woonplaats, tel as Telefoon, email as 'Email adres' FROM naw order by totaalopen desc", conn); this.ds = new DataSet(); da.Fill(ds, "Klantenlijst"); dataGrid1.DataSource= ds.Tables[0]; conn.Close(); I want to hide the first selection ( naw_id as id ) from the database does someone nows how to do this. kr
Reply
Answers (
0
)
Moving from PHP to C#
New SQL Database Engine in C#