0

suggest me a code for transferring file-id present in grid view of one website to another website,when the link button was clicked in that grid view

Edited by csss

2
Contributors
1
Reply
9
Views
4 Years
Discussion Span
Last Post by LastMitch
0

suggest me a code for transferring file-id present in grid view of one website to another website,when the link button was clicked in that grid view

What code? What code have you done so far? So if you have a code you done so far then post it.

OK for example:

public class Template{
public property Id{get; set;}
public property Name{get; set;}
}

List<Template> TempList = new List<Template>();
public void CheckBox_Click(object sender, EventArgs e){
Template Temp = new Template();
Temp.Id= currentRow.Id;
Temp.Name = currentRow.Name;
TempList.Add(Temp);
}

public void Button_Click(object sender, EventArgs e){
this.gridView.DataSource = TempList;
this.gridView.DataBind();
}

It's not tested. So if you have a code that you been working on then post your code and maybe it would be easy to figure out.

Edited by LastMitch: grammer

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.