Home > Net >  Aspnetdb.mdf default user database user table of a field how to bind to the GridView command button
Aspnetdb.mdf default user database user table of a field how to bind to the GridView command button

Time:02-13

Then at the next book of ASP.NET recently, according to a field button template can be bound to a single attribute,
Open the GridView data binding dialog box, display only a custom binding, can not choose the field, (perhaps because didn't specify the data source)

Enter the field name after binding, ASPX source code display is & lt; Asp: button name % # Bind (" field name ") # & gt; ,
But at compile time can't find the field name!!!!!!!!!!!!!!!!!!!!!!!! , (it may be because there are no specify the data source)

Aspnetdb.mdf store database, a user class fields by default cannot be bound by assigning the data source controls, also is the only code in the background, so also didn't specify the data source

May be in mapping the internal binding provider program, not manual binding not make this stuff,
Even if the binding is also by the datasource,
So there's no use data source controls, directly in the GridView specifies the fields,

Bound using the backend datasource my question is how to return to the list of users, and then to bundle a field by the gridView template button,

Or is there a pass code, delete, or update the default user ASPNETDB database. The examples of MDF user table field?

Webforms now although small, but sometimes also used
  • Related