View previous topic :: View next topic |
Author |
Message |
the_Legend Newbie
Joined: 25 Mar 2008 Posts: 13
|
Posted: Sun Apr 20, 2008 8:57 am Post subject: C# |
|
|
Anyone good in C# programming?
Would like to ask a simple question...tried looking in IT foums but no success......final destination is here
the question shall be easy for those familiar in c#
im building mobile a web application in visual studio...there will be 2 different categories of users...admin and workers..and im using selection list (buttons) for the user to choose their category...let's say if admin choose 'admin', they will be directed to a different 'form/page' while those who choose 'worker' category will be directed to another 'form/page"..anybody knew whats the coding for this?
any help will be greatly appreciated.... |
|
Back to top |
|
|
VJeyaa Senior Member
Joined: 10 Feb 2008 Posts: 673 Location: The weight room...
|
Posted: Sun Apr 20, 2008 11:38 am Post subject: |
|
|
I dont know abt C# programing. I am trying to find out your query. Will let you know once I find out. _________________ Before you criticize someone, make sure you walk a mile in their shoes. That way, when you do criticize, you're a mile away and you HAVE THEIR SHOES. |
|
Back to top |
|
|
the_Legend Newbie
Joined: 25 Mar 2008 Posts: 13
|
Posted: Mon Apr 21, 2008 2:44 am Post subject: |
|
|
Thankz vjeyaa...thank u very much |
|
Back to top |
|
|
frags Junior Member
Joined: 21 Apr 2008 Posts: 31
|
Posted: Mon Apr 21, 2008 11:11 pm Post subject: |
|
|
I have answered this post in 3 different forums You must be using ASP.NET if you are building a web app...
I haven't heard of anyone using C# for web app...unless you are building an engine with it..
Response.redirect("www.bllablabla") redirects people to different pages in ASP. Whats your level of usage of ASP? And not forgeting you probably need an SDK or API for the mobile device if you are developing for it....if it is a client side app. |
|
Back to top |
|
|
the_Legend Newbie
Joined: 25 Mar 2008 Posts: 13
|
Posted: Mon Apr 21, 2008 11:27 pm Post subject: |
|
|
You're right...it's asp.net with C# language using the editor visual studio...what i need was the syntax for the mentioned scenario to work(the coding)...let's say in the mobile web u're using the command button to move to other pages the syntax will be
this.ActiveForm = this.Form;
that was for using the command button to navigate between pages...what i need is button as an option instead of using the command... |
|
Back to top |
|
|
frags Junior Member
Joined: 21 Apr 2008 Posts: 31
|
Posted: Mon Apr 21, 2008 11:49 pm Post subject: |
|
|
the_Legend wrote: | You're right...it's asp.net with C# language using the editor visual studio...what i need was the syntax for the mentioned scenario to work(the coding)...let's say in the mobile web u're using the command button to move to other pages the syntax will be
this.ActiveForm = this.Form;
that was for using the command button to navigate between pages...what i need is button as an option instead of using the command... |
I dont quite get you. So you are using multiple buttons to navigate to different pages? A screenshot of the form would help... _________________
|
|
Back to top |
|
|
the_Legend Newbie
Joined: 25 Mar 2008 Posts: 13
|
Posted: Mon Apr 21, 2008 11:56 pm Post subject: |
|
|
do u have yahoo msn?
can we chat there regarding this... |
|
Back to top |
|
|
frags Junior Member
Joined: 21 Apr 2008 Posts: 31
|
Posted: Tue Apr 22, 2008 12:05 am Post subject: |
|
|
the_Legend wrote: | do u have yahoo msn?
can we chat there regarding this... |
my msn is [email protected] _________________
|
|
Back to top |
|
|
the_Legend Newbie
Joined: 25 Mar 2008 Posts: 13
|
Posted: Tue Apr 22, 2008 12:08 am Post subject: |
|
|
it's like this bro...
in mobile web application...there will be web forms which can act as pages...
lets say in visual studio u drag 2 forms(form 1 and Form2) into the design view and drag a command button into form1...u double click d button and write the syntax
this.ActiveForm = this.form2;
and let in run ...u can navigate between these pages...
the prob is now i wana add radio buttons now...with two option...'worker' and 'admin'....what i wanna know is the code when this scenario below happened...
lets' say i clicked worker in the radio button and press the command button...it will be directed to a (lets say form2)...and if i clicked admin and the command button i will be directed to (lets say form 3) ... |
|
Back to top |
|
|
the_Legend Newbie
Joined: 25 Mar 2008 Posts: 13
|
Posted: Thu Apr 24, 2008 8:27 am Post subject: |
|
|
test |
|
Back to top |
|
|
|