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

ASP.NET

 
Generalproblem in uploading sqlserver db(plzzzzzz help) Pin
M.V5-Dec-07 0:55
M.V5-Dec-07 0:55 
GeneralRe: problem in uploading sqlserver db(plzzzzzz help) Pin
Paddy Boyd5-Dec-07 2:10
Paddy Boyd5-Dec-07 2:10 
GeneralRe: problem in uploading sqlserver db(plzzzzzz help) Pin
M.V5-Dec-07 3:50
M.V5-Dec-07 3:50 
Generalcrystal report refresh manually (urgent) Pin
mharoonkhan5-Dec-07 0:53
mharoonkhan5-Dec-07 0:53 
GeneralRe: crystal report refresh manually (urgent) Pin
Sathesh Sakthivel5-Dec-07 2:32
Sathesh Sakthivel5-Dec-07 2:32 
Generaluploading database(plzzzzzzz help) Pin
M.V5-Dec-07 0:46
M.V5-Dec-07 0:46 
GeneralRe: uploading database(plzzzzzzz help) Pin
Sathesh Sakthivel5-Dec-07 2:19
Sathesh Sakthivel5-Dec-07 2:19 
QuestionPopup window Pin
pmillio5-Dec-07 0:18
pmillio5-Dec-07 0:18 
Hi i have written the code below, its job is to bring up a popup when a button is clicked,
the popup doesnt work and i doubt it is taking across "WorkSchedule_ID" I tried this but it didnt work, I reckon the offending line is "strPrimaryKey =e.Item.DataBind("WorkSchedule_ID").ToString;". WorkSchedule_ID is coming from the database and each recored has its on unique ID, how can i pass it through to the page?


protected void btnModify_Click(Object sender, DataGridCommandEventArgs e)
{

if (e.CommandName == "Submit")
{

string strPrimaryKey = (string)e.CommandArgument;
strPrimaryKey =e.Item.DataBind("WorkSchedule_ID").ToString;

//int intPrimaryKey = Convert.ToInt32(strPrimaryKey);

strEvent = "<script language='javascript'>\r\n";
strEvent = strEvent + "popup('sow_notes.aspx?WorkSchedule_ID=" + strPrimaryKey;

strEvent = strEvent + "&survey_id=" + Request.QueryString["survey_id"].ToString();
strEvent = strEvent + "&sow_type_id=" + Request.QueryString["sow_type_id"].ToString();

strEvent = strEvent + "&surveytype_id=" + Request.QueryString["surveytype_id"].ToString();
strEvent = strEvent + "&property_id=" + Request.QueryString["property_id"].ToString() + "');\r\n";

strEvent = strEvent + "</script>";ViewState["sEvent"] = strEvent;
}

}
GeneralGridview Pin
dandamudi padma5-Dec-07 0:09
dandamudi padma5-Dec-07 0:09 
QuestionHow to send the content of the application form to an email? Pin
sanaziuse4-Dec-07 23:39
sanaziuse4-Dec-07 23:39 
GeneralPLz Solve my problem Pin
mohant$.net4-Dec-07 22:31
mohant$.net4-Dec-07 22:31 
GeneralRe: PLz Solve my problem Pin
Malcolm Smart4-Dec-07 23:42
Malcolm Smart4-Dec-07 23:42 
GeneralRe: PLz Solve my problem Pin
mohant$.net5-Dec-07 0:05
mohant$.net5-Dec-07 0:05 
Questionhow to check whether the domain name in email id correct Pin
chithra.r4-Dec-07 22:15
chithra.r4-Dec-07 22:15 
AnswerRe: how to check whether the domain name in email id correct Pin
rihdus4-Dec-07 22:34
rihdus4-Dec-07 22:34 
Generalerror Pin
mehran.asg4-Dec-07 21:59
mehran.asg4-Dec-07 21:59 
GeneralRe: error Pin
Sathesh Sakthivel5-Dec-07 2:44
Sathesh Sakthivel5-Dec-07 2:44 
Generalproblem with url rewriting [modified] Pin
Ravi_214-Dec-07 21:23
Ravi_214-Dec-07 21:23 
QuestionHow to create regular expression start with * Pin
$unil Dhiman4-Dec-07 21:13
$unil Dhiman4-Dec-07 21:13 
AnswerRe: How to create regular expression start with * Pin
N a v a n e e t h4-Dec-07 21:22
N a v a n e e t h4-Dec-07 21:22 
GeneralRe: How to create regular expression start with * Pin
$unil Dhiman4-Dec-07 22:05
$unil Dhiman4-Dec-07 22:05 
QuestionHow to maintain session between multiple popup windows in asp.net Pin
Rajesh_K_Sharma4-Dec-07 20:51
Rajesh_K_Sharma4-Dec-07 20:51 
AnswerRe: How to maintain session between multiple popup windows in asp.net Pin
ReactiveX4-Dec-07 21:50
ReactiveX4-Dec-07 21:50 
GeneralRe: How to maintain session between multiple popup windows in asp.net Pin
Rajesh_K_Sharma4-Dec-07 22:05
Rajesh_K_Sharma4-Dec-07 22:05 
Questionsession end function [modified] Pin
Sonia Gupta4-Dec-07 20:23
Sonia Gupta4-Dec-07 20:23 

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.