I'm working on a project that makes extensive use of dataGrids to present data to the user for viewing and editing. I have a separate form of preferences where users can specify row height for each individual grid.
I have some code down that will set the height, but it has two problems...
Simple question I hope.
I'd like to retrieve the list of fonts currently installed on a system to populate a combobox and allow the user to choose what font they would like to see their output displayed in.
This is probably fairly easy to do but has escaped me thus far. Thanks in advance for...
I'm trying to read some information in from a database to populate a bunch of textboxes in a form.
I'm using the oleDbConnection and oleDbReader classes to accomplish this. The database itself was made in Access and within Access, I can write SQL queries that are able to query any table in the...
Just a quick question:
Is it possible to center the contents of all cells in a datagrid? I'm sure it's just some property or something that I've overlooked.
Thanks!
Dev-CPP is one free option. I've not used it much myself. I've heard from some friends it can be a pain to get running and compiling initially, but I haven't heard complaints after that.
http://www.bloodshed.net/devcpp.html
Other than that, free IDE's for C++ are pretty hard to come by as...
It seems I've answered my own question.
For any who wish to know, I altered my XML schema to contain two tables, and my forms to have a list format input to one table, and a DataGrid input to the other.
My application uses a dataset that Visual Studio generated using an XML schema. When I try to load the form that has textboxes bound to the various data elements I get an exception thrown that reads:
An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll...
After doing some more searching on the web, I found this page which seems to describe what I want to do fairly well. To quote a code snippet from their example:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="book">...
All the types will be known. Each part would have the same elements in the same quantity ie:
<parts>
<part id="1">
<thickness>float?</thickness>
<maxtemp>integer?</maxtemp>
</part>
<part id="2">
<thickness>float?</thickness>
<maxtemp>integer?</maxtemp>
</part>
.
...
I'm trying to store data in a spreadsheet or database style.
For example, let's say I need to store information on various parts. Each row's leftmost column would have something like a Part Number, and the other 10 columns or so would store information on the various attributes of this part. I...
I'm writing an application that collects and stores user input for processing by another program. The data that it collects can be split into two groups: one that follows a list format, for which there will always be a set number of inputs, and the other that follows a spreadsheet style that...
I don't have a lot of experience with XML, but I'd like to create a schema that includes an element for which I can have an arbitrary number of values, i.e. maybe only 5 values for one file based on the schema, but 25 for another.
I'd prefer to not put some hard and fast limit on the number if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.