By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,686 Members | 2,392 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,686 IT Pros & Developers. It's quick & easy.

how to pass the value of textbox in gridview to stored procedure

P: 1
Hi everybody,
I am using textbox in gridview as template. And I want to stored the value of textbox. For that I want to pass the textbox value to stored procedure.
So please give me solution.
Sep 4 '08 #1
Share this Question
Share on Google+
1 Reply


P: 55
In code behind:

Expand|Select|Wrap|Line Numbers
  1. TextBox txt = new TextBox();
  2. txt = (TextBox)GridView1.Rows[e.RowIndex].Cells[0].FindControl("TextBox1");
Sep 4 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.