Default value dinamic

3 replies. Last post: September 11, 2009 4:11 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Johnny LeyvaMember
when I add a new row ,will default to the value of the textbox (picture default.jpg ) in the user column of my webgrid.

This is the code I use to assign the value
 

Protected Sub wgBusqueda_RowChanged1(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.RowChangedEventArgs) Handles wgBusqueda.RowChanged

Sub wgBusqueda_RowChanged1(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.RowChangedEventArgs) Handles wgBusqueda.RowChanged

WebGrid1.RootTable.Columns(0).DefaultText = txtUser_rol.Text

WebGrid1.RootTable.Columns(0).DefaultValue = txtUser_rol.Text

End Sub

 

but it's no result. plesase help me.

1 attachment
All times are GMT -5. The time now is 12:24 AM.
Previous Next