Click here to Skip to main content
15,915,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCalendar Server Control in asp.net Pin
rummer22-Dec-09 21:49
rummer22-Dec-09 21:49 
AnswerRe: Calendar Server Control in asp.net Pin
Abhishek Sur22-Dec-09 23:08
professionalAbhishek Sur22-Dec-09 23:08 
Questiondatabase backup Pin
mylogics22-Dec-09 21:25
professionalmylogics22-Dec-09 21:25 
AnswerRe: database backup Pin
Abhishek Sur22-Dec-09 21:36
professionalAbhishek Sur22-Dec-09 21:36 
GeneralRe: database backup Pin
mylogics22-Dec-09 21:41
professionalmylogics22-Dec-09 21:41 
GeneralRe: database backup Pin
mylogics22-Dec-09 22:37
professionalmylogics22-Dec-09 22:37 
GeneralRe: database backup Pin
Abhishek Sur22-Dec-09 22:41
professionalAbhishek Sur22-Dec-09 22:41 
Questionreturn value wont save Pin
baselanfouqa22-Dec-09 20:47
baselanfouqa22-Dec-09 20:47 
hi all,

i have a showmodaldialog and after getting value from B page the value is stored in textbox now everything is ok but save button wont take new value and returns the old one,
is there something i should do, i will put the code of save button maybe it would help :-


SqlConnection con = new SqlConnection(sConnectionString);
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandType = CommandType.StoredProcedure;

if (ViewState["Edit"].ToString().Equals("Edit"))
{
cmd.CommandText = "BaselAnfouqa_Upd";
cmd.Parameters.Add("@UserID", SqlDbType.Int).Value = nUserID;
}
else
{
cmd.CommandText = "BaselAnfouqa_Ins";
}
cmd.Parameters.Add("@UserName", SqlDbType.VarChar, 50).Value = tbUserName.Text;
cmd.Parameters.Add("@Password", SqlDbType.Int).Value = tbPassword.Text;
cmd.Parameters.Add("@Salary", SqlDbType.Float).Value = tbSalary.Text;
cmd.Parameters.Add("@Gender", SqlDbType.Char, 10).Value = ddlGender.SelectedValue;
cmd.Parameters.Add("@DateOfBirth", SqlDbType.DateTime).Value = tbDateOfBirth.Text.ToString();
cmd.Parameters.Add("@Status", SqlDbType.Int).Value = ddlStatus.SelectedValue;

con.Open();
cmd.ExecuteNonQuery();
vBindgvClients();

mvMainPage.SetActiveView(viewClients);


thx in advance.
AnswerRe: return value wont save Pin
Vimalsoft(Pty) Ltd22-Dec-09 20:56
professionalVimalsoft(Pty) Ltd22-Dec-09 20:56 
GeneralRe: return value wont save Pin
baselanfouqa22-Dec-09 22:39
baselanfouqa22-Dec-09 22:39 
GeneralRe: return value wont save Pin
Vimalsoft(Pty) Ltd22-Dec-09 22:53
professionalVimalsoft(Pty) Ltd22-Dec-09 22:53 
GeneralRe: return value wont save Pin
baselanfouqa23-Dec-09 2:53
baselanfouqa23-Dec-09 2:53 
AnswerRe: return value wont save Pin
Abhishek Sur22-Dec-09 21:25
professionalAbhishek Sur22-Dec-09 21:25 
Questionvisitors management code Pin
SEKHAR REYYI22-Dec-09 20:46
SEKHAR REYYI22-Dec-09 20:46 
AnswerRe: visitors management code Pin
Vimalsoft(Pty) Ltd22-Dec-09 20:51
professionalVimalsoft(Pty) Ltd22-Dec-09 20:51 
QuestionHow to Open PDF files Directly by ASP.net Page. Pin
shiva.kore22-Dec-09 19:33
shiva.kore22-Dec-09 19:33 
AnswerRe: How to Open PDF files Directly by ASP.net Page. Pin
Vasudevan Deepak Kumar22-Dec-09 20:25
Vasudevan Deepak Kumar22-Dec-09 20:25 
GeneralRe: How to Open PDF files Directly by ASP.net Page. Pin
shiva.kore22-Dec-09 20:36
shiva.kore22-Dec-09 20:36 
AnswerRe: How to Open PDF files Directly by ASP.net Page. Pin
Abhishek Sur22-Dec-09 21:33
professionalAbhishek Sur22-Dec-09 21:33 
QuestionMerging common Rows in SSRS Pin
siddisagar22-Dec-09 19:10
siddisagar22-Dec-09 19:10 
Questionexcepted dtd markup was not found ???? Pin
koolprasad200322-Dec-09 19:04
professionalkoolprasad200322-Dec-09 19:04 
QuestionWebpart igoogle Pin
NETLearning22-Dec-09 13:16
NETLearning22-Dec-09 13:16 
AnswerRe: Webpart igoogle Pin
Abhijit Jana22-Dec-09 16:34
professionalAbhijit Jana22-Dec-09 16:34 
QuestionInfragistics WebDataGrid - populating off a button click Pin
TMFoust22-Dec-09 8:36
TMFoust22-Dec-09 8:36 
AnswerRe: Infragistics WebDataGrid - populating off a button click Pin
TMFoust22-Dec-09 11:25
TMFoust22-Dec-09 11:25 

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.