Click here to Skip to main content
15,898,538 members

Comments by Member 11065510 (Top 11 by date)

Member 11065510 13-Nov-14 5:26am View    
okay sorry afzaal ahmad zeeshar,and thanks for your suggestion
Member 11065510 31-Oct-14 7:25am View    
SqlCommand firstterm = new SqlCommand("select termnumber from term_fee_details where termnumber='first term' and admin_no=('" + comboBox2.Text + "')");
if (firstterm.ExecuteNonQuery()== true)
{
MessageBox.Show("first term paid");
}
i was use this code also but it display error
Member 11065510 31-Oct-14 6:27am View    
no....but i dont know how to describe my requirement it too long
Member 11065510 30-Oct-14 7:39am View    
web forms
Member 11065510 9-Oct-14 8:02am View    
i was used the following code
private void dataGridView1_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
{
if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
{
this.dataGridView1.Tag = this.dataGridView1.CurrentCell.Value;

}
}
through this code i can edit the data into datagridview not save in the database.when i was click on update(it contains update code)button then only it saved.
but that is not my requirement