Hi all,
I am trying to build a program in C# \ ASP.NET that will be able to enter all my mails without login
like yahoo for example. How can I send the username and password.
Thank in Advance
Lior
How to send parameters to another page
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Muhanad Younis26 reputationPosted Aug 12, 2005, 1:52 PM EDT
hope it may help you;
private
void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e){
if(e.CommandName=="catalink") // here to find the linkbutton from id{
int linkID;linkID=(
int)this.DataGrid1.DataKeys[e.Item.ItemIndex]; //to give the link button linkIDResponse.Redirect(
string.Format("~/news/default.aspx?CatID={0}",linkID));// and here i pass the parameter}
}