for my web part,i need to show some data of data table.now,i m developing in asp.net with c#.
how i convert to html table from data table?And also,i don’t need to show some column
such as ItemID.my data table will be like this.
ItemID ItemName Qty Price Unit Amount
I-0001 ItemOne 10 100 Box 1000
I-0002 ItemTwo 20 200 Card 4000
I-0003 ItemThree 30 300 Tab 9000
itemID column is not need to show.i want only itemname,qty,price,unit,amount columns.
please give me right way.
regards
chong
There are many ways to do this. If you just want to use the
DataGridcontrol, here’s a pretty comprehensive look at that control.