Following sample explains how to Convert DataReader to DataSet
DataSet objDataSet = new DataSet();
SqlCommand objCommand = new SqlCommand("Your Stored Proc listed here");
objCommand.Connection = new SqlConnection("Your conection string here");
SqlDataAdapter objDataAdapter = new SqlDataAdapter(objCommand);
objCommand.Connection.Open();
objDataAdapter.Fill(objDataSet);
Subscribe to:
Post Comments (Atom)
If you’re using Visual Studio to build your .NET MAUI app on a Mac, locating the IPA (iOS App Package) file can be a bit tricky
If you’re using Visual Studio to build your .NET MAUI app on a Mac , locating the IPA (iOS App Package) file can be a bit tr...
-
Sample Code: if (Email.Default.IsComposeSupported) { string subject = "Hello!"; string body = "Excellent!"; ...
-
If you’re using Visual Studio to build your .NET MAUI app on a Mac , locating the IPA (iOS App Package) file can be a bit tr...
-
Charts for Windows and web including .Net MAUI LiveCharts - LiveCharts2 (lvcharts.com)
No comments:
Post a Comment