Cells.ImportDataReader
ImportDataReader(SqlDataReader, int, int, bool)
Imports data from a SqlDataReader object.
[Obsolete("Use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImportDataReader(SqlDataReader reader, int firstRow, int firstColumn, bool insertRows)
Parameter | Type | Description |
---|---|---|
reader | SqlDataReader | The SqlDataReader object which contains data. |
firstRow | Int32 | The row number of the first cell to import in. |
firstColumn | Int32 | The column number of the first cell to import in. |
insertRows | Boolean | Indicates whether extra rows are added to fit data. |
Return Value
Total number of rows imported.
Remarks
NOTE: This member is now obsolete. Instead, please use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
ImportDataReader(SqlDataReader, bool, int, int, bool)
Imports data from a SqlDataReader object.
[Obsolete("Use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImportDataReader(SqlDataReader reader, bool isFieldNameShown, int firstRow,
int firstColumn, bool insertRows)
Parameter | Type | Description |
---|---|---|
reader | SqlDataReader | The SqlDataReader object which contains data. |
isFieldNameShown | Boolean | Indicates whether the field name of the data reader will be imported to the first row. |
firstRow | Int32 | The row number of the first cell to import in. |
firstColumn | Int32 | The column number of the first cell to import in. |
insertRows | Boolean | Indicates whether extra rows are added to fit data. |
Return Value
Total number of rows imported.
Remarks
NOTE: This member is now obsolete. Instead, please use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
ImportDataReader(SqlDataReader, bool, int, int, bool, string, bool)
Imports data from a SqlDataReader object.
[Obsolete("Use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImportDataReader(SqlDataReader reader, bool isFieldNameShown, int firstRow,
int firstColumn, bool insertRows, string dateFormatString, bool convertStringToNumber)
Parameter | Type | Description |
---|---|---|
reader | SqlDataReader | The SqlDataReader object which contains data. |
isFieldNameShown | Boolean | Indicates whether the field name of the data reader will be imported to the first row. |
firstRow | Int32 | The row number of the first cell to import in. |
firstColumn | Int32 | The column number of the first cell to import in. |
insertRows | Boolean | Indicates whether extra rows are added to fit data. |
dateFormatString | String | Date format string for cells. |
convertStringToNumber | Boolean | Indicates if this method will try to convert string to number. |
Return Value
Total number of rows imported.
Remarks
NOTE: This member is now obsolete. Instead, please use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
ImportDataReader(OleDbDataReader, bool, int, int, bool, string, bool)
Imports data from a OleDbDataReader object.
[Obsolete("Use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImportDataReader(OleDbDataReader reader, bool isFieldNameShown, int firstRow,
int firstColumn, bool insertRows, string dateFormatString, bool convertStringToNumber)
Parameter | Type | Description |
---|---|---|
reader | OleDbDataReader | The OleDbDataReader object which contains data. |
isFieldNameShown | Boolean | Indicates whether the field name of the data reader will be imported to the first row. |
firstRow | Int32 | The row number of the first cell to import in. |
firstColumn | Int32 | The column number of the first cell to import in. |
insertRows | Boolean | Indicates whether extra rows are added to fit data. |
dateFormatString | String | Date format string for cells. |
convertStringToNumber | Boolean | Indicates if this method will try to convert string to number. |
Return Value
Total number of rows imported.
Remarks
NOTE: This member is now obsolete. Instead, please use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
ImportDataReader(OleDbDataReader, bool, int, int, bool)
Imports data from a OleDbDataReader object.
[Obsolete("Use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImportDataReader(OleDbDataReader reader, bool isFieldNameShown, int firstRow,
int firstColumn, bool insertRows)
Parameter | Type | Description |
---|---|---|
reader | OleDbDataReader | The OleDbDataReader object which contains data. |
isFieldNameShown | Boolean | Indicates whether the field name of the data reader will be imported to the first row. |
firstRow | Int32 | The row number of the first cell to import in. |
firstColumn | Int32 | The column number of the first cell to import in. |
insertRows | Boolean | Indicates whether extra rows are added to fit data. |
Return Value
Total number of rows imported.
Remarks
NOTE: This member is now obsolete. Instead, please use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
ImportDataReader(OleDbDataReader, int, int, bool)
Imports data from a OleDbDataReader object.
[Obsolete("Use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImportDataReader(OleDbDataReader reader, int firstRow, int firstColumn, bool insertRows)
Parameter | Type | Description |
---|---|---|
reader | OleDbDataReader | The OleDbDataReader object which contains data. |
firstRow | Int32 | The row number of the first cell to import in. |
firstColumn | Int32 | The column number of the first cell to import in. |
insertRows | Boolean | Indicates whether extra rows are added to fit data. |
Return Value
Total number of rows imported.
Remarks
NOTE: This member is now obsolete. Instead, please use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
ImportDataReader(IDataReader, bool, int, int, bool, string, bool)
Imports data from a IDataReader object.
[Obsolete("Use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method, instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImportDataReader(IDataReader reader, bool isFieldNameShown, int firstRow,
int firstColumn, bool insertRows, string dateFormatString, bool convertStringToNumber)
Parameter | Type | Description |
---|---|---|
reader | IDataReader | The IDataReader object which contains data. |
isFieldNameShown | Boolean | Indicates whether the field name of the data reader will be imported to the first row. |
firstRow | Int32 | The row number of the first cell to import in. |
firstColumn | Int32 | The column number of the first cell to import in. |
insertRows | Boolean | Indicates whether extra rows are added to fit data. |
dateFormatString | String | Date format string for cells. |
convertStringToNumber | Boolean | Indicates if this method will try to convert string to number. |
Return Value
Total number of rows imported.
Remarks
NOTE: This member is now obsolete. Instead, please use Cells.ImportData(IDataReader, int, int,ImportTableOptions) method. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells