creating dynamic datarows

  • Thread starter Thread starter Al Bastido via .NET 247
  • Start date 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
 
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.
 
Back
Top