Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Jay #1
difference between these 2?
In some examples I am looking through they are speaking of datagrids
and datalists (this is not the question :)
For the datalist a column is populated using
<%# Databinder.Eval(container.Dataitem, "some column") %>
For the datagrid...
<asp:Boundcolumn Datafield="some column" />
Is there any difference between the 2?
I'm assuming that both are saying look at the recordset (sorry classic
asp terminology :), find this column data and populate this column
with it?
Are they specific to the 2 controls or can they be mixed and matched?
Advantages/disadvantages of either?
Sorry to be vague, just trying to get my head around them.
Jay Guest
-
what's the difference?
Greetings - I'm looking to buy a good beginners book on DMX/php/mysql and I see this one mentioned all over the place, but I also hear complaints... -
FMS vs FCS, BW difference?
We are migrating our system from FCS to FMS 2.0.4r79, running on Debian Sarge. With pre-recorded videos (flv), which is what we're testing first,... -
Why is there a difference??
I'm noticing that for some reason the 2 icons I have on my page are moving in different browsers. Look fine in IE but not in Firefox. Page is... -
Difference between ASP & PHP
I doubt about the difference between ASP & PHP. Some people say that PHP is faster than ASP and PHP is the free equivalant of ASP. An other... -
what is the difference....
Hi, What is the difference between.... $data = file($this->URL); ....and... $data = @file($this->URL); -
Jos #2
Re: difference between these 2?
Jay wrote:
A BoundColumn will automatically generate a label for> In some examples I am looking through they are speaking of datagrids
> and datalists (this is not the question :)
>
> For the datalist a column is populated using
> <%# Databinder.Eval(container.Dataitem, "some column") %>
> For the datagrid...
> <asp:Boundcolumn Datafield="some column" />
>
> Is there any difference between the 2?
> I'm assuming that both are saying look at the recordset (sorry classic
> asp terminology :), find this column data and populate this column
> with it?
>
> Are they specific to the 2 controls or can they be mixed and matched?
> Advantages/disadvantages of either?
> Sorry to be vague, just trying to get my head around them.
the item, and a TextBox when the item is in Edit mode.
You can use the first type of explicit databinding also in a
datagrid. You then put it in a TemplateColumn.
The disadvantage of a BoundColumn is that you don't have any
control about the layout, because it is automatic. For instance,
you can't set the width of the TextBox in Edit mode.
The advantage is that it's all automatic, you can get the datagrid
working in a minute.
--
Jos
Jos Guest



Reply With Quote

