Click here to Skip to main content
15,904,348 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralPrinting a grid Pin
samerh21-Jan-08 19:47
samerh21-Jan-08 19:47 
GeneralRe: Printing a grid Pin
N a v a n e e t h21-Jan-08 20:04
N a v a n e e t h21-Jan-08 20:04 
GeneralRe: Printing a grid Pin
samerh21-Jan-08 20:18
samerh21-Jan-08 20:18 
GeneralRe: Printing a grid Pin
N a v a n e e t h21-Jan-08 20:23
N a v a n e e t h21-Jan-08 20:23 
GeneralRe: Printing a grid Pin
Sutheesh22-Jan-08 0:38
Sutheesh22-Jan-08 0:38 
GeneralSingle instance of Office application in Web Pin
Elena200621-Jan-08 19:34
Elena200621-Jan-08 19:34 
GeneralRe: Single instance of Office application in Web Pin
N a v a n e e t h21-Jan-08 19:44
N a v a n e e t h21-Jan-08 19:44 
GeneralGridview with checkbox column Pin
Anupbala21-Jan-08 19:19
Anupbala21-Jan-08 19:19 
Hi,
I am having a gridview with a checkbox column.i want to export the selected rows which are checked to a word document.I have done the code to export to word document.There were other 2 options which are already complete.There is option to export each row seperately to word document and export the entire rows from gridview to word document.

This is a new requirement to export selected rows to word document.
i have done this much
int count = 0;
foreach (GridViewRow gv in gv1.Rows)
{
CheckBox cb = (CheckBox)gv.FindControl("chkSelect");
if (cb.Checked)
{
count++;
}
}
I was able to get the count of the selected rows.How can i take the selected recordsand export to a word document.I need the sample code of that part.This is very urgent.Please help.

Thanks

Anup
GeneralRe: Gridview with checkbox column Pin
N a v a n e e t h21-Jan-08 19:26
N a v a n e e t h21-Jan-08 19:26 
GeneralRe: Gridview with checkbox column Pin
Anupbala21-Jan-08 19:48
Anupbala21-Jan-08 19:48 
GeneralRe: Gridview with checkbox column Pin
N a v a n e e t h21-Jan-08 19:59
N a v a n e e t h21-Jan-08 19:59 
GeneralRe: Gridview with checkbox column Pin
Anupbala21-Jan-08 20:27
Anupbala21-Jan-08 20:27 
GeneralRe: Gridview with checkbox column Pin
bokuceres21-Jan-08 22:28
bokuceres21-Jan-08 22:28 
GeneralRe: Gridview with checkbox column Pin
Anupbala22-Jan-08 0:49
Anupbala22-Jan-08 0:49 
GeneralRe: Gridview with checkbox column Pin
bokuceres23-Jan-08 14:38
bokuceres23-Jan-08 14:38 
GeneralRe: Gridview with checkbox column Pin
Anupbala23-Jan-08 19:16
Anupbala23-Jan-08 19:16 
GeneralRe: Gridview with checkbox column Pin
bokuceres23-Jan-08 20:00
bokuceres23-Jan-08 20:00 
GeneralRe: Gridview with checkbox column Pin
Elayaraja Sambasivam22-Jan-08 3:27
Elayaraja Sambasivam22-Jan-08 3:27 
GeneralProblem Related to Dundas chart Pin
Aavesh Agarwal21-Jan-08 18:44
Aavesh Agarwal21-Jan-08 18:44 
Questioncan we use two sitemap in a project Pin
mohd imran abdul aziz21-Jan-08 18:17
mohd imran abdul aziz21-Jan-08 18:17 
AnswerRe: can we use two sitemap in a project Pin
N a v a n e e t h21-Jan-08 19:17
N a v a n e e t h21-Jan-08 19:17 
QuestionNeed some suggestions in ASP.NET Pin
Jats_4ru21-Jan-08 18:12
Jats_4ru21-Jan-08 18:12 
GeneralRe: Need some suggestions in ASP.NET Pin
Abhijit Jana21-Jan-08 18:18
professionalAbhijit Jana21-Jan-08 18:18 
NewsRe: Need some suggestions in ASP.NET Pin
Venkatesh Mookkan21-Jan-08 18:35
Venkatesh Mookkan21-Jan-08 18:35 
GeneralRe: Need some suggestions in ASP.NET Pin
N a v a n e e t h21-Jan-08 19:09
N a v a n e e t h21-Jan-08 19:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.