Welcome Guest Search | Active Topics | Sign In | Register

In normal GridControl I can bind column dynamically column from database Options
Abid
Posted: Tuesday, March 15, 2016 10:12:44 AM
Rank: Newbie
Groups: Member

Joined: 3/15/2016
Posts: 6
I need this requirement from EO.web.Grid
In normal GridControl I can bind column dynamically column from database

DataTable dt = new DataTable();
DataTable dtData= new DataTable();
DataColumn col;
DataRow newRow;
for (int I = 0; I < dt.Columns.Count - 1; I++)
{
newRow = dtData.NewRow();
for (int J = 0; J < dt.Rows.Count; J++)
{
col = new DataColumn(dt.Rows[J][I].ToString(), Type.GetType("System.String"));
dtData.Columns.Add(col);
}
}

I need this feature or How I can achieve this feature.
eo_support
Posted: Tuesday, March 15, 2016 10:20:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Please read our previous reply first. You won't get a different answer just by ignoring our previous answer and post your question again. Also please keep in mind we do not take the task you are given and tell you exactly how you should implement it --- if we were to do that then everyone will just hand over their task to us and wait for us to do it for them. You need to read the documentation and samples and then if you still have any specific questions we will answer.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.