Skip to content

Instantly share code, notes, and snippets.

View appcoreopc's full-sized avatar

jeremy woo appcoreopc

  • New Zealand
View GitHub Profile
this.m_chartControl.RuntimeSelection = true;
this.m_chartControl.RuntimeSeriesSelectionMode = SeriesSelectionMode.Series;
this.m_chartControl.SetObjectSelection(selectedSeries);
this.m_modelBindingSource.DataSource = new List<Mydata>();
this.m_modelBindingSource.DataSource = updatedDataSource;
this.m_gcWaterMeterChooser.RefreshDataSource();
[{"VendorName":null,"ProductId":1,"ProductTitle":"Fresh Chicken Keel","ProductDescription":null,"ProductImage":null,"ProductNormalPrice":12.99,"ProductPromotionPrice":9.89,"ProductUnitType":"kg"},{"VendorName":null,"ProductId":2,"ProductTitle":"INDIAN Buffalo","ProductDescription":"Forequarter Sliced Meat","ProductImage":null,"ProductNormalPrice":9.99,"ProductPromotionPrice":8.45,"ProductUnitType":"pack"},{"VendorName":null,"ProductId":3,"ProductTitle":"Bawal Emas (Golden Pomfret)","ProductDescription":"","ProductImage":null,"ProductNormalPrice":18.90,"ProductPromotionPrice":12.90,"ProductUnitType":"kg"},{"VendorName":null,"ProductId":4,"ProductTitle":"Bawal Hitam (Black Pomfret)","ProductDescription":"Size: Medium , 200g-300g each","ProductImage":null,"ProductNormalPrice":5.20,"ProductPromotionPrice":4.29,"ProductUnitType":"each"},{"VendorName":null,"ProductId":5,"ProductTitle":"Kembong/Pelaling","ProductDescription":"","ProductImage":null,"ProductNormalPrice":6.99,"ProductPromotionPrice":4.85,"ProductUnit
[
{"VendorName":null,"ProductId":1,"ProductTitle":"Fresh Chicken Keel","ProductDescription":null,"ProductImage":null,
"ProductNormalPrice":12.99,"ProductPromotionPrice":9.89,"ProductUnitType":"kg"},
{"VendorName":null,"ProductId":2,"ProductTitle":"INDIAN Buffalo","ProductDescription":"Forequarter Sliced Meat","ProductImage":null,
"ProductNormalPrice":9.99,"ProductPromotionPrice":8.45,"ProductUnitType":"pack"}
]
@appcoreopc
appcoreopc / simpleview.js
Created February 3, 2016 09:04
simpleview
class View {
constructor(name) {
this._name = name;
}
name(name) {
if (!arguments.length) return this._name;
this._name = name;
return this;
}
import http from 'http';
http.createServer((req, res) => {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');
{
"name": "testjs",
"version": "1.0.0",
"description": "test framework",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
public class CoreDataProvider
{
private SQLiteConnection _connection;
public CoreDataProvider(string appPath, ISQLitePlatform platform)
{
_connection = new SQLiteConnection(platform, appPath);
_connection.CreateTable<Stock>();