Click here to Skip to main content
15,897,704 members
Articles / Programming Languages / Visual Basic

Ms Access Data in DataGridView like.......

Rate me:
Please Sign up or sign in to vote.
1.00/5 (2 votes)
20 Sep 2012CPOL 3.5K  
hi there,i have a table with data in Ms Access like....CountryName MedalIndia      &nbsp GoldUSA      &nbsp SilverChina      &nbsp GoldIndia      &nbsp GoldIndia      &nbsp GoldUSA      &nbsp BronzeIndia      &nbsp SilverUSA      &nbsp ...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
20 Sep 2012Dave Kreskowiak
Permission granted! Please, proceed.Or did you have a question in there noboday can find?? What part of this are you having a problem with?Nobody is just going to give you code. This little assignment reeks of being homework and we're not here to do your homework for you so you can...
Please Sign up or sign in to vote.
20 Sep 2012BheemG
HiI just generated the sql query which yeilds the required result.SELECT Name, (SELECT COUNT(medal) FROM [TantraCAD].[dbo].[Sample] as Sample_1 Where Medal = 'Gold' and Sample_1.Name = Simplu.Name) AS "Gold", (SELECT COUNT(medal) FROM ...
Please Sign up or sign in to vote.
23 Sep 2012xErvender
use sql queryselect count(Columnname) from table group by (columnname)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions