If I have a method in my C#;
public CollectionView Months
{
get
{
CollectionView retList = new Enumerations.Months().ToCollectionView<Enumerations.Months>();
return retList;
}
}
And I have a ComboBox;
<ComboBox x:Name="ddlMonth" Grid.Row="3" Grid.Column="1"
ItemsSource="{Binding Source={StaticResource Months}}"/>
How can I bind my ComboBox to my method?
I should add I'm a complete xaml newbie.
Can I use generateDS.py in python in a similar way that I would use xsd.exe to create C# classes from xsd?
Basically, given an xsd schema I want to create a data structure, in python, fill its data in, and then render it into an xml string.
perhaps pyXSD is better?
oh, and yes, I'm a python newbie
c# newbie here.
seems like this user gave me a very good solution for my problem:
http://stackoverflow.com/questions/3034197/serialport-error/3034243#3034243
but i have no clue how to code up what he suggested. can you please help?
Hi Good Guys,
I need your help. Please help me as I am a newbie using VB.NET.
I have been asked to transfer DATAREADER rows into Crystal Report DATASET1.XSD
Here are the coding
Private Sub BtnTransfer()
dim strsql as string = "Select OrderID, OrderDate from ORDERS"
dim DS as new dataset1 '<---crysal report dataset1.xsd
dim DR as SqlDataReader
dim RW as DataRow = DS.Tables(0).NewRow
sqlconn = new sqlconnection(ConnString)
sqlcmd = new sqlCommand(strSql, sqlconn)
sqlcmd.Connection.open()
DR = sqlcmd.ExecuteReader(CommandBehaviour.CloseConnection)
Do while DR.READ
RW("OrderID") = DR("OrderID")
RW("OrderDate") = DR(OrderDate")
DS.Tables(0).Rows.ADD(RW)
Loop
End sub
I am newbie with git. It tried this tutorial, but after the command, i get this error:
[root@WL-0022150E7BD4 alma]$ git diff --cached
fatal: No HEAD commit to compare with (yet)
I created two file in the current directory. I dont undersitand, it is the first step in the tutorial.
I'm trying fossil as my new VCS, since I'm a lone developer working on small projects. I started testing fossil but I encountered a (probably major newbie) problem. How does one push or pull to another directory (which is easy on Hg). Fossil pull or push commands expect a URL and not a directory. When I start a server in one directory and try to push from another directory I get the "server loop" error message. Any ideas?
Newbie question.
After I have written the Android App (easy part) I need to sign it and upload it (seems the hard part)
Is there an Open Source app or tool that I can use to do this so that I don't have to write command shell scripts. JARSIGNER looks overly complex.
I'm looking for a dead simple Sign-And-Package up tool.
I am using Eclipse with the Android plug in.
Please help me as I am a newbie using VB.NET.
I have been asked to transfer rows from a DataReader into a Crystal Report dataset.
Here are the coding:
Private Sub BtnTransfer()
dim strsql as string = "Select OrderID, OrderDate from ORDERS"
dim DS as new dataset1 '<---crysal report dataset1.xsd
dim DR as SqlDataReader
dim RW as DataRow = DS.Tables(0).NewRow
sqlconn = new sqlconnection(ConnString)
sqlcmd = new sqlCommand(strSql, sqlconn)
sqlcmd.Connection.open()
DR = sqlcmd.ExecuteReader(CommandBehaviour.CloseConnection)
Do while DR.Read
RW("OrderID") = DR("OrderID")
RW("OrderDate") = DR(OrderDate")
DS.Tables(0).Rows.ADD(RW)
Loop
End sub
I'm making my way into web development and have seen the word postback thrown around. Coming from a non-web based background, what does a new web developer have to know about postbacks? (i.e. what are they and when do they arise?)
Any more information you'd like to share to help a newbie in the web world be aware of postbacks would be most greatly appreciated.
Hello,
I was trying to achieve count up timer with this jquery plugin.
As I am newbie on this, I really don't understand their documentation.
What I want to display is. I want to display counter which counts from 1st January 2005 till current date. Example of output display is
5 years 5months 5hours 5seconds (seconds will be keep counting)
Please kindly help me by posting snippets to achieve. Thanks for your time and greatly appreciated.
Hi, I'm using the Jquery's simple photo manager just as it is and it's working properly.
http://jqueryui.com/demos/droppable/photo-manager.html
All I need is the possibility to recycle all the elements from the trash by a single click.
Sounds simple but I couldn't get it so far. Ok, I'm a newbie to Jquery.
Help would be appreciated!
I'm newbie in Functional Programming.
I have a huge neural network with thousands of neurons and every connection between neurons has its weight. I have to update these weights very often, several thousand times per learning session.
Is FP still applicable here? I mean in fp we can't modify variables and only able to return new variables not changing previous values. Does this mean I have to recreate whole network on every weight update?
i am a newbie to JSf and Tomahawk Technology. In application i am having a datatable, i want store the information from he data table into a PDF format on a click of a button using Tomahawk and SandBox.Kindly Help.
I am having some trouble getting appscript installed on OS/X 10.6.3 / Python 2.6.1. When I issue
sudo easy_install appscript
I get "unable to execute gcc-4.2: No such file or directory". Even when I do export CC=/Developer/usr/bin/gcc-4.2 (a valid gcc-4.2 executable), easy_install barks.
What could be the issue?
Disclaimer: OS/X newbie at the helm...
Hi, I'm a newbie in python.
I want to write a simple web that prints the client ip on screen
my http.conf Handler:
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
The cgi.escape(os.environ["REMOTE_ADDR"]) return this error: KeyError: 'REMOTE_ADDR'
and I just get lost with the BaseHTTPRequestHandler
so what is the simple way to get the client ip?
thank you.
Specifically, I want to use IShellFolder, IExtractImage and ShellInterop in order to extract thumbnails from PDF and DOC files.
Also, the namespace I need to import would be handy too
Thanks so much for taking a look at this newbie question :)
Iain
Hi,
I am a newbie to web-services. What is a good way to learn web-services implementation using java, xml and spring? Are there any good books which cover this topic in good width?
Or, are there any online resources, tutorials, etc.?
Also, what would be good projects to understand this hands-on?
Any recommendations?
I always see people mention that "Python binding" and "C Sharp binding" etc. when I am actually using their C++ libraries. What does binding mean? If the library is written in C, and does Python binding means that they use SWIG kind of tool to mock a Python interface?
Newbie in this field, and any suggestion will be welcomed.
I have installed the gem 'simple_uuid' but nothing seems to be working.
Using irb and running the following:
require 'rubygems'
require 'simple_uuid'
is fine, both return true. But running the following:
// Class added by simple_uuid
UUID.new
returns
NameError: uninitialized constant UUID
from (irb):3
from :0
I'm a ruby newbie, so don't assume much in the answers. Thanks.
Is the iTunes COM interface available on Mac OS/X? From the documentation I could find, it seems much more extensive than the Applescript interface I could expose through the Automator program.
Disclaimer: absolute OS/X newbie here.
I'm an Objective-C newbie and am enjoying reading/learning Objective-C in order to do iPhone development but I'm struggling to understand some of the code, especially the code that comes with the UIKit framework.
For example, take this line:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSelection:(NSInteger)section {
...
I understand the parameters passed in but am struggling to understand the return parameter. Any help appreciated.
In my country the online payments are not an old thing, the first time i saw a web application taking payments directly to a local bank account was last year.
So, Im a newbie coding web payment system.
My question is, what are the best practices to store creditcard information into the database...
I have many ideas: encrypting the creditcard, database security restriction, etc.
What have you done?