Smotritsky, Alex
2007-05-11 23:35:40 UTC
There is an example here:
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.butto
nfield.datatextfield(vs.80).aspx
which runs fine after you add the 2 missing }'s at the end of the server
script,
delete: datatextformatstring="[{0]"
and change the db server to a sql server you have in the connect string
The thing is:
They're getting data for the second column. I want the data in the
ButtonField column. I can't get at it so far, it comes back blank. If I
add an extra column with that data in it and make it a boundfield then I
can get it. If I make that bound field invisible then I can't get it. I
want the buttonfield data and I don't want to have a visible boundfield
redundantly displaying the same data. They say the buttonfield data is
in viewstate but I haven't been able to get at it thru viewstate yet
either. Any ideas?
===================================
This list is hosted by DevelopMentor� http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.butto
nfield.datatextfield(vs.80).aspx
which runs fine after you add the 2 missing }'s at the end of the server
script,
delete: datatextformatstring="[{0]"
and change the db server to a sql server you have in the connect string
The thing is:
They're getting data for the second column. I want the data in the
ButtonField column. I can't get at it so far, it comes back blank. If I
add an extra column with that data in it and make it a boundfield then I
can get it. If I make that bound field invisible then I can't get it. I
want the buttonfield data and I don't want to have a visible boundfield
redundantly displaying the same data. They say the buttonfield data is
in viewstate but I haven't been able to get at it thru viewstate yet
either. Any ideas?
===================================
This list is hosted by DevelopMentor� http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com