Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net ÎÞ·¨±£´æ±äÁ¿µÄÖµ - .NET¼¼Êõ / ASP.NET

ÎÒµÄÒ³ÃæÓиögridviewÊǸöÓÃÀ´²éѯµÄÒ³Ã棬´Ó±ðµÄÒ³Ãæ´«»ØÀ´µÄ±äÁ¿ÈçÏÂ
if not me.ispostback then
  sqlstr = request.querystring("sqlstr")
  tablename = request.querystrng("tablename")
end if

ÕâÊÇÒ³ÃæµÚÒ»±»µ÷ÓÃʱ´«À´µÄ±äÁ¿

¿ÉÊÇÎÒÔÚµãÁËgridviewÀïµÄɾ³ý°´Å¥È¥µôÓÃÕâЩ±äÁ¿ÊÇ£¬¸ú×Ù·¢ÏÖÕâÁ½¸ö±äÁ¿sqlstr,tablenameÒѾ­ÊÇ¿ÕÖµÁË¡£
Ôõô»ØÊ°¡£¿£¿ÓÐûÓнâ¾ö°ì·¨£¿
È¥µôif not me.ispostbackÊÔÊÔ¡£

if not me.ispostback then
  sqlstr = request.querystring("sqlstr")
  tablename = request.querystrng("tablename")
end if
\
¿´ÄãµÄ±äÁ¿ÔÚÄĶ¨ÒåµÄ¡£
»òÕßÄãÖ±½ÓÔÚµ÷ÓõÄʱºòÖ±½ÓÓÃPage.request.querystring("sqlstr")¶ø²»ÓñäÁ¿




ÒýÓÃ

ºÇºÇ£¬Â¥Ö÷»¹²»Àí½âasp.net³ÌÐòµÄÁ÷³Ì£¬Ã¿´ÎÓзþÎñÆ÷ʼþ£¬¾Í»á»Ø·¢£¨Ï൱ÓÚÌá½»Ò³Ã棩µ½ºǫ́£¬¾­¹ý´¦Àíºó£¬Éú³ÉеÄÒ³Ã棨×ÔÈ»¾Í½«ËùÓбäÁ¿¸´Î»ÁË£©ÔÙ·µ»Ø¿Í»§¶Ë¡£
Òª±£´æ±äÁ¿µÄÖµ£¬¿ÉÒÔÓÃViewState£¬±ÈÈçÉÏÃæµÄ´úÂë¸Äд³É£º
if not me.ispostback then
ViewState["sqlstr"] = request.querystring("sqlstr")
¡­¡­
ÕâÖÖ¿ÉÒÔ£¿ÊÔÊÔ¿´

²»ÓÃviewstateµÄ£¬ÄãµÄÖµ²»ÊÇÔÚquerystringÀïÃæÂֻ²»¹ý²»Òª¼ÓÉÏpostbackµÄ²âÊÔ£¬°ÑifÅжÏÈ¥µô£¬ÈÃ
sqlstr = request.querystring("sqlstr")
tablename = request.querystrng("tablename")
ÿ´Î¶¼Ö´ÐУ¬¾ÍÓÐÖµÁË¡£

ѧϰ¡·¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
{{----


Ïà¹ØÎÊ´ð£º

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

asp.net³ÌÐòÔ±ÇóÖ° - .NET¼¼Êõ / ·Ç¼¼ÊõÇø

±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾­Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......

AJAX ºǫ́Ôõôȡ²»µ½Ö± - .NET¼¼Êõ / ASP.NET

´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл
ajax_http.js
-------------
function getXMLHTTP() {
  var xmlhttp;
  if (window.ActiveXObject) {
  //IE
  try {
  ......

asp.netÈçºÎÌá¸ß·ÃÎÊËÙ¶È - .NET¼¼Êõ / ASP.NET

ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë  
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 
3Q´ó¼Ò
htmlÒ³Ãæ.

Õâ¸ö,¼ÈÈ»Ö÷Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ