Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

datatable

How to add New Column with Value to the Existing DataTable?

August 27, 2022 by Magenaut

I have One DataTable with 5 Columns and 10 Rows.
Now I want to add one New Column to the DataTable and I want to assign DropDownList value to the New Column.
So the DropDownList value should be added 10 times to the New Column.
How to do this?
Note: Without using FOR LOOP.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, datatable, visual-studio-2008 Leave a comment

IEnumerable to string delimited with commas?

August 27, 2022 by Magenaut

I have a DataTable that returns

Categories ASP.NET, Q&A Tags ado.net, asp.net, c#, datatable, linq Leave a comment

How to sort DataTable by two columns in c#

August 26, 2022 by Magenaut

I have a DataTable that looks like below;

Categories ASP.NET, Q&A Tags asp.net, c#, datatable, sorting Leave a comment

Sorted dataview to datatable

August 26, 2022 by Magenaut

I have the following method:

Categories ASP.NET, Q&A Tags asp.net, c#, datatable, dataview Leave a comment

How to Return DataTable from WebMethod using JSON and JQuery in asp.net?

August 26, 2022 by Magenaut

I am new to JSON. I have created a sample which returns the String from WebMethod and assign the value returned to asp.net Label control.

Categories ASP.NET, Q&A Tags asp.net, asynchronous, datatable, jquery, json Leave a comment

Fastest way to fill DataTable from LINQ query using DataContext

August 26, 2022 by Magenaut

I am trying to run a linq query but I need the result as a datatable as I am using that to store records from different queries in the same viewstate object.

Categories ASP.NET, Q&A Tags asp.net, c#, datatable, ienumerable, linq Leave a comment

Data Table + delete a row in c# using loop

August 26, 2022 by Magenaut

I have a data table and I want to delete a row here is my code it’s throwing me an exception

Categories ASP.NET, Q&A Tags asp.net, c#, datatable Leave a comment

How to populate a listview from a datatable

August 25, 2022 by Magenaut

I have a ListView and a DataTable and I would like to know how to populate the ListView from the DataTable.

Categories ASP.NET, Q&A Tags asp.net, datatable, listview Leave a comment

DataTable Wrapper or How to decouple UI from Business logic

August 25, 2022 by Magenaut

I am using web forms, C#, Asp.net.
As we all know, in this model UI and business logic are often mixed in. How do I separate these effectively?

Categories ASP.NET, Q&A Tags asp.net, datatable, decoupling, gridview, webforms Leave a comment

Adding a Column of one datatable to another

August 25, 2022 by Magenaut

Hey all need a lil help sorting a loop for this table out, cant seem to apply a working example to the model, anyway here it goes.

Categories ASP.NET, Q&A Tags asp.net, c#, datatable Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress