15,908,931 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Elvally Boubacar (Top 21 by date)
Elvally Boubacar
6-Dec-17 4:09am
View
yeah sir i have some columns with text what can i do ? sir thanks
Elvally Boubacar
5-Dec-17 3:14am
View
i want the sum of all data in every column and every row
Elvally Boubacar
5-Dec-17 3:13am
View
Deleted
.
Elvally Boubacar
4-Dec-17 11:09am
View
soory sir but i have another question:
i want to calculate sum of all columns and all rows how can i proceed ?? thnaks
Elvally Boubacar
4-Dec-17 8:41am
View
thanks so much sir
Elvally Boubacar
30-Nov-17 12:25pm
View
now i getting this error
System.Web.Mvc.WebViewPage<tmodel>.Model.get retournée null.
in @foreach (DataColumn col in Model.Columns) on my view
Elvally Boubacar
30-Nov-17 11:50am
View
yeah i already used datatable but i met an error like my model getting null
on below my view with datatable
@using System.Data
@model DataTable
@foreach (DataColumn col in Model.Columns)
{
}
@foreach (DataRow row in Model.Rows)
{
@foreach (DataColumn col in Model.Columns)
{
}
}
@col.ColumnName@row[col.ColumnName]
Elvally Boubacar
30-Nov-17 11:49am
View
sorry a have a time
so i don't understand how can i use that can you explain more please
Elvally Boubacar
30-Nov-17 11:01am
View
hi thanks for your answer but i have a dynamic model and i want to display data on mvc view
i tried code in below but nothing
@model List<Dictionary<string, object>>
@{
ViewBag.Title = "DynamicIndex";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@for (int i = 0; i < objDataColumn.Count; i++)
{
dt.Columns.Add(objDataColumn[i].ToString());
}
@for (int i = 0; i < d.Count; i++)
{
DataRow dr = dt.NewRow();
List<string>
tempList = new List<string>
();
var res = d[i].subject.ToList();
@for (int j = 0; j < res.Count; j++)
{
tempList.Add(res[j].Value.ToString());
}
int k = 0;
@ foreach (var v in tempList)
{
k++;
}
dt.Rows.Add(dr);
// dt.Rows.Add(tempList.ToArray<string>
());
}
tempList.Add(d[i].Planner.ToString()); tempList.Add(d[i].Vendor_Location.ToString()); tempList.Add(d[i].Bulk_Material.ToString()); dr[k] = v.toString();
Elvally Boubacar
21-Nov-17 7:15am
View
thanks for your replay
now i ask how i can dispaly this on view
Elvally Boubacar
21-Nov-17 4:34am
View
can i using dynamic datatable on view with foreach to get this pivot?
Elvally Boubacar
21-Nov-17 4:30am
View
c#
Elvally Boubacar
21-Nov-17 4:28am
View
my question:
i have a table with a dynamic column (Week) and I want to display it by pivoting this column dynamically on a mvc view
Elvally Boubacar
21-Nov-17 4:17am
View
this is my source data who i want pivot https://drive.google.com/file/d/1NM6ZvPfTN96oHicEnI26zEU9clrRwfai/view?usp=sharing
Elvally Boubacar
21-Nov-17 4:11am
View
i put it on google drive
Elvally Boubacar
21-Nov-17 3:51am
View
Deleted
and this is my source
https://drive.google.com/file/d/1NM6ZvPfTN96oHicEnI26zEU9clrRwfai/view?usp=sharing
Elvally Boubacar
21-Nov-17 3:44am
View
yeh im using datatable
my view must return something as
https://drive.google.com/file/d/1dxpXch3LaM3ArKyAX-FpfGsN9WyWwPhX/view?usp=sharing
Elvally Boubacar
21-Nov-17 3:27am
View
the model is for a dynamic pivot table. in below
namespace YMOReporting.Models
{
using System;
using System.Collections.Generic;
using System.Data;
public partial class Proc1_Result
{
public string Planner { get; set; }
public string Vendor_Location { get; set; }
public string Bulk_Material { get; set; }
public Nullable<double> Value { get; set; }
public string Week { get; set; }
}
}
Elvally Boubacar
21-Nov-17 3:24am
View
Deleted
.
Elvally Boubacar
21-Nov-17 3:03am
View
in the first foreach exactly in Model.Columns
Elvally Boubacar
20-Nov-17 16:32pm
View
Hi thanks Sir for your a proposition but my stored return null (it return : NullReferenceException) so i can't show the result in my view
Show More