2
Answers

how can read command argument value read with jquery & print

Gaurav Raj

Gaurav Raj

7y
192
1
how can read command argument value read with jquery & print
  1. <script src="js/jquery-1.3.2.min.js"></script>  
  2. <script type="text/javascript">  
  3. $(function () {  
  4. $('#TotalComment').click(function () {  
  5. var lnkProgress = document.getElementById('<%= TotalComment.ClientID %>');  
  6. var bookingID = lnkProgress.getAttribute("CommandArgument");  
  7. var na = $('#TotalComment').data('CommandArgument');  
  8. var id = $('#TotalComment').getAttribute('commandArgument');  
  9. alert('Alter with jQuery Button Clicked '+id);  
  10. });  
  11. });  
  12. </script>  
<asp:LinkButton ID="TotalComment" runat="server" CssClass="btn btn-link tooltips " Text="check" CommandArgument="1" data-id="1"></asp:LinkButton>
Answers (2)
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
I am not sure about which form you are talking about Web or Windows. You can design it by your own. Next thing is to get data from FORM and insert in Oracle database. Follow below links that may help you:
 
http://www.c-sharpcorner.com/uploadfile/mahesh/working-with-oracle-databases-using-ado-net/ 
 
http://www.java2s.com/Tutorial/CSharp/0560__ADO.Net/DoaninsertcommandtoOracledatabase.htm 
 
https://www.codeproject.com/Articles/1155/Simple-ADO-NET-Database-Read-Insert-Update-and-Del
 
 
Accepted
0
Arif Mohammed

Arif Mohammed

NA 45 407 7y
thanks manas