|
|
any news
luke
|
|
|
|
|
Hi
I am sorry, but I dont know the exact syntax in VB 2003. I think you will need to open a cursor (a record set?) from the database that corresponds to the selection in the combo box and fill in the text boxes from values in that cursor.
Hope this helps
Chandra
|
|
|
|
|
i guess vb 2005 is almost the same. if you have any code regarding vb2005 i think i can manage to try something out
luke
|
|
|
|
|
guys/gals,
i found this on thecodeproject but it's in C#.
www.codeproject.com/csharp/combobox.asp
I want something exactly the same but obviously in vb.net. if you could translate it in vb then i could use my data to arrange it but at least i get an idea of how this is
thanks
luke
|
|
|
|
|
guys imagine i have this table
Rest_type Rest_name Tel Location
----------- ------------ --- ----------
ala carte del pinto 2345546 Dublin
pizzeria francesco's 3455667 Rome
now i have a form with a combobox (cbRests), and 2 textboxes (txtType, txtTel)
i have been able to include the Rest_name in the combobox but i need to fill in the textboxes with the relevant info...ex
when i select del pinto from the combobox, i want the textboxes to display ala carte and 2345546....how can i do that......in code please as i have no idea on how to do that.... thank you very much...your help is very much needed here
luke
|
|
|
|
|
Use combo box selected event changed to fill the text boxes.
Janani
|
|
|
|
|
my problem is how to fill them i don't know the syntax
luke
|
|
|
|
|
Try adding columns in virtual mode and populate combobox data when DataGridView control fires event "Cell Value Needed". You can also derive your own combobox cell and return text "Loading..." in Cell.GetValue function while the SELECT statement is running at background. When it is finished, call to InvalidateCell and populate combobox with db results.
-----------------
Solo hay 10 tipos de personas, las que saben binario y las que no
|
|
|
|
|
Hi all,
I need to add one more column "notes" to the datagrid which already has aound 10 columns.I know how to do it in asp.net.In asp.net we go to the property builder and add columns to the datgrid.But in vb.net is there anyway to add one more column to the existing datagrid..Please help me as its a bit urgent.
Thanks a lot for all your valuable time
Durga
Durga
|
|
|
|
|
Try adding columns with dg.Columns.Add("ColumnName"). Be sure datagrid is not linked with any DataSource (add linked columns with column property --> "DataProperty". If the dg is linked, unlink, add column and link again.
-----------------
Solo hay 10 tipos de personas, las que saben binario y las que no
|
|
|
|
|
Hi all,
I need to add one more column "notes" to the datagrid which already has aound 10 columns.I know how to do it in asp.net.In asp.net we go to the property builder and add columns to the datgrid.But in vb.net is there anyway to add one more column to the existing datagrid..Please help me as its a bit urgent.
Thanks a lot for all your valuable time
Durga
Durga
|
|
|
|
|
Can I describe a methods purpose through intellisense in the visual studio designer. I can see the required parameters of the method, I would like to add a description as well. I'm using VB.Net on framework 1.1.
-- modified at 2:50 Tuesday 31st October, 2006
PJ
|
|
|
|
|
Above for method start a comment with 3 single quote marks ie '''
This should give you an xml template to enter a description of the method, parameters, return values etc.
Steve Jowett
|
|
|
|
|
That only works in VB.NET 2005, not 2003.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
You'll have to use a 3rd party tool to do this in VB.NET 2002 and 2003. Xml documentation support wasn't added to VB.NET until 2005 (.NET Framework 2.0). Something like VBCommentor[^] will do it for you.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
i didn't tried this on framework 1.1,
but, you just try this one.
after defining the complete function with return type, parameters and all.
you press on the comment key 3 times just above the function name. So, it will automatically comes with the details, there you can give your details for the
parameters, return type and function description etc.
if it solved your problem, please dont forget to rate the answer....
Thanks & Regards,
Jeneesh K. Velayudhan
|
|
|
|
|
I need To Open an existing Excel File and Replace a Value in a Particular Cell.Please Help me on this.
Ram Kiran
|
|
|
|
|
hi
in VB6 do the following in sequence
1-go to the Project->References...
2-select Microsoft Excel x.x Object Library
3-press OK
4-in code window define these new variables:
Dim xls As New Excel.Application
Dim wb As Excel.Workbook
Dim ws As Excel.Worksheet
Set wb = xls.Workbooks.Open(ExcelFileName)
Set ws = wb.Worksheets(WorksheetName)
ws.Cells(RowNo, ColNo) = VALUE
wb.Close False
Set wb = Nothing
bye
|
|
|
|
|
Is there any way to call the Find and Replace function and Replace a Particular Cell via ASP.Net
|
|
|
|
|
The procedure does with VB.NET.
I under user A opens this Application, then cuts under user B to work, when i arrive once more under user A operates this Application, discovers The GUI cann't repaint. Why?
code
|
|
|
|
|
What?
|
|
|
|
|
When fish swim in many deep canyons where the silver moon shines down, the answer will be blown in the wind
"a fool will not learn from a wise man, but a wise man will learn from a fool"
"It is hard to fail, but it is worse never to have tried to succeed." - Theodore Roosevelt
"Success is going from failure to failure without losing your enthusiasm." - Winston Churchill
My Website || My Blog
|
|
|
|
|
This "question" is completely incomprehendable. I suggest you find someone else with a better grasp of English to translate and repost your question.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Do you mean that when you switch (change) users in your application, the GUI does not repaint?
Chandra
|
|
|
|