Click here to Skip to main content
15,899,474 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Create a comment system Pin
BL@CK H@CK$R3-May-14 7:31
BL@CK H@CK$R3-May-14 7:31 
Questionajax control toolkit - windows server 2008 r2 Pin
Stein The Ruler2-May-14 9:47
Stein The Ruler2-May-14 9:47 
QuestionGood day Pin
Jebz19931-May-14 0:26
Jebz19931-May-14 0:26 
QuestionReportViewer with Parameter Pin
Member 1057920230-Apr-14 8:47
Member 1057920230-Apr-14 8:47 
AnswerRe: ReportViewer with Parameter Pin
Member 105792021-May-14 7:07
Member 105792021-May-14 7:07 
Questionjoin on linq relative to checklistbos Pin
Member 1044233028-Apr-14 20:00
Member 1044233028-Apr-14 20:00 
AnswerRe: join on linq relative to checklistbos Pin
Praneet Nadkar7-May-14 19:54
Praneet Nadkar7-May-14 19:54 
QuestionThere is no row at position 0 in login page Pin
Jignesh Patel27-Apr-14 2:21
Jignesh Patel27-Apr-14 2:21 
object[] obj = new object[2];
obj[0] = UserNameTextBox.Text;
//obj[1] = PasswordTextBox.Text;
obj[1] = FormsAuthentication.HashPasswordForStoringInConfigFile(PasswordTextBox.Text, "sha1");
SqlTransaction tran;
if (Business.CN_String.State == ConnectionState.Closed)
Business.CN_String.Open();
tran = Business.CN_String.BeginTransaction();

//business.select(tran, "check_login", obj);
DataSet ds = (DataSet) business.select_pera("check_login", obj);
---------
ERROR HERE

string type = ds.Tables[0].Rows[0]["Type"].ToString();

------------

tran.Commit();
Business.CN_String.Close();
Session.Add("Naitik", UserNameTextBox.Text);
Session.Add("Naitik1", "LoginUser");

if (Session["Naitik2"] == "WithoutLoginUser")
{
Response.Redirect("~/General/Product.aspx");
}

if ((Boolean)ds.Tables[0].Rows[0]["Authentication"] == true)
{


if (type == "admin")
Response.Redirect("~/Admin/Home.aspx");
else

//Response.Redirect("~/User/Home.aspx?userName="+UserNameTextBox.Text);
Response.Redirect("~/User/Home.aspx");
}
else
{
Response.Write("<script>alert('Please Check Your Email For Varification')</script>");
}
AnswerRe: There is no row at position 0 in login page Pin
Richard Deeming28-Apr-14 2:11
mveRichard Deeming28-Apr-14 2:11 
Questionurl-rewrite complete asp.net application i want www.myurl.com/Profiles/sample.aspx?id=profilename to be like this www.myurl.com/profilename Pin
pramodgorityala25-Apr-14 8:45
pramodgorityala25-Apr-14 8:45 
AnswerRe: url-rewrite complete asp.net application i want www.myurl.com/Profiles/sample.aspx?id=profilename to be like this www.myurl.com/profilename Pin
Anurag Gandhi25-Apr-14 17:45
professionalAnurag Gandhi25-Apr-14 17:45 
GeneralRe: url-rewrite complete asp.net application i want www.myurl.com/Profiles/sample.aspx?id=profilename to be like this www.myurl.com/profilename Pin
pramodgorityala15-May-14 4:46
pramodgorityala15-May-14 4:46 
GeneralRe: url-rewrite complete asp.net application i want www.myurl.com/Profiles/sample.aspx?id=profilename to be like this www.myurl.com/profilename Pin
Anurag Gandhi16-May-14 4:09
professionalAnurag Gandhi16-May-14 4:09 
AnswerRe: url-rewrite complete asp.net application i want www.myurl.com/Profiles/sample.aspx?id=profilename to be like this www.myurl.com/profilename Pin
Dnyaneshwar@Pune27-Apr-14 23:50
Dnyaneshwar@Pune27-Apr-14 23:50 
QuestionFailure sending mail. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established con Pin
Member 1040837325-Apr-14 6:09
Member 1040837325-Apr-14 6:09 
AnswerRe: Failure sending mail. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established Pin
DamithSL26-Apr-14 19:05
professionalDamithSL26-Apr-14 19:05 
GeneralRe: Failure sending mail. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established Pin
Dnyaneshwar@Pune28-Apr-14 0:04
Dnyaneshwar@Pune28-Apr-14 0:04 
QuestionTable doubt Pin
Hari-CodeBlogger24-Apr-14 20:14
Hari-CodeBlogger24-Apr-14 20:14 
AnswerRe: Table doubt Pin
Tom Marvolo Riddle24-Apr-14 21:03
professionalTom Marvolo Riddle24-Apr-14 21:03 
GeneralRe: Table doubt Pin
Hari-CodeBlogger25-Apr-14 1:20
Hari-CodeBlogger25-Apr-14 1:20 
GeneralRe: Table doubt Pin
Hari-CodeBlogger25-Apr-14 18:37
Hari-CodeBlogger25-Apr-14 18:37 
GeneralRe: Table doubt Pin
Tom Marvolo Riddle27-Apr-14 18:20
professionalTom Marvolo Riddle27-Apr-14 18:20 
GeneralRe: Table doubt Pin
Hari-CodeBlogger6-May-14 23:55
Hari-CodeBlogger6-May-14 23:55 
QuestionChart control X-axis label contains double values with more precision Pin
Kandepu Rajesh24-Apr-14 20:11
Kandepu Rajesh24-Apr-14 20:11 
Questionproject code Pin
varun kumar23-Apr-14 8:19
varun kumar23-Apr-14 8:19 

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.