Related Posts Plugin for WordPress, Blogger...

About

Follow Us

Wednesday, 4 February 2015

Introduction

 In this article i will explain how you can  copy DataRow to DataTable in asp.net.

C#.Net Code to copy DataRow to DataTable in asp.net


DataRow[] dr= new DataRow[10];
DataTable dt= new DataTable();
dt.LoadDataRow(dr, true);

VB.Net Code  to copy DataRow to DataTable in asp.net

Dim dr As DataRow() = New DataRow(9) {}
Dim dt As New DataTable()

dt.LoadDataRow(dr, True)
Categories: , ,

0 comments:

Post a Comment