hi friends
i have done the project in that i developed datadialgrid control
so whenever i enter the no of rows and columns in separate textboxes and click the button automatically will increase the rows and columns in the datadialgrid
can anyone give a solution
regards
vijay
Loading

kiran kumarRank #3,110 · 461 reputationPosted Feb 26, 2010, 1:11 AM EST
i am familiar with c#,i can help you on that
Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 26, 2010, 1:36 AM EST
for adding columns:
Dim linkColumn as BoundColumn=new BoundColumn() linkColumn.DataField = "UserID" linkColumn.DataFormatString = "User Details" linkColumn.HeaderText = "User Details" DataGrid1.Columns.Add(linkColumn)no adding row dynamically:
Dim newRow as DataRow = yourDatagrid.newrow() newRow.Item(0) = "yourText" etc. etc. etc. yourDatagrid.rows.add(newRow)
Don't forget to mark the answer if it helps.vijay antony43 reputationPosted Feb 26, 2010, 8:24 PM EST
kiran kumarRank #3,110 · 461 reputationPosted Feb 26, 2010, 9:03 PM EST
mark the answer if it helps you
paul daniel189 reputationPosted Mar 1, 2010, 8:48 PM EST
http://www.dotnetspider.com/resources/17172-adding-dynamic-row-datagrid.aspx