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

Member Avatar for LastMitch

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.