Click here to Skip to main content
14,447,974 members
   

ASP.NET

 
GeneralRe: Name of the software that can package websites to install on smartphones: android and iphone ? Pin
Member 24584679-Jan-20 20:44
MemberMember 24584679-Jan-20 20:44 
GeneralRe: Name of the software that can package websites to install on smartphones: android and iphone ? Pin
Richard MacCutchan10-Jan-20 0:08
communityengineerRichard MacCutchan10-Jan-20 0:08 
QuestionScrape with htmlagilityapck question Pin
Member 17532506-Jan-20 13:10
MemberMember 17532506-Jan-20 13:10 
SuggestionRe: Scrape with htmlagilityapck question Pin
ZurdoDev7-Jan-20 10:04
mveZurdoDev7-Jan-20 10:04 
GeneralRe: Scrape with htmlagilityapck question Pin
Member 17532507-Jan-20 10:57
MemberMember 17532507-Jan-20 10:57 
QuestionRe: Scrape with htmlagilityapck question Pin
ZurdoDev11-Jan-20 9:55
mveZurdoDev11-Jan-20 9:55 
AnswerRe: Scrape with htmlagilityapck question Pin
Member 175325011-Jan-20 10:36
MemberMember 175325011-Jan-20 10:36 
QuestionAssigning data from sql database to a chart C# and entity framework Pin
Member 146959565-Jan-20 23:07
MemberMember 146959565-Jan-20 23:07 
so I have the following code which I would like to adapt to take data straight from my sql database.

The code so far is:
@{
    Layout = "~/Views/Shared/_Layout.cshtml";

    var myChart = new Chart(width: 600, height: 400, theme: ChartTheme.Green)
.AddTitle("Product Life Cycle")
.AddSeries(
name: "Employee",
chartType: "Spline",
xValue: new[] { "2003", "2004", "2005", "2006", "2007", "2008", "2009", "20010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2022", "2023", "2024", "2025", "2026" },
yValues: new[] { "5.40", "16.17", "109.46", "347.87", "791.62", "1865.88", "2899.26", "4083.32", "4693.27", "6442.52", "8053.77", "9388.84", "9964.89", "10776.18", "4931.34", "2582.54", "752.53", "150.83", "77.87", "31.21", "0.33", "0", "0" })
.Write();
}


I would like to assign xValue and yValue to a table example TBL_MYdata and with the fields ConDate and ConUnits. I am very new to C# and realy need to sort this soon. Many thanks for any help available
AnswerRe: Assigning data from sql database to a chart C# and entity framework Pin
Richard Deeming7-Jan-20 10:08
communityengineerRichard Deeming7-Jan-20 10:08 
QuestionCan i use timer control without use java sicrpt? Pin
Nowiglah4-Jan-20 7:26
MemberNowiglah4-Jan-20 7:26 
AnswerRe: Can i use timer control without use java sicrpt? Pin
Eddy Vluggen4-Jan-20 9:36
professionalEddy Vluggen4-Jan-20 9:36 
QuestionTrying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 6:59
Membersimpledeveloper3-Jan-20 6:59 
AnswerRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 7:29
mveZurdoDev3-Jan-20 7:29 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 7:50
Membersimpledeveloper3-Jan-20 7:50 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 7:52
mveZurdoDev3-Jan-20 7:52 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 8:01
Membersimpledeveloper3-Jan-20 8:01 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 8:06
mveZurdoDev3-Jan-20 8:06 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 8:34
Membersimpledeveloper3-Jan-20 8:34 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 8:46
mveZurdoDev3-Jan-20 8:46 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 8:56
Membersimpledeveloper3-Jan-20 8:56 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 10:08
Membersimpledeveloper3-Jan-20 10:08 
QuestionHow I can insert data into gridview without use data source??? Pin
Nowiglah3-Jan-20 5:34
MemberNowiglah3-Jan-20 5:34 
AnswerRe: How I can insert data into gridview without use data source??? Pin
ZurdoDev3-Jan-20 7:30
mveZurdoDev3-Jan-20 7:30 
GeneralRe: How I can insert data into gridview without use data source??? Pin
Nowiglah4-Jan-20 7:16
MemberNowiglah4-Jan-20 7:16 
AnswerRe: How I can insert data into gridview without use data source??? Pin
ZurdoDev4-Jan-20 8:46
mveZurdoDev4-Jan-20 8:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.