Simple way to convert datarow array to datatable

  ASP.NET   Wednesday, September 4, 2019   95 | No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Simple way to convert datarow array to datatable 


Introduction

Here Pawan Kumar will explain Simple way to convert datarow array to datatable

Description

In previous post I have explained Disabled submit button after clicked using jQuery with example, Simple HTML5 Example (Canvas) with Example Source Code, Create or Generate QR Code in ASP.Net using C#, ASP.NET : Source Code to ASP.NET : Source Code to Get GridView CheckBox Selected Rows jQuery, Display TextBox when CheckBox is checked in ASP.Net using C#, Get multiple selected (checked) CheckBox values as Comma Separated String using jQuery, and many more articles.

Now I will explain How to Simple way to convert datarow array to datatable

So follow the steps to learn Simple way to convert datarow array to datatable
DataTable tbl= new DataTable();
DataRow[] dr = tbl.Select("high = max(high)");

if(dr.Lenght>0)
{
DataTable tbl1= dr.CopyToDataTable();
}

 

Conclusion:

So, In this tutorial we have learned, Simple way to convert datarow array to datatable


Post Comments

if you have some suggestion, question, request on Simple way to convert datarow array to datatable.

Please use the comment box to express your views.

 

Comments: