Hi! Sorry if i don't make sense here, but i am really puzzled. Can anyone explain this simple concept to me? When do i Dispose connection? is it necessary? and there's also this blablabla = Nothing. how do i use it? And how about the DataAdapter, do i dispose it also?
Can anyone help me on how to get the time from the local settings of my computer? DateTime.Today seems to work for me, it gives me the date today. But I'm having a problem with the DateTime.Today.TimeOfDay. it just gives me the default time, which is 00:00:00. The time in my settings is correct...
Hi, I have an update form where user can update any record in the database by filling in new values in textboxes. I have succeeded in updating ONE FIELD already, however, i want to be able to update many fields in just one update statement. I know the statement should be "UPDATE TABLENAME SET...
Hi. How can i bind data to datagrid?
there are no DataBind available. An Error notification keeps on showing up once i type "DataBind". (It says: 'DataBind' is not a member of System.Windows.Forms.DataGrid) There is one close though, DataBindings. But I don't know how to use it. anyone help me...
stackOverflowException ?
this error occurs as i run my .exe file: stackOvelflowException. i think its a run time error. Can anyone help me fix it? there are no errors during build, btw.:confused:
using / calling function from another class
how can i use a functions created in another class? do i have to inherit something? or declare something? how? because it says "Name 'GetData' is not declared."
Basically, i am trying to call a function (let's say GetData())that is in Class1 from Class2.
What does this error mean? [Reference to a non-shared member requires an object reference]. It keeps popping out when i try to open a form named "frmLogIn". And this is the syntax i used: frmLogIn.Show()
Another error is this:
['Open' is not a member of 'WindowsApplication1.frmLogIn']. this...
hi. please help me!! i am trying to insert a new record into an access database, and the following keeps popping up: syntax error in INSERT INTO statement. however, i cannot find any error with my insert into statement. can anyone please help me? im desperateeeeeeeee. im so stuck!!!!
PrivateSub...
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.