Click here to Skip to main content
13,146,014 members (43,174 online)
Rate this:
Please Sign up or sign in to vote.
See more:
design as follows;

date ss vs rv kv ty ss jj ms vb cnn cmk

18 1 combobox( all course name)



in the combo box all course name are there.when i select the combo box that particular item will be displayed in the cell in that datagridview.

then i want to go to another column.for that go to another column in data grid view,
how to write code using vb script.when i press enter button in the keyboard that combo box will goes to another column.i want to use only one combo box for all staff to enter course on that date.

please send the code.
Posted 6-Jan-13 5:18am
DaveAuld 6-Jan-13 11:22am
I take it you are using by the fact that you are asking for vb script?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

First of all, 'please send the code' rather than 'I've tried this', is really frustrating. Why can't you at least try to do your job ? Secondly, please tag your question properly. VBScript runs in IE ( so I assume this is a website, either ASP.NET or MVC ), but only in IE ( so for some reason, you deliberately want your site to not work on a Mac, or on Firefox or Chrome. Why ?

If you're writing a windows app, what makes you think you can write vbscript in your C# app ? If you're writing a web app, then there are no datagridviews interacting with javascript or vbscript. The scripting languages run in the browser, where all those server controls have been turned in to html. In html, those things are probably tables, in tables, like most elements, have events including events for key presses. Adding events in javascript to handle what you want is easy, and works everywhere. Not many people script web sites in VBscript, because they want their websites to work for everyone, not just IE users.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100