Click here to Skip to main content
15,905,427 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How check my site's name in other's website Pin
swguy236-Dec-07 23:19
swguy236-Dec-07 23:19 
AnswerRe: How check my site's name in other's website Pin
Sathesh Sakthivel6-Dec-07 22:23
Sathesh Sakthivel6-Dec-07 22:23 
GeneralRe: How check my site's name in other's website Pin
J4amieC6-Dec-07 22:32
J4amieC6-Dec-07 22:32 
GeneralRe: How check my site's name in other's website Pin
N a v a n e e t h6-Dec-07 22:35
N a v a n e e t h6-Dec-07 22:35 
GeneralRe: How check my site's name in other's website Pin
pmarfleet6-Dec-07 22:43
pmarfleet6-Dec-07 22:43 
QuestionMenu bar control in aspx page Pin
chandler836-Dec-07 22:02
chandler836-Dec-07 22:02 
GeneralRe: Menu bar control in aspx page Pin
suyuan19846-Dec-07 23:40
suyuan19846-Dec-07 23:40 
GeneralCheck Condition Pin
SreejithAchutan6-Dec-07 21:06
SreejithAchutan6-Dec-07 21:06 
sqlstatement = "SELECT UnitId FROM department_Members WHERE UserId='" + UserId + "'";
return dbtObj.GetColumnValue(sqlstatement, "UnitId").ToString();



I want to check if the login user has unit and roleid ,then a control will be displayed.For getting the unitid from the department table is given above.But if a user had no unitid then an exception in sql command will be displayed How i avoid it.How i check if the user had a unitid in the query.Please help me .I want it urgently.
GeneralCross post - please ignore Pin
pmarfleet6-Dec-07 21:19
pmarfleet6-Dec-07 21:19 
GeneralRe: Cross post - please ignore Pin
SreejithAchutan6-Dec-07 21:48
SreejithAchutan6-Dec-07 21:48 
GeneralRe: Cross post - please ignore Pin
Sathesh Sakthivel6-Dec-07 22:06
Sathesh Sakthivel6-Dec-07 22:06 
GeneralRe: Cross post - please ignore Pin
pmarfleet6-Dec-07 22:23
pmarfleet6-Dec-07 22:23 
GeneralRe: Cross post - please ignore Pin
Paul Conrad24-Dec-07 11:35
professionalPaul Conrad24-Dec-07 11:35 
GeneralRe: Cross post - please ignore Pin
Paul Conrad24-Dec-07 11:35
professionalPaul Conrad24-Dec-07 11:35 
GeneralGridView Pin
Usharva6-Dec-07 20:17
Usharva6-Dec-07 20:17 
GeneralBest way to determine whether a user is accessing through internet or internet Pin
-rain-6-Dec-07 20:01
-rain-6-Dec-07 20:01 
GeneralRe: Best way to determine whether a user is accessing through internet or internet Pin
N a v a n e e t h6-Dec-07 20:08
N a v a n e e t h6-Dec-07 20:08 
GeneralRe: Best way to determine whether a user is accessing through internet or internet Pin
Michael Sync6-Dec-07 20:10
Michael Sync6-Dec-07 20:10 
GeneralTry and Catch Block Pin
ritu43216-Dec-07 19:30
ritu43216-Dec-07 19:30 
GeneralRe: Try and Catch Block Pin
Michael Sync6-Dec-07 19:58
Michael Sync6-Dec-07 19:58 
GeneralRe: Try and Catch Block Pin
N a v a n e e t h6-Dec-07 20:11
N a v a n e e t h6-Dec-07 20:11 
Questiontab control Pin
vamsimohan216-Dec-07 19:17
vamsimohan216-Dec-07 19:17 
GeneralRe: tab control Pin
Sam Xavier13-Dec-07 23:07
Sam Xavier13-Dec-07 23:07 
General[Message Deleted] Pin
rockz...6-Dec-07 18:40
rockz...6-Dec-07 18:40 
GeneralRe: Content Management System Pin
Christian Graus6-Dec-07 18:43
protectorChristian Graus6-Dec-07 18:43 

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.