I’ve created FormView let user enter the data to save into database. And i need to disable one of the textbox and automatic set the GUID to the textbox. how can i do that?
<InsertItemTemplate>
RouteGUID:
<asp:TextBox ID="RouteGUIDTextBox" runat="server"
Text='<%# Bind("RouteGUID") %>' Enabled="False" />
<br />
you should Bind the
FormViewcontrol onPage_Load..or should call theFormview.DataBind()method onpage_load…as i can’t see your full code, so said this as an assumption.