S
s. zunbag
Guest
h
Hi,
Recently, i am using tasks on datagrid controls and In my application there are almost 20 datagrid in different forms.
I do this because sometimes data retrieving takes a long time over database and thats application screens freezes.
Here is my example binding;
string getAlert = "select * from testtable";
DataTable dtAlert = new DataTable();
OracleDataAdapter odaAlert = new OracleDataAdapter();
public void getAlertGrid()
{
dtAlert.Clear();
odaAlert = new OracleDataAdapter(getAlert, oradb);
odaAlert.Fill(dtAlert);
ugAlert.DataSource = dtAlert;
ugAlert.DataBind();
}
I would like to know whats your thoughts on it ? Is it safe or not ?
Continue reading...