Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Problem with OleDBConnection and WindowForm

$
0
0

Hello,

this is my first post here, so dont get me wrong :p I have 2 diffrents problems with OleDBConnection. First problem is that when i open for example. access database my window from get smaller and elements are bugged. 

Second problem is that when i change value in a cell in my datagridrow, source dataset get this change too but problem is when i fire method HasChanged() on my dataset it gives me false so its like i didnt modified cells. But when i remove or add row its get changes so idk what im doing wrong. Here is code how i change my datagridview values on cells:

            okienko.dataGridView1.Rows[index_wiersza].Cells[1].Value = textBox2.Text;

//edit i fixed second problem http://geek-goddess-bonnie.blogspot.com/2009/09/fun-with-datasets.html but still first problem is pain :/

Thx for help.




Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>