Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
design as follows;
 
date ss vs rv kv ty ss jj ms vb cnn cmk

18 1 combobox( all course name)

2

3
 

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
Comments
DaveAuld at 6-Jan-13 11:22am
   
I take it you are using asp.net by the fact that you are asking for vb script?

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 474
1 Gihan Liyanage 338
2 ChauhanAjay 180
3 Sergey Alexandrovich Kryukov 163
4 Vinay Mistry 160
0 Sergey Alexandrovich Kryukov 9,011
1 OriginalGriff 7,941
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2014
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