On Feb 20, 2:17 pm, Milosz Skalecki [MCAD] <mily...@DONTLIKESPAMwp.pl>
wrote:
Hi Rococo,
Paste some code so we could investigate.
--
Milosz
"rcoco" wrote:
hi,
I'm having problem with seeing my datagrid? Yet I set Property visible
to true and I'm caling the DataBind() what could be the Problem. I
mayed be forgetting something.. Could you please help?
Thanks?- Hide quoted text -
- Show quoted text -
hi miloz,
here is the code I'm using.
private void Page_Load(object sender, System.EventArgs e)
{
if (! IsPostBack)
{
BindDataGrid();
}
}
private void BindDataGrid()
{
SqlDataAdapter myAdapter=new SqlDataAdapter("SELECT * from
Billing",con);
DataSet ds=new DataSet();
myAdapter.Fill(ds);
con.Open();
dgbilling.DataSource=ds;
dgbilling.DataBind();
con.Close();
}
Thanks.