Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
krasnokojiy
Starting Member
18 Posts |
Posted - 2008-02-29 : 06:01:27
|
Hi Friends,i've a problem so , i've a GridView showing questions from database(i've a SqlDataSource and i bind the data to the control from the stored procedure) like the following :ID QUESTION LETTER CONTENT1 Ghjjkllllll A,B,C,D,E Aaa,bbb,ccc,ddd,eee2 dfhjsdh A,B,C,D,E Fff,ggg,hhh,iii,jjji want to take this question and choices and to transfer to a WORD document like the following style :1)Ghjjkllllll A)Aaa B)bbb C)ccc D)ddd E)eee2)dfhjsdh A)Fff B)ggg C)hhh D)iii E)jjji can transfer questions to the word document but choices... i couldnt do it ..!what can i do? Help meMC |
|
mahesh_bote
Constraint Violating Yak Guru
298 Posts |
Posted - 2008-03-03 : 05:19:29
|
Even choices can be transfered to the word document. but before, u need to convert them from their CSV format, which u can do only at front end. So to do this, write a loop and get the individual Letter field and separate it from COMMA [,] so that u can get separate string and simultaniously store it into Datatable, and then u can write it to word document. Let us know.Thanks,Mahesh |
|
|
|
|
|
|
|