Reference Datagrid Footer Control

J

Jay

In a datagrid footer, how could I programmatically set a footer textbox
text? E.g.. the datagrid (dg1) will bind to a datareader based on a query.
If the query does not generate any results the datagrid will appear without
any data, just a footer containing a few textboxes for adding. One of those
textboxes (textbox1) I want to set the .text to "something". How can this
be accomplished?

Basically, in a separate sub I need to set the text property of a textbox in
a datagrid. Kind of like if you have a datagrid, button and textbox. You
click the button and auto set the text of textbox1 (which is in the datagrid
footer) to "something".

Thanks a lot.

Jay.
 

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

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top