Click here to Skip to main content
16,004,833 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: controling the if Pin
albCode15-May-06 2:26
albCode15-May-06 2:26 
QuestionMissing files Pin
vuthaianh14-May-06 23:29
vuthaianh14-May-06 23:29 
AnswerRe: Missing files Pin
RichardGrimmer15-May-06 4:41
RichardGrimmer15-May-06 4:41 
QuestionIs there any InstallationShield for supported for .NET Pin
VenkataRamana.Gali14-May-06 22:58
VenkataRamana.Gali14-May-06 22:58 
AnswerRe: Is there any InstallationShield for supported for .NET Pin
Colin Angus Mackay14-May-06 23:22
Colin Angus Mackay14-May-06 23:22 
QuestionGetting a particular field from a database Pin
alee15.10.8814-May-06 22:24
alee15.10.8814-May-06 22:24 
AnswerRe: Getting a particular field from a database Pin
Colin Angus Mackay14-May-06 22:38
Colin Angus Mackay14-May-06 22:38 
GeneralRe: Getting a particular field from a database Pin
alee15.10.8815-May-06 6:42
alee15.10.8815-May-06 6:42 
Actually it's working... but it isn't logging on with any accounts i'm trying with. The underneath is the code I have in the button submit


string occupation = (UHandler.UserLogIns.Rows[0]["Occupation"].ToString().ToUpper());
if(occupation == "STUDENT")
{
Session["userID"] = txtUsername.Text;
Response.Redirect("UsersViewProfile.aspx");
}

The problem is that I do not have a row filter which returns that 1 particular row, so it's searching in the first row where the occupation of that row is Teacher.

Did you understand me now?
GeneralRe: Getting a particular field from a database Pin
Colin Angus Mackay15-May-06 7:31
Colin Angus Mackay15-May-06 7:31 
GeneralRe: Getting a particular field from a database Pin
alee15.10.8815-May-06 8:05
alee15.10.8815-May-06 8:05 
AnswerRe: Getting a particular field from a database Pin
ptvce15-May-06 0:13
ptvce15-May-06 0:13 
AnswerRe: Getting a particular field from a database Pin
Kanjinghat15-May-06 20:53
Kanjinghat15-May-06 20:53 
Questioncode behind file Pin
amaneet14-May-06 21:53
amaneet14-May-06 21:53 
AnswerRe: code behind file Pin
Colin Angus Mackay14-May-06 22:35
Colin Angus Mackay14-May-06 22:35 
AnswerRe: code behind file Pin
_AK_14-May-06 22:37
_AK_14-May-06 22:37 
Questiondatalist in asp.net 1.1 Pin
amaneet14-May-06 21:13
amaneet14-May-06 21:13 
QuestionFREETEXTTABLE Pin
TheEagle14-May-06 21:07
TheEagle14-May-06 21:07 
QuestionDatagrid demo on VS2005 or ASP.NET 2.0 Pin
Aayush Singh14-May-06 20:53
Aayush Singh14-May-06 20:53 
AnswerRe: Datagrid demo on VS2005 or ASP.NET 2.0 Pin
minhpc_bk15-May-06 0:00
minhpc_bk15-May-06 0:00 
QuestionWebCustomControl, create events Pin
Piovra_14-May-06 19:54
Piovra_14-May-06 19:54 
AnswerRe: WebCustomControl, create events Pin
minhpc_bk14-May-06 20:43
minhpc_bk14-May-06 20:43 
GeneralRe: WebCustomControl, create events Pin
Piovra_14-May-06 23:50
Piovra_14-May-06 23:50 
GeneralRe: WebCustomControl, create events Pin
minhpc_bk15-May-06 16:09
minhpc_bk15-May-06 16:09 
QuestionRepeater changing my name attributes Pin
eggie514-May-06 19:49
eggie514-May-06 19:49 
AnswerRe: Repeater changing my name attributes Pin
minhpc_bk14-May-06 20:05
minhpc_bk14-May-06 20:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.