blah blah blah is here! blah blah » Close

0
votes
0 answers

C# DataGridView null DataError on new row, but all cells have values

Good morning, I have a DataGridView bound to a DataView. The first time the use clicks on one of the cells on the new row, the DataError event does not fire. When the user does the same action a second time, the event DOES fire, and retu ...

0
votes
2 answers

Handle null value

I'm carrying a value from one form to another, it nearly works but i'm getting the following error: System.NullReferenceException was unhandled The line of code throwing the error is: [code]NewApp.textBox1.Text = ap.ResourceIndex.ToSt ...

0
votes
1 answers

NullReferenceException was unhandled

Hi could somebody please help me with this as it is driving me nuts for hours!!! I keep receving the "NullReferenceException was unhandled " in the bold line: public static Conditions GetCurrentConditions(string location) { ...

1
votes
1 answers

Using WebBrowser Control in C#

I have code such as this: string url = "http://en.wikipedia.org/wiki/Earth"; System.Windows.Forms.WebBrowser wb = new System.Windows.Forms.WebBrowser(); wb.Url = new Uri(url); but after that last line wb.Url is a ...

0
votes
1 answers

Insert text if fields null on datagrid load

how could i check through my datagrid and insert "-" automaticlly if the field is null?

Feedback