Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Custom Bind for textbox (itemtemplate)

Reply
Thread Tools

Custom Bind for textbox (itemtemplate)

 
 
Cheng
Guest
Posts: n/a
 
      05-01-2007
hi everyone,
I created a nested gridview.

1.In child gridview there is a itemtemplate (texbox) called "amount".
2.and one column in child grid view is called "SbaAmount".
3.a column called "MdlAmount" is in the parent gridview.

Now the problem is the value in the "amount" should be "SbaAmount" *
"MdlAmount". How can I do this? use custom bind?

Context:
The child gridview is in the edittemplate, when I click "edit" in
parent gridview, the EditIndex will be recorded in session and the
session is the parameter of the sqldatasourse for child gridview.

can i get current row index without using editindex? therefore i can
show all child gridview i each row without click "edit".

Regards
Cheng

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
confused by boost::bind & boost::lambda::bind XHengDF@gmail.com C++ 0 05-29-2007 04:37 AM
Using a data-bind dropdownlist to populate another data-bind dropdownlist mr2_93 ASP .Net 1 10-02-2005 05:07 PM
Bind optional one-to-one relationship to textbox Dan Davenport via .NET 247 ASP .Net 0 08-04-2004 01:55 PM
Custom TextBox with custom attributes and properties question John Wright ASP .Net Building Controls 1 03-01-2004 02:01 PM
Custom Component and Custom Textbox binding Bill Anderson ASP .Net Building Controls 1 12-15-2003 06:07 PM



Advertisments