<input id="txtData" runat="server" class="txtfield" name="txtData" size="30" type="hidden" />
<script language="JavaScript" type="text/javascript">
Code
var idGenerator = new IDGenerator(0);
var editor = new Editor(idGenerator);
editor.Instantiate();</script>
As the textbox is hidden, the user will not be able to type any information in it.
But he can add info in the area that is created using the above script.
How can I write the code so that the text entered by the user can be stored using Stored Procedure.
I have wrirten it as :
cmd.Parameters.Add("@Article",txtData.Value);
But the textbox txtData is hidden.
Please help
Answers
Know the answer? Post it. Somebody with the same question will find it here.