trunk/src/LythumOSL.Core/Data/LythumDataTable.cs
/// <summary>
/// Create and add new row to AlphaDataTable
/// If data available add data
/// </summary>
/// <param name="data">can be null</param>
/// <returns></returns>
Create and add new row to AlphaDataTable
If data available add data
Create and add new row to AlphaDataTable If data available add data
public DataRow AddNewRow (object[] data)
		{
			DataRow row = NewRow ();
			if (data != null)
			{
				for (int i = 0; i < data.Length; i++)
				{
					row[i] = data[i];
				}
			}
			Rows.Add (row);
			return row;
		}
public DataRow AddNewRow ( object [ ] data ) { DataRow row = NewRow ( ) ; if ( data != null ) { for ( int i = 0 ; i < data . Length ; i ++ ) { row [ i ] = data [ i ] ; } } Rows . Add ( row ) ; return row ; }
Create and add new row to AlphaDataTable
If data available add data
Create and add new row to AlphaDataTable If data available add data
None
data
object[]
can be null
can be null