creating dynamic datarows

  • Thread starter Al Bastido via .NET 247
  • Start date
A

Al Bastido via .NET 247

HELP!!

can someone please explain to me how the datatable.newrow method works. I know how to use it, but i need to know hot the datatable can generate datarow objects that vary at runtime.

I need to emulate this functionality in my current app and have been stuck for days now.

getting desparate
 
M

Miha Markic [MVP C#]

Hi Al,

You need to create new DataRow by calling NewRow, populate the row and at
the end add it to Rows collection (Rows.Add)

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Al Bastido via .NET 247 said:
HELP!!

can someone please explain to me how the datatable.newrow method works. I
know how to use it, but i need to know hot the datatable can generate
datarow objects that vary at runtime.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top