Multi-column combobox in datagrid

Submitted by: 
Visitors have accessed this post 44695 times.

Here's another version of lynxgrid that I have developed. But by this time I have added a multi-column combobox.

The primary purpose of this code is to learn how to integrate combobox and other control like datepicker, checkbox, etc. in lynxgrid. You will also learn in different way on how to save using a master/detail form. How to delete record in table which was deleted in lynxgrid control.

Note: I'm using the term combobox instead of datacombo or something else which I'm actually using in this code because combobox in datagrid is most common term.


Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

ctrlNSDatacombo.ocx not found

Please send it to my email address or send me a link of this file.

 

Regards

najahir

sir have a good time. how's computer programming going own?
can you help me sir how to make a computer virus using visual basic 6.
my only problem on that is, how should i make my exe file automatically loads up. for example my virus file is currently save or lacated at removable media or disk. then if you connect that media to computer it should automatically loads. how should i do the code for that sir? please send me your response to my email. [email protected]

Oh my! I don't teach how to make a virus here. I have uploaded my trojan program but it is for educational purposes only.
A trojan works like a virus but is more sophistacated one. Don't create it if you have a bad intention.

Sir can you help me on my project. i don't know what is the code once i click the datagrid i want the data populated in the textbox and in adding data once i click save button i want automatically seen in datagrid.

please help...

Hi can I ask how to connect data grid to mysql and what are the code pls...

MySQL works similar from other data sources.

  1. Private Sub Form_Load()
  2. Dim Customers As New ADODB.Recordset
  3.  
  4. Set Customers = New ADODB.Recordset
  5.  
  6. Customers.cursorlocation = AdUseClient
  7. Customers.Open "SELECT * from Customers", Con, adOpenKeyset, adLockPessimistic
  8.  
  9. Set DataGrid1.DataSource = dept
  10. End Sub

You have to declare Con variable before loading the form.

Hi,

I am trying to create a system with combo box. The combo box is bound to a table. The data on the table is id and description. I have displayed in the combo box the description but on save I want to have the id associated with the description to be saved.

I am currently working on the tutorial on "Database Programming Made Easy". Please comeback anytime to see the progress.

hi...can you help me,how to make an automated enrollment system?
please send me a fedback as soon as possible....

tnx.............. :-)

my account in FB [email protected]

hoping..........

cath......

Thanks for your help

ITM

please send ctrlNSDatacombo.ocx

hello ,
pl provide v.b 6.0 and backend oracle 9i project code . I have to submit urjent..

Hi,I need this same control in vs 2005,Pls help me
Thanks
sezhi.k
email me at [email protected]

Hi ,

pls help me I am new in c#.net. web app. I want to get data from product table to multi column combobox. (sql 2005 data). & onclick set values into diff. textboxes.

Thanks

Sharad
email Id [email protected]

Hi,

I 'm new to VB6. I wish to get data from Datagrid and
to save the same to my access database in VB6.
Can you help me.
If you have any code please send me.
[email protected]
Govindaraj
Trichy,
Tamilnadu.

Hi,
I am developing an application for school purpose, and in that I want to take the attendence of the students in class wise. when we select the class the students of the particular class students are loaded into the combo box from the database.

Now I want to save the entire records in the combo box at a time, plz help by suggesting the code for this.

Thanking you,

with regards,
ck.

Hi sir can you convert a codes into VB.net

Good day sir, your work is wonderful. Please I am an undergraduate of Comp. Sci and also new in programing. I am having issues in a project I am developing titled 'crime profiling'. It has the following headings UserId/ Name/OffenceCommitted / Victims/ Ipo/ DateDetained / DeptCommandInvestigating /Gender/ StateOfOrigin / Lga / Tribe /Present Address /Description/ Remark/ Picture. pls can you give me with something to work on. thanks

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.