No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi I've ran into this error and have been looking at it for about an hour now and can't get it fixed. cmd.CommandText = "INSERT INTO Appointments (ClientName, Period, Time, Treatment, Stylist) VALUES (@cName, @cDate, @cTime, @cTreat, @cStylist)"; cmd.CommandType = CommandType.Text; cmd.Parameters.AddWithValue("@cName", txtCName.Text); cmd.Parameters.AddWithValue("@cDate", txtDate.Text); cmd.Parameters.AddWithValue("@cTime", DDLTime.SelectedValue); cmd.Parameters.AddWithValue("@cTreat", DDLTreat.SelectedValue); cmd.Parameters.AddWithValue("@cStylist", … |
|
Hi...i want use alert message in code behind....but i dont to fire this message on button click ...i want that this alert message display base on some if condition....can any one help me with example?? |
|
Re:
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; namespace Practical1 { public partial class Exercise1 : System.Web.UI.Page { string cs = Global.CS; protected void Page_Load(object sender, EventArgs e) { } protected void btnSubmit_Click(object sender, EventArgs e) { if (Page.IsValid) { string user = txtUser.Text; … |
|
Re:
hey .. i have a gridview and i set allowpaging=true. in the first column, i have a check box for choosing items..when i click on the second page of the gridview, and click a button for update, it doesn't recognize the changes i made in the previous record on the … |