In c #, multiple parameters are transmitted using URLs using Java statements,
Original statement: String str = "<script language = 'javascript '> window. showModalDialog ('xmjl _ editor. aspx? Id = "+ txt_nodeid.Text +" & xmjl_id = "+ grid_xmjl.DataKeys [e. rowIndex]. value. toString () + "', 'string t', 'scroll = yes; status = 0; help = 0; resizable = 1; height = 400px; width = 800px ') </script> ";
However, I couldn't pass the parameter either. I searched the website and found no practical method. Later, an unintentional operation solved the problem. The modification is as follows:
String str = "<script language = 'javascript '> window. showModalDialog ('xmjl _ editor. aspx? Id = "+ txt_nodeid.Text +" & xmjl_id = "+ grid_xmjl.DataKeys [e. rowIndex]. value. toString () + "', 'string t', 'scroll = yes; status = 0; help = 0; resizable = 1; height = 400px; width = 800px ') </script> ";
Nothing else has changed. The main reason is to change "& xmjl_id" to "& xmjl_id". The space after the Connection Symbol is removed is correct!
A small problem, I have been tossing for a long time, programming is no small matter!
From the whx_1113 Column