Skip to main content

Posts

post data using api using jquery get | post

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head>     <title>My New Page</title>     <script  type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>    <!-- <script type="text/javascript"  src="C:\Users\31055\Downloads\openlogic-jquery-1.6.2-all-src-1\jquery-1.6.2-src\jquery-1.6.2.js"></script>-->    <!-- <script type="text/javascript">         $(document).ready(function () {             alert('okay');             debugger;             $.ajax({           //             JQuery.support.cors=true;       ...

interview

using System; using System.Web.UI; using  System.Data; using System.Data.SqlClient; using System.Data.Sql; using System.Web.Configuration; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page {    SqlConnection sqcon=new SqlConnection(WebConfigurationManager.ConnectionStrings["constr"].ConnectionString);     protected void Page_Load(object sender, EventArgs e)     {         if (!IsPostBack == true)         {             hdnval.Value = "I";             DiplayAllREcord();         }     }     protected void btnsubmit_onclick(object sender, EventArgs e)     {         ...

design html table in c#

            // Create a new HtmlTable object.             HtmlTable table1 = new HtmlTable();             // Set the table's formatting-related properties.             table1.Border = 1;             table1.CellPadding = 1;             table1.CellSpacing = 1;             table1.BorderColor = "red";             // Start adding content to the table.             HtmlTableRow row;             HtmlTableCell cell;       ...