Hi All,
I have ap problem related to database and combobox..
i have a combo box which retrives the number of UserID from Database as
1
2
3
4
5
6
7
8
Now what i need to do is , if i select 3 from Combobox, then Userid1 ,Userid2, UserID3,
Should get selected and if 2 then Userid1 and userId2 Sholuld get selected from database...
Its very urgent...plz...help :(
Thanks in advance
Loading
Manikavelu VelayuthamPosted Aug 25, 2010, 7:59 AM
But we can achieve it in two ways.
1. You can connect the ms access database in sql server, and then you can write your stored procedure.
2. If the above is not possible, just use the sql queries in command text and execute it. Hope you know about command text option in .net
Please mark it as accepted answer, if my posts is helpful
javed khanPosted Aug 25, 2010, 8:25 AM
Manikavelu VelayuthamPosted Aug 25, 2010, 8:09 AM
http://www.stardeveloper.com/articles/display.html?article=2001050101&page=1
http://www.java2s.com/Code/VBAPI/System.Data.Odbc/OleDbCommandCommandText.htm
javed khanPosted Aug 25, 2010, 8:02 AM
javed khanPosted Aug 25, 2010, 7:53 AM
but the problem is that i m using ms-acess database.....is it possible to write store procedure for it in ms access..... if yes then how...is there any other method...
Thankyou.
Manikavelu VelayuthamPosted Aug 25, 2010, 7:12 AM