Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Help in replacing table of web in Windows application

Help in replacing table of web in Windows application

Scheduled Pinned Locked Moved C#
csharphelpasp-netdatabasevisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EEmaan
    wrote on last edited by
    #1

    Hi! I m building a windows application in visual studio.net 2003....i want to display my data in the format like we can display in table control of asp.net web application. Basically i want to read one row from database and display it like its first column in first row of control,second column in second row of control and so on alongwith their column names as its heading. Can u help me in this context or can u give me the control name in which i can access its particular cell like we can in table of asp. i tried datagrid but first problem is that its displays one row of database in row format and secondly i can't format its one cell acc to my requirement like making that cell's text bold etc. Thanx

    V 1 Reply Last reply
    0
    • E EEmaan

      Hi! I m building a windows application in visual studio.net 2003....i want to display my data in the format like we can display in table control of asp.net web application. Basically i want to read one row from database and display it like its first column in first row of control,second column in second row of control and so on alongwith their column names as its heading. Can u help me in this context or can u give me the control name in which i can access its particular cell like we can in table of asp. i tried datagrid but first problem is that its displays one row of database in row format and secondly i can't format its one cell acc to my requirement like making that cell's text bold etc. Thanx

      V Offline
      V Offline
      Vikram A Punathambekar
      wrote on last edited by
      #2

      I'm not an expert on Winforms, but once you have a DataSet, shouldn't you be able to manipulate it the way you want?

      EEmaan wrote:

      secondly i can't format its one cell acc to my requirement like making that cell's text bold etc

      Have you checked out a DataGrid's events?

      Cheers, Vıkram.


      Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups