hey guys
as the subject . i have a page that inserts a number of textboxes into a database . when i test it locally it works but when i test it on a server pc it works 90% of the time and 10% it doesnt . cant seem to find out why . anyone have any solutions
heres my code for the button
static int count = 1;
protected void Votebtn_Click1(object sender, EventArgs e)
{
VoteClicklbl.Text = count.ToString();
SqlConnection conn = new SqlConnection(dbcon);
try
{
if (string.IsNullOrEmpty(this.HotelNametxt.Text) ||
string.IsNullOrEmpty(this.Initivetxt.Text) || string.IsNullOrEmpty(this.Q1txt.Text) ||
string.IsNullOrEmpty(this.Q2txt.Text) || string.IsNullOrEmpty(this.Q3txt.Text) ||
string.IsNullOrEmpty(this.Q4txt.Text) || string.IsNullOrEmpty(this.Q5txt.Text)
...
Go to the complete details ...