Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

ujju 1

@ujju 1
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • insert data in single column of table in database fom difftern txtbox
    U ujju 1

    try this:

    Private Sub insertData()
    Try
    Dim con As SqlConnection = Nothing
    Dim cmd As SqlCommand = Nothing
    con = New SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings("inline").ConnectionString)
    con.Open()
    cmd = New SqlCommand("insert into table_name(column_Name) values ('" + TextBox1.Text + "," + TextBox2.Text + "')", con)
    cmd.ExecuteNonQuery()
    con.Close()

    	lblMsg.Text = "Saved Successfully"
    Catch ex As Exception
    	lblMsg.Text = ex.Message
    End Try
    

    End Sub

    Visual Basic csharp database

  • java script validation
    U ujju 1

    Try This

    <script type="text/javascript">
    function jsTest()
    {
    if (document.getElementById("<%=txtBox1.ClientID%>").value == "") {
    alert("Please Select a Pay From Option");
    document.getElementById("<%=txtBox1.ClientID%>").focus();
    return false;
    }
    else {
    alert(document.getElementById("<%=txtBox1.ClientID%>").value);
    }
    }

    ASP.NET java javascript tools
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups