boundfield max chars?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I a details view on a aspx page connected to a database that allows editing.
When someone types more than the 20 chars allotted in the database, and
submits the form, the page crashes. Is there a way in the details view to
only allow x number of characters to be enter?
 
replace ur boundField with a TemplateField and put a textbox in there, on
which u can set max chars...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top