The Malaysian Indian e-Community Forum Index The Malaysian Indian e-Community
MALAYSIAN INDIAN FORUM - A gathering place of Malaysian Indians for Community-building.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Important Notice: We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024. If you wish to migrate to our paid hosting service, please contact [email protected].
C#

 
Post new topic   Reply to topic    The Malaysian Indian e-Community Forum Index -> Computer Helpdesk
View previous topic :: View next topic  
Author Message
the_Legend
Newbie


Joined: 25 Mar 2008
Posts: 13

PostPosted: Sun Apr 20, 2008 8:57 am    Post subject: C# Reply with quote

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
View user's profile Send private message
VJeyaa
Senior Member


Joined: 10 Feb 2008
Posts: 673
Location: The weight room...

PostPosted: Sun Apr 20, 2008 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
the_Legend
Newbie


Joined: 25 Mar 2008
Posts: 13

PostPosted: Mon Apr 21, 2008 2:44 am    Post subject: Reply with quote

Thankz vjeyaa...thank u very much
Back to top
View user's profile Send private message
frags
Junior Member


Joined: 21 Apr 2008
Posts: 31

PostPosted: Mon Apr 21, 2008 11:11 pm    Post subject: Reply with quote

I have answered this post in 3 different forums Laughing 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
View user's profile Send private message
the_Legend
Newbie


Joined: 25 Mar 2008
Posts: 13

PostPosted: Mon Apr 21, 2008 11:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
frags
Junior Member


Joined: 21 Apr 2008
Posts: 31

PostPosted: Mon Apr 21, 2008 11:49 pm    Post subject: Reply with quote

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. Confused So you are using multiple buttons to navigate to different pages? Confused A screenshot of the form would help...
_________________
Back to top
View user's profile Send private message
the_Legend
Newbie


Joined: 25 Mar 2008
Posts: 13

PostPosted: Mon Apr 21, 2008 11:56 pm    Post subject: Reply with quote

do u have yahoo msn?

can we chat there regarding this...
Back to top
View user's profile Send private message
frags
Junior Member


Joined: 21 Apr 2008
Posts: 31

PostPosted: Tue Apr 22, 2008 12:05 am    Post subject: Reply with quote

the_Legend wrote:
do u have yahoo msn?

can we chat there regarding this...


my msn is [email protected]
_________________
Back to top
View user's profile Send private message
the_Legend
Newbie


Joined: 25 Mar 2008
Posts: 13

PostPosted: Tue Apr 22, 2008 12:08 am    Post subject: Reply with quote

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
View user's profile Send private message
the_Legend
Newbie


Joined: 25 Mar 2008
Posts: 13

PostPosted: Thu Apr 24, 2008 8:27 am    Post subject: Reply with quote

test
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Malaysian Indian e-Community Forum Index -> Computer Helpdesk All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!