Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
Questionremoving vbcr and vbtab at the end of a string Pin
Mridang Agarwalla2-Sep-05 4:07
Mridang Agarwalla2-Sep-05 4:07 
AnswerRe: removing vbcr and vbtab at the end of a string Pin
Mohamad Al Husseiny2-Sep-05 4:47
Mohamad Al Husseiny2-Sep-05 4:47 
AnswerRe: removing vbcr and vbtab at the end of a string Pin
miah alom2-Sep-05 4:48
miah alom2-Sep-05 4:48 
AnswerRe: removing vbcr and vbtab at the end of a string Pin
Judah Gabriel Himango2-Sep-05 4:52
sponsorJudah Gabriel Himango2-Sep-05 4:52 
AnswerRe: removing vbcr and vbtab at the end of a string Pin
Guffa2-Sep-05 5:23
Guffa2-Sep-05 5:23 
QuestionHow to create/delete access data tables? Pin
Anonymous2-Sep-05 3:49
Anonymous2-Sep-05 3:49 
AnswerRe: How to create/delete access data tables? Pin
miah alom2-Sep-05 4:46
miah alom2-Sep-05 4:46 
QuestionDatabinding Exception in my UserControl Pin
User 20930732-Sep-05 2:50
User 20930732-Sep-05 2:50 
Hi Every body
I have a usercontrol (Named DatePicker) with a property called 'Date'.This is the syntax of this property :

[Category("Date Info"),Bindable(true)]
public string Date
{
	get
	{return this.dateString;}
	set
	{this.dateString = value;}
}

This control also have some string properties (Day,Year and month) without '[Bindable(true)]'Attribute.I use this user control and bind the 'Date' property of this control to a string column of a DataView in my form :

this.datePicker1.DataBindings.Add("Date",this.dvDataSource,"Birthday");


When I delete all rows of dataview whith this code :

this.BindingContext[this.dvDataSource].RemoveAt(this.BindingContext[this.dvDataSource].Position);


and then try to add a new row using the following code,

this.BindingContext[this.dvDataSource].AddNew();


I receive the following Exception : Mad | :mad:

"DataBinding could not find a row in the list that is suitable for all bindings"

Note :

When I comment the line of code that contains instruction for Binding this property, everything works ok.I bound some other controls (Like DataGrid and TextBox) to the other columns of DataView.They haven't any problem !!

Please help me if anyone knows the answer.
Best Regards.

[ _ Always there is another way _ ]
QuestionVoice Communication in C# Pin
Zeeshan Gulzar2-Sep-05 1:40
Zeeshan Gulzar2-Sep-05 1:40 
AnswerRe: Voice Communication in C# Pin
Judah Gabriel Himango2-Sep-05 4:57
sponsorJudah Gabriel Himango2-Sep-05 4:57 
GeneralRe: Voice Communication in C# Pin
Zeeshan Gulzar2-Sep-05 22:45
Zeeshan Gulzar2-Sep-05 22:45 
GeneralRe: Voice Communication in C# Pin
Judah Gabriel Himango3-Sep-05 12:29
sponsorJudah Gabriel Himango3-Sep-05 12:29 
QuestionCombobox Items Pin
PHDENG812-Sep-05 1:27
PHDENG812-Sep-05 1:27 
AnswerRe: Combobox Items Updated Pin
PHDENG812-Sep-05 2:02
PHDENG812-Sep-05 2:02 
AnswerRe: Combobox Items Pin
Dario Solera2-Sep-05 2:10
Dario Solera2-Sep-05 2:10 
GeneralRe: Combobox Items Pin
PHDENG812-Sep-05 2:28
PHDENG812-Sep-05 2:28 
GeneralRe: Combobox Items Pin
PHDENG812-Sep-05 2:38
PHDENG812-Sep-05 2:38 
GeneralRe: Combobox Items Pin
PHDENG812-Sep-05 2:50
PHDENG812-Sep-05 2:50 
GeneralRe: Combobox Items Pin
miah alom2-Sep-05 4:39
miah alom2-Sep-05 4:39 
GeneralRe: Combobox Items Pin
Dario Solera2-Sep-05 8:46
Dario Solera2-Sep-05 8:46 
QuestionInternet Timer Pin
Illegal Operation2-Sep-05 1:21
Illegal Operation2-Sep-05 1:21 
AnswerRe: Internet Timer Pin
Judah Gabriel Himango3-Sep-05 12:34
sponsorJudah Gabriel Himango3-Sep-05 12:34 
QuestionHow to make tow forms in the same layer? Pin
dreamwinter1-Sep-05 23:27
dreamwinter1-Sep-05 23:27 
AnswerRe: How to make tow forms in the same layer? Pin
Dario Solera2-Sep-05 1:54
Dario Solera2-Sep-05 1:54 
QuestionHow about DataCloumn.Expression Pin
Libra1-Sep-05 23:00
Libra1-Sep-05 23:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.