public class classTransaction
{
private SqlTransaction st;
public bool errorOccured;
Jan 22, 2010
Jan 20, 2010
Jan 19, 2010
Difference between bit rate and baud rate
Bit rate is the no:of bits transmitted during one second
Baud rate refers to the no of signal unis per second that are required to reprasent that bits
Baud rate refers to the no of signal unis per second that are required to reprasent that bits
Jan 6, 2010
ReIndex Serial Number in Datagridview C# | Elvisjino
ReIndex Serial Number in Datagridview C#
private void reIndexSerialNo()
{
int rowCount = dataGridView1.Rows.Count;
for (int i = 0; i < rowCount; i++)
{
dataGridView1.Rows[i].Cells[0].Value = i + 1;
if (i + 1 == rowCount)
{
dataGridView1.Rows[i].Cells[0].Value = i + 1;// "";
}
}
}
private void reIndexSerialNo()
{
int rowCount = dataGridView1.Rows.Count;
for (int i = 0; i < rowCount; i++)
{
dataGridView1.Rows[i].Cells[0].Value = i + 1;
if (i + 1 == rowCount)
{
dataGridView1.Rows[i].Cells[0].Value = i + 1;// "";
}
}
}
Jan 5, 2010
C# Form Operation Function - clear controls of a windowsform
C# Form Operation Function - clear controls of a windowsform
Datagridview Operation - Tips,change visibility of columns of datagridview in Runtime in c#
Datagridview Operation - Tips
change visibility of columns of datagridview in Runtime in c#
datagridview1.columns[ColumnNumber].visible = false
change visibility of columns of datagridview in Runtime in c#
datagridview1.columns[ColumnNumber].visible = false
Datagridview Operation - Tips,To Set Datasource for a datagridview in c#
Datagridview Operation - Tips
To Set Datasource for a datagridview in c#
SqlConnection con = new SqlConnection(connectionstring )
SqlCommand cmd = new SqlCommand(commandText))
SqlDataAdapter da = new SqlDataAdapter(cmd))
DataSet ds = new DataSet();
da.Fill(ds);
if (datagridview1.Rows.Count > 0)
{
datagridview1.DataSource = null;
datagridview1.Rows.Clear( );
}
datagridview1.DataSource = ds.Tables[0];
To Set Datasource for a datagridview in c#
SqlConnection con = new SqlConnection(connectionstring )
SqlCommand cmd = new SqlCommand(commandText))
SqlDataAdapter da = new SqlDataAdapter(cmd))
DataSet ds = new DataSet();
da.Fill(ds);
if (datagridview1.Rows.Count > 0)
{
datagridview1.DataSource = null;
datagridview1.Rows.Clear( );
}
datagridview1.DataSource = ds.Tables[0];
Interview Questions in C,C#.C++,microprocessor,Operating System,electronics by elvisjino
What does static variable mean?
What is a pointer?
What is a structure?
What are the differences between structures and arrays?
In header files whether functions are declared or defined?
What are the differences between malloc() and calloc()?
What is a pointer?
What is a structure?
What are the differences between structures and arrays?
In header files whether functions are declared or defined?
What are the differences between malloc() and calloc()?
Subscribe to:
Posts (Atom)


