| | |
Vb.net Help!!!!!
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
u mean that value from the numericupdown will read in next from?
i suggest to use public shared variable to accomodate the value from numericupdown.then u can call the variable in other form.
i suggest to use public shared variable to accomodate the value from numericupdown.then u can call the variable in other form.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
is it a web application or a regular program?
if it is a regular program:
dim whatever as integer
whatever = form1.dropdownlist1.selectedvalue
if it is a web application, pass the value
on the first form:
Context.Items.Add("VAL", dropdownlist1.selectedvalue)
Server.Transfer("~/form2.aspx", True)
on the second form
dim whatever as integer
whatever = Context.Items("VAL")
if it is a regular program:
dim whatever as integer
whatever = form1.dropdownlist1.selectedvalue
if it is a web application, pass the value
on the first form:
Context.Items.Add("VAL", dropdownlist1.selectedvalue)
Server.Transfer("~/form2.aspx", True)
on the second form
dim whatever as integer
whatever = Context.Items("VAL")
--
"Dummy."
"Dummy."
you cannot call controls directly cause friends status of controls.even if you change the modifiers to public. so i suggest to use public shared variable. you can access this variable form other form...
this declaration of the variable :
this assignment value from NumericUpDown1 to value :
this code to call this variable in other form:
this declaration of the variable :
VB.NET Syntax (Toggle Plain Text)
Public Shared value As Integer
VB.NET Syntax (Toggle Plain Text)
value = NumericUpDown1.Value
VB.NET Syntax (Toggle Plain Text)
Label1.Text = Form1.value
Last edited by Jx_Man; Jan 8th, 2008 at 9:48 pm.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Jan 2008
Posts: 4
Reputation:
Solved Threads: 1
•
•
•
•
hi
i have a numericupdown box on my first form and in the next form i want the number selected in the numericupdown box to produced that number of text boxs in the next form.
if it s windows application,use below code in form2
text box.text=form1.numericupdown.value
•
•
Join Date: Jan 2008
Posts: 13
Reputation:
Solved Threads: 2
you can do this as.......
on form2 load
textbox1.text=form1.textBox1.text
just try this i think you can solve your problem easily
for any kind of web related information you can visit
http://webdesigningcompany.net
on form2 load
textbox1.text=form1.textBox1.text
just try this i think you can solve your problem easily
for any kind of web related information you can visit
http://webdesigningcompany.net
![]() |
Similar Threads
- Freelance .NET / MS SQL developer (Web Development Job Offers)
- .Net Application Developer (Software Development Job Offers)
- .net Software Engineer (Software Development Job Offers)
- .NET Consultant (Software Development Job Offers)
- Software Engineer (.NET , SQL) (Software Development Job Offers)
- ASP.Net / C# Web Developer (Web Development Job Offers)
- ProgrammersTalk.net Recruiting Forum Posters (Internet Marketing Job Offers)
- .NET developers team searches projects (Post your Resume)
Other Threads in the VB.NET Forum
- Previous Thread: validate registraion form in VB.Net
- Next Thread: Challenging Project
Views: 902 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
"crystal .net .net2005 30minutes 2008 access application arithmetic array assignment basic binary bing box button buttons c# center code combobox component connectionstring convert data database databasesearch datagrid datagridview design designer dissertation dissertations dissertationthesis dll dosconsolevb.net error excel file-dialog firewall folder google hardcopy highlighting image images isnumericfuntioncall listview login math memory mobile ms navigate net networking opacity output peertopeervideostreaming picturebox picturebox1 plugin port print printing problem problemwithinstallation project reports" save savedialog serial server sorting sql string studio syntax temp text textbox timer toolbox updown upload useraccounts usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web wpf






