Click here to Skip to main content
Sign Up to vote bad
good
See more: ASP.NET
I am using gridview in bind using TemplateField.
I am not able to store TemplateField data in database.
 
Please help me, give me some sollution.
Posted 23 Nov '12 - 0:57

Comments
Orcun Iyigun - 23 Nov '12 - 7:12
What have you tried? Rectify your problem and ask a more specific question?

2 solutions

you need to do something like below :
 
TextBox txt1 = (TextBox)gvSamplePrice.Rows[i].FindControl("YourTextBoxId");
 
then use txt1.Text in your code.
  Permalink  
Hi
 
Can you please refer the following url. You may get some hints.
 
http://forums.asp.net/t/1431084.aspx/1[^]
  Permalink  
Comments
Dominic Abraham - 23 Nov '12 - 11:37
If the solution is helpful don't forget to mark it as answer. So that it may help others.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mohammed Hameed 268
1 OriginalGriff 236
2 Sergey Alexandrovich Kryukov 153
3 Mayur_Panchal 153
4 CPallini 100
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,246
2 CPallini 3,532
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 23 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid