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 that's application screens freezes.
Here is my example binding;
string getAlert ="select * from testtable";DataTable dtAlert =newDataTable();OracleDataAdapter odaAlert =newOracleDataAdapter();publicvoid getAlertGrid(){
dtAlert.Clear();
odaAlert =newOracleDataAdapter(getAlert, oradb);
odaAlert.Fill(dtAlert);
ugAlert.DataSource= dtAlert;
ugAlert.DataBind();}I would like to know what's your thoughts on it ? Is it safe or not ?