hi all,
i am using datatable and dataset to assign data into datagridview. now i want to print data of datagridview contents. i used a method to copy datagridview content in a clipboard and to paste it in a print document. it is working fine but data is unaligned, so i think that if i apply borderstyle to datagridview and then copy to clipboard, but it doesnt work fine. anybody tell me the solution to resolve this.
my another question is, is there is any way to select a particular column of datagridview on a button click event?
note: i am using c#.net 2005
thanx in advance
with Cheers
Nirmal
i am using datatable and dataset to assign data into datagridview. now i want to print data of datagridview contents. i used a method to copy datagridview content in a clipboard and to paste it in a print document. it is working fine but data is unaligned, so i think that if i apply borderstyle to datagridview and then copy to clipboard, but it doesnt work fine. anybody tell me the solution to resolve this.
my another question is, is there is any way to select a particular column of datagridview on a button click event?
note: i am using c#.net 2005
thanx in advance
with Cheers
Nirmal