vb.net
-
how to direct from 1form to another form & when i try to connected to Database the following error msg displays "username not found" the code str ="username=hasitha;password=randika;databasemike;server=suntwo"
hello
how to direct from 1form to another form & when i try to connected to Database the following error msg displays
"username not found"
i think you are open particular user detail from form1 and show this detail to another form (form2). you can make a procedure on form2 which take UserID as argument and then basis on this UserID you can write query.call this procedure from Form1 and at this moment if user exist then load form2 otherwise dont transter focus to form2
the code
str ="username=hasitha;password=randika;databasemike;server=suntwo"what is this ? i think it is connectionstring. Please look at database argument. hope this helps
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India)
-
how to direct from 1form to another form & when i try to connected to Database the following error msg displays "username not found" the code str ="username=hasitha;password=randika;databasemike;server=suntwo"
hello
1 - try giving your subject some meaning 2 - try explaining your self a little more. The code you posted means nothing, except that I now know how to hack into your DB. The error does not come from this line, so where does it come from ? 3 - it sounds to me like you're usng online help to work on the edge of your skillset. Try reading through some books, so you understand basics like how to work with more than one form
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
how to direct from 1form to another form & when i try to connected to Database the following error msg displays "username not found" the code str ="username=hasitha;password=randika;databasemike;server=suntwo"
hello
Error in your connectionstring statement, correct that, see this. server=servername;database=DatabaseName;uid=UserName;pwd=Password. Bhaskar Shetty
-
how to direct from 1form to another form & when i try to connected to Database the following error msg displays "username not found" the code str ="username=hasitha;password=randika;databasemike;server=suntwo"
hello
hi mikeicbt if you want to learn you have to be Serious, you did not google, you just Posted. i suggest you google first, Buy a intro to VB.net or Programming books, get articles online,the guys are correct you cant try to learn Programming from Scratch here. here is something that might help you. http://www.eggheadcafe.com/community/aspnet/14/10010099/connection-strings.aspx[^]
Vuyiswa Maseko