Click here to Skip to main content
15,891,946 members
Everything / Data

Data

data

Great Reads

by Marc Clifton
An interactive demo of how audit and consistency proofs work
by Ashley Davis
A demo of Highstock using Data-Forge with financial data loaded from Yahoo
by Alexander Semjonov
Developing fastest FFT implementation based on precompile tool using data driven approach
by Garbel Nervadof
Convert HTML table data from a website into PHP array

Latest Articles

by Federico Di Marco
Fededim.Extensions.Configuration.Protected is an improved ConfigurationBuilder which allows partial or full encryption of configuration values stored inside any possible ConfigurationSource and fully integrated in the ASP.NET Core architecture using Data Protection API.
by Bert O Neill
This article provides an overview for developers, on how to quickly generate a dependency Entity Relationship Diagram for a table and its immediately related tables, within SQL Server.
by raddevus
An informal study of the Sqlite database and how many concurrent inserts it can handle. Will help you decide if you want to use Sqlite in your projects.
by Pete O'Hanlon
Rather than littering a razor component with @if (a == b) logic to show items, use render fragments to make a declarative component

All Articles

Sort by Title

Data 

12 Nov 2014 by Member 11223520
I do all the instruction to build odata with wcf data service but i need $format=json working
4 Jul 2012 by hutabarat
Hi, everyone...I have a big problem to solve my task in Java Programming, specially on J2ME.I can not find any solution until now about how to make an mobile GIS (Geographic Information System) application on Java Language (J2ME). I use Eclipse IDE but I can call spatial data...
4 Jul 2012 by TorstenH.
*.SHP are ESRI Shape Files[^]. Simple said: These are vector based maps.I would take a look here: OpenMap API[^]And if possible - I can recommend to use a high level API like the one from Luciad Maps[^] which gives you a kick start. But that one has to be paid.
27 Dec 2012 by ASP.NET Community
Hello Everyone,This is my first article. Here I am giving you a brief intro about developing an application in 3-tier
1 Dec 2013 by Mehdi Gholam
You can get better at anything with time and effort. Find something you enjoy first since that will be easier for you.
2 Dec 2016 by Member 12882844
Hello Guys,I need some code sample to send the data packet to serial port from PC (vb program). I am looking for some sample code for this and How to frame the packet in the code to send it serially...My packet format is like this: [Type+Opcode+Parameter+CheckSum] Please help!....
1 Dec 2016 by OriginalGriff
Start here: SerialPort.Write Method (Byte[], Int32, Int32) (System.IO.Ports)[^] - that's the method you probably need to use.And it's trivial to do:string parameter = "My parameter";byte[] paramData = Encoding.UTF8.GetBytes(parameter);int paramLen = paramData.Length;byte[] data = new...
2 Dec 2016 by Patrice T
Quote:But I don't know how to frame a packet and send it to serial port. You can consider that every single AT command you have already send is a frame.Your frame is simply a string containing what you want, an AT command or [Type+Opcode+Parameter+CheckSum].you just have to make sure that...
8 Mar 2018 by Mike Ellison
On data, context, class-like architecture in Javascript, and ten-pin bowling.
8 Aug 2012 by CodeProject, DBNess
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we talk to Vanessa Hurst, founder of Developers for Good, co-founder of Girl Develop It!, and a consultant and advisor to startu
24 Feb 2018 by Dntdothis
I ran to an issue, I have a task with categories and items, I need to make a menu tree list, it can be N deep, parent can have many children as he wants: Menu tree looks like this: - Category (6) - Category (3) - Item (€0.50) - Category (2) - Item (€1.10) -...
24 Feb 2018 by BillWoodruff
Knowing your tree's item nodes are always leaf nodes of a specific type makes your task a bit simpler. I'm going to post a sketch of a structure that will implement a tree of this type which I know works. I say "sketch" because my goal is to assist you in developing your programming skills ......
10 Feb 2020 by Shenwei Liu
Creating PDF reports for grouped or non-grouped data lists in C# with many custom options and configurations (providing source code with .NET Framework 4.6.1 and .NET Core 3.1)
10 Feb 2016 by Jesus Carroll
SQL Server 2016 introduces support for system-versioned temporal tables as a database feature that brings built-in support for providing information about data stored in the table at any point in time rather than only the data that is correct at the current moment in time.
16 Mar 2022 by honey the codewitch
Get your data on, even on platforms without a reliable STL implementation using these simple but critical classes.
24 Feb 2019 by WhiskeyBeforeWater
An unbalanced basic recursive Binary Search Tree for Excel VBA with functions (insert, search, delete, in order, pre-order, post-order, minimum, and maximum)
10 Mar 2014 by Hongyu Zhou1989
Now, I need a function about switching on /off mobile data but, actually , I think I know the mobile data's concept nothing so , I'm looking for helping here I hope you can give some advices.thanks everybody who care me ~
10 Mar 2014 by Peter Leow
Refer to this: enable-disable-data-connection-in-android-programmatically[^]
11 Oct 2013 by ASP.NET Community
The AccessDataSource class is a data source control that works with Microsoft Access databases. Like its base class, SqlDataSource, the
7 Jan 2018 by Ashley Davis
How to download stock market data from Alpha Vantage
27 Apr 2012 by PointBreaker
In my C# windows form program, i have two forms: 1 is Form and the other one is Form2the Form is where I put data on the textboxes and the Form2 is where is a datagrid wich shows a table with the data i inserted. Now, how do I put data from a table to a form?My code on Form2namespace...
27 Apr 2012 by VJ Reddy
I think something like this can be done.In Form a DataTable say DataTable1 is created and it is populated with the values from the TextBoxes.In Form2 make the visibility (accessibility) of DataGridView as public.Then in the Click event of Button1 of FormForm2 form2 = new...
20 Dec 2016 by Member 9983063
when i am insert data so i am getting an error like thisAdditional information: Syntax error (missing operator) in query expression '@Phone No'.What I have tried:for (int i = 0; i
20 Dec 2016 by Dave Kreskowiak
You cannot put a space in a variable name. You have: @Report, @Flavors, @Name , @Phone No)";.. and. command.Parameters.AddWithValue("@Phone No", row.Cells[6].Value);Remove the space from "Phone No".
20 Dec 2016 by Patrice T
Try to replace:VALUES(@Column1, @Column2, @Column3, @Date, @ReceiptNo, @DeliveryPerson, @Report, @Flavours, @Name , @Phone No)withVALUES(@Column1, @Column2, @Column3, @Date, @ReceiptNo, @DeliveryPerson, @Report, @Flavours, @Name , \"@Phone No\")
11 Oct 2013 by ASP.NET Community
 ADO.NET stands for ActiveX Data Objects for .NET. It refers to the suite of data access technologies used to manipulate databases. ADO.NET is part
13 Jan 2013 by JamesB28
Hi guys ! Im developing a desktop application ( sales management software )using Vb.net , ADO.NET and SQL Server 2008 . Well I have 2 Problems :Problem 1- Im using one database but My client needs to create many 'FOLDERS' or ' SESSIONS ' , that means MANY EMPTY DATABASES...
13 Jan 2013 by David_Wimbley
In order to create a database in c# you can use sql management objectsYoull need the following DLLs referenced in your project for the below snippet.Microsoft.SqlServer.Management.SmoThis is dll can be found here: C:\Program Files\Microsoft SQL Server\100\SDK\AssembliesHere is...
13 Jan 2013 by David_Wimbley
Here is sample in sql management objects on creating a database/copying schema and data of a source db.Server srvr = new Server("(local)");//Set your source databaseDatabase db = srvr.Databases["BugTracker"];//Create transfer class for source DBTransfer transfer = new...
14 Aug 2015 by Member 11823189
I have a dynamic data enabled website and loaded a ado net model. I then added a custom page list to one of the tables that page is below. All is the generated code except the ajax toolkit script manager and autocomplete extender which I added. I get an error in ie 11 saying sys undefined...
2 Nov 2020 by DotNetLead.com
Angular/.NET Core Web API application that can be used as the starting point for building your applications.
24 Jan 2013 by Thé Dèvíl 2013
I have a scenario: I am downloading something through a program which when closed will start-over the entire download progress should I restart it. A situation happening in a desktop with the possibility of losing power in raid.Windows (perhaps the rest as well) has power-saving modes,...
11 Oct 2013 by ASP.NET Community
ASP.net chart control is one of the newly introduced controls to the Visual Studio IDE from Visual Studio 2010 onwards. It is a very powerful, yet
17 Jun 2011 by Member 8015046
Hi everyone.I am new at making web applications. I am wanting to make a ASP.NET Dynamic Data Linq to SQL Web Application. I followed most of the Adventure example to get a simple table and showing up in the web browser. What I need help with is making the table in the web browser let me able...
18 Jun 2011 by ambarishtv
this will help you http://csharpdotnetfreak.blogspot.com/2011/04/gridview-examples-in-aspnet-20-35.html[^]
24 Jun 2011 by Member 8015046
I made a ASP.NET Dynamic Data Web Site. In the edit and insert pages of the dynamic data. I am wondering how to change a field textBox to have auto complete or to be a drop box with auto completion. Any ideas how to do this? I've looked up some tutorials but they are always date picker things...
24 Jun 2011 by Christian Graus
A textbox and a drop list are different things. Put a drop list in your definition of the edit fields, and you will get a drop list. Perhaps if you posted a little code, so we knew exactly what you meant by 'dynamic data web site', and what you're doing.
11 Oct 2013 by ASP.NET Community
The ASP.NET MVC is becoming more and more popular each day.  As the application grows in size so does the maintenance nightmare.  Following are some
11 Jun 2014 by Sreenivas Chinni
This is a tip to add custom data annotation with client validation in ASP.NET MVC 5
29 Nov 2012 by RovenetBill
ASP.NET c# component for editing SQL tables with plug-in column format adapter architecture.
7 Dec 2015 by Divyant Kulshrestha
This tip is useful when we have to move data from Oracle database to SQL Server database or vice-versa using SSIS.
27 Mar 2021 by jaideepsinh
I am trying to create an azure ci/cd pipeline for my azure data factory in which I have used databricks notebook. Pipeline got created successfully with the ARM template for ADF but I am not able to see any override parameter for databricks...
1 Aug 2020 by Sandeep Mewara
A guide to help learn about Kafka and do a setup & test of data pipeline in Windows environment.
11 Oct 2012 by cass3000
Hi guys,I'm designing a database for measure time elapsed between the execution of some tasks over an item.I have two options to do this, but I don´t know which one is my best choice:First:Design a table with a dedicated field for each measurement parameter, to have a single row...
11 Oct 2012 by Mehdi Gholam
The second way is preferred, but it all depends on how you intend to use the data.
11 Oct 2012 by damodara naidu betha
Hi, I think second way is good approach. There is a flaw in first way. We can't determine how many task will be performed on particular item. There can more than TaskN... If you design your table in first way then task count is fixed. Then We have to add a column to the table to store...
12 Oct 2012 by Jörgen Andersson
The second option is the preferred (normalized) way to do it.As a bonus you can add a row for a task whenever it's done, your application does not need to wait for all tasks to be done before it can write it to the database.
11 Oct 2013 by ASP.NET Community
ASP.NET is a great platform to develop any web applications. From ASP.NET 1.1 we are having one feature called View State which store the data in
3 Apr 2019 by Mahsa Hassankashi
28 Mar 2016 by Member 12371341
Hello everyone!Here I am with another doubt this time considering data structures.I was given a homework sorta.To create a binary search tree with the following values.5, 4, 3 ,1, 17, 8, 11I'd post a picture but i don't know how so.. the old fashioned wayThe given...
28 Mar 2016 by Patrice T
Both trees are perfectly legal.Simply, the given solution insert values in the order values are given.In you solution, the 17 is inserted after all other values.The given solution comes from 5, 4, 3 ,1, 17, 8, 11.Your solution comes from 5, 4, 3 ,1, 8, 11, 17.Are you allowed to reorder...
21 May 2019 by Tom Paul Heart
I have two table: Category : CatID, CatName News : NewsID, CatID,Title,Content Now, i want, when i edit on table NewS, i have dropdownlist and bind all values from table Category and show SelectedValue previous Please help me What I have tried: try { ...
21 May 2019 by Sheila Pontes
Hello The SelectedValue property select the value of the CatID field. Change your code for this: Dropdownlist.SelectedValue = CatID; If you want to use the CatName field to find your record in the control, use this code: Dropdownlist.SelectedIndex =...
11 Oct 2013 by ASP.NET Community
Concept A very common question asked on the ASP.NET Forums is how to bind a ListControl's DataTextField or DataValueField to multiple Columns. The
27 Sep 2020 by YawerIqbal
A couple of questions answered about binding CDS data using Knockout and a few more tips shared
5 Jan 2019 by Member 2925480
Quote: when using binding checkbox checked (slow and sometimes error at run time) while using "checkstate" works correctly. Is there way to bind checkbox with checked and unchecked only with null represented as unchecked Sub bindingTest(container As Control, sql As String,...
5 Jan 2019 by Maciej Los
Well, true is true, false is false and null is null. What this meant to you? You have to handle it. But... please read it before: Nullable Value Types (Visual Basic) | Microsoft Docs[^] Databinding and Nullable types in WinForms.NET[^] How to achieve that? Please, see: Bound CheckBoxes when...
28 Nov 2011 by 07navneet
error on runtime-Maximum stored procedure, function, trigger, or view nesting level exceededhtml:In DataList:- ...
28 Nov 2011 by uspatel
you can try thisuse da.Fill(ds,"tablename"); instead ofda.Fill(ds);hope it will helpsfor above error see this threadprocedure-maximum-stored-procedure-function-trigger-or-view-nesting-level-exc
11 Oct 2013 by ASP.NET Community
In this article I will sharing how to bind with GridView control with Database and without database using Data Table.Bind GridView with DatabaseI
22 Jan 2012 by BobJanova
Some techniques for data binding in WinForms to keep processing and display separate.
7 Oct 2013 by Member 10306643
Can someone please clarify whether or not it's okay to bind a datasource to a CheckedListBox since it's hidden by Intellisense and not displayed on the property grid.I have to display some values. In order to do that,I'd like to assign a ValueMember for the CheckedListBox so when checked on...
7 Oct 2013 by Azee
Hey there,Take a look:Workaround for disappearing checks in the CheckedListBox control[^]http://www.howtosolutions.net/2012/05/winform-checkedlistbox-control-missing-datasource-property/#.UlOdOBCqYQ8[^]Hope it helps.Azee...
11 Oct 2013 by ASP.NET Community
Programming theMicrosoft® ADO.NET Entity Framework            by David SceppaPublisher : MicrosoftProgramming EntityFrameworkBuilding Data Centric
27 Nov 2012 by Srinivasu Pemma
This is the best way to handle or manage bulk data insert to sql server taken from my technical blog http://www.srinetinfo.com/2012/11/bulk-data-management.html
13 Feb 2011 by CurrentlyBE
friends I am unable to write a correct C language program for quick sort using iteration. I have wrote code for the same using recursion. Can anybody give a code using iteration for quick sort in C please.
13 Feb 2011 by OriginalGriff
Google is your friend: using "iteration for quick sort in C" pasted from your question gave > 100,000 hits. The top one washttp://khatri-krishna.tripod.com/cgans.htm[^]Learn to use Google: it is quicker than asking a question...
14 Jul 2016 by Frank R. Haugen
I'm having trouble structuring my code to do what I want.The goal is to purge an inventory database and replace it with only the computers that have been in use the last yearI am comparing 2 lists of computers, one from Active Directory and one from an inventory database. I've made the...
14 Jul 2016 by OriginalGriff
If I do a dummy setup and test on your code:public class MachineAD { public string Name; public int ID; }public class Machine { public string BarCode; }public class MachineUnified { public int IDad; public string NameFromAD; public...
13 May 2012 by Ranabasu
Hi every1.... Im trying to communicate my PIC (18f4550) micro controller with PC using USB HID, and a DLL driver. The host application is developed in C#. The data send to the pc is collected using Event catcher function. Communication, data receiving all the stuffs going well. Though I...
14 May 2012 by El_Codero
14 May 2012 by Dave Kreskowiak
On top of what has already been said, there is no way you're going to get 1,000 frames a second updating a textbox.Your textbox should be painted on a "snapshot" schedule. Nobody can read 1,000 frames a second, so why are you trying to update at that rate? Update the textbox with the...
14 May 2012 by sjelen
At first look I think setText() method is your bottleneck.Try using BeginInvoke instead of Invoke.this.OutBox is a TextBox?Try:this.OutBox.AppendText("\r\n" + array[1].ToString());instead of:this.Outbox.Text = this.Outbox.Text + "\r\n" + array[1].ToString();I'm not familiar...
8 Mar 2016 by Edelweise
So i have this space client/server game that uses sql database to store data (loginname, password, etc, etc). The database creation happens in SQL Server Management Studio 2005, then i have to make a empty database and execute sql query to make the database match the server.The database is...
8 Mar 2016 by ZurdoDev
As Sinisa mentioned, only you can debug this. We can't run your code and can't see what is happening. Step into each function to find where the problem actually is.
10 Jul 2014 by Ehouarn Perret
Is there anybody here who has already successfully tried a charting library supporting Data Virtualization (like the Virtual Mode in for the DataGridView but for the Chart...)?Seems people think that redrawing everything with an external scrollbar is enough but to me a partial redrawing...
29 Jan 2017 by JeezyWonder
Hello Good Fellows.Trying to receive data, from mk, using DataReceived and handler event, what i do is -push a button on a program(code is below) then LED on mk will torn on, then the data should be sent back to program(expecting 1, on byte value, but also tried string value, doesnt work)....
29 Jan 2017 by Patrice T
First thing to do is debug serial link.You need to find if microcontroler fail to send answer or the windows app fail to receive it, or if both fail.Use a terminal emulator instead of your app and send the command manually, if microcontroler works, you will the answer on terminal. Then do...
13 Dec 2018 by HS_C_Student
It's pretty common that I will use fgets() in a loop to iterate through the lines of a file and process them. Normally it works well but in some cases it sucks. Example 1: If you need to know information about the next line(s) or previous line(s) to decide how to process the current line. ...
13 Dec 2018 by Mohibur Rashid
How about create index? In this case, you will have to read the file twice, but, you will have complete knowledge of your data set. You will create indexes by reading each character and seeking new line, when you hit the newline register it in memory, as array or as linked list. Using this you...
13 Dec 2018 by KarstenK
When it is the work of the app to parse the complete file it should be no problem. Test it. At best you use some standard containers like int this file reading example code.
13 Dec 2018 by CPallini
Quote: Example 1: If you need to know information about the next line(s) or previous line(s) to decide how to process the current line. Example 2: The current line indicates you have read too far and you must send it to a different context of your parser. Both of such problems are usually...
11 Oct 2013 by ASP.NET Community
 Whenever an attempt is made to access data from the cache, it should be with the assumption that the data might not be there any more. Thus,
11 Oct 2013 by ASP.NET Community
CachingAuthor: Prakash Singh MehraIntroduction: It is a way to store the frequently used data into the server memory which can be retrieved very
15 Sep 2018 by Member NFOC
int *arr=new int[size]; I am not getting what this thing is implying. What I have tried: What will be the difference if i change the value from 0 to 10? What i mean is this do size will affect this? And what it all means ?
15 Sep 2018 by OriginalGriff
Quote: What will be the difference if i change the value from 0 to 10? What value? There is no "0"! Look at the line of code, and break it down: int *arr=new int[size]; int Integers are involved. int * It's a pointer to an intger int *arr ...
11 Jan 2016 by mrbonny7
Hello,I am trying to create a program in C# which will return Data (Definitions shown by google) for examplehttps://drive.google.com/file/d/0ByKNXX5k0y0vcXVUYjZ3RGhST28/view?usp=sharingyou Can see this link to better understand my requirement. I am presently using a Google web search api...
11 Jan 2016 by Abhinav S
You can filter and sort as required. Check the documentation - https://developers.google.com/custom-search/docs/structured_search?hl=en[^].
12 Feb 2012 by abi1988
Is that a better way to inherit the Data Access Layer(DAL) in Business Logic Layer(BLL) instead of creating an object of DAL in BLL in any Object oriented language? However the DAL uses only protected methods & properties so that it is not 'visible' to other layers. Is this breaking n-tier...
12 Feb 2012 by CDP1802
No, it's better not to do that. Inheritance creates a far too strong dependence between the application logic and the data access logic. Just try to estimate the work involved when you have to rewrite the data access classes when migrating to another database. Instead, the DAOs should expose an...
23 Sep 2016 by Member 12757084
test[,(factcols) := lapply(.SD, factor), .SDcols = factcols]factcols has a list columns for which the above needs to be applied. I am trying to understand what does .SD and .SDcols mean in the above code.Thanks in advance!!What I have tried:I am trying to understand what does .SD...
24 Nov 2011 by 3796068
Hi all,Can we create stored procedure in Ms-accessThanks
24 Nov 2011 by Not Active
http://msaccessmemento.hubpages.com/hub/Stored_Procedure_in_MS_Access[^]
18 Dec 2013 by Member 10474952
Hello All - I am looking to capture ascii data from a parallel port output from a machine - this device is not a pc - but it is collecting datat & printing a table of numbers to an epson lx300+ printer - Can anyone help me devise a solution to this problem ? Thanks in advance Marty
11 Mar 2014 by Lek Plepi
Hello GuysI have installed one software that works with local ms access database.If you remove that database of course the software displays the warning that the database is missing.Can i migrate this database to Sql server so the program will work with Sql and not with Ms Access anymore????
11 Mar 2014 by Maciej Los
If it is designed for MS Access, you can't!