blah blah blah is here! blah blah » Close

0
votes
1 answers

How do I bind radio buttons to MySQL database in C#?

Dina
15

Hey everyone, I have a window form in which I want to bind the attribute value (Gender) with 2 radio buttons (Male and Female) ,,, I also want that if I browse for a record..the saved value (Male or Female) appears to user by checking the c ...

0
votes
1 answers

C# - Binding data on instance?

I have a small 'rolodex' program that opens a form for each person in my database at runtime (each person is a row in the db). I have that part working (thanks to some help from the lovely people here!), but I have a new problem. I am no lo ...

1
votes
1 answers

WPF Property Binding And/Or and Non Bool Types

eeboy
499

Is it possible to bind to a property using logical operators? Take for instance my earlier question of binding to the IsEnabled property of a button. I was using... [code] <Button Name="btnUpdate" Content="Update" ...

0
votes
1 answers

custom data bindings

Is there a way to do a custom data binding? For example: [code] internal class LocalSettings // this class only stores per-session // settings that are not saved to disk { internal bool theCheckbo ...

0
votes
0 answers

Some Question on Data Binding

Hi, I want a two tables in an access database. They are 1. a student table with information regarding students along with a markingID field. 2. a marking table with a markingID primary field and module1...module12 marks. I want to creat ...

0
votes
1 answers

XML data binding in Windows Form textbox

Hi, I have an XML file that looks like following: <Speed> <maxspeed>50</maxspeed> <highjogspeed>10</highjogspeed> <mediumjogspeed>10</mediumjogspeed> <slowjogspeed>10</slowjogspee ...

0
votes
0 answers

Data Binding with Windows Form

Dear All, I have created a dataset and datatables using Visual Studio Designer Tools. The database is from a SQL Server express edition. I have created windows form with combo boxes and text boxes where I would like to display the dat ...

0
votes
2 answers

Data Binding

hello , i'm having a big Problem with this code [code] textBox1.DataBindings.Add(new Binding("Text", lectureBindingSource, "LectureName")); [/code] the code work good in the first time but after that ...

0
votes
1 answers

Binding a control to ab object property

I know you can use ApplicationSettings to store settings for applications, but is there a way to do something more like this? I have an object: [code] public class MyObject { public bool MyBoolean; } [/code] Suppose I have ...

1
votes
1 answers

Binding Generic Lists

eeboy
499

Is it possible to bind a List<T> to a listbox control? I see examples that seem to do this by simply assigning the listbox's datasource property to the List<T>. However, I don't seem to have the option of a datasource property. ...

0
votes
0 answers

WPF Binding

Is it possible to create a TextBlock say in code behind and then set the content of a Grid to be the TextBlock? Thanks, P.

Feedback