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

²éѯACCESSÖзûºÏÌõ¼þ¼Ç¼µÄÓï·¨¸ñʽ

ÎÒ×öÁËÒ»¸öС³ÌÐò£¬ÏëʵÏֵŦÄܾÍÊÇÔÚÎı¾¿òÖÐÊäÈëÐÕÃû£¬µã»÷²éѯ°´Å¥£¬¾ÍÄܲ鵽ACCESSÊý¾Ý¿âÖдËѧÉúµÄÐÅÏ¢£¨±àºÅ£¬ÐÕÃû£¬ÐÔ±ð£¬ÄêÁ䣩¿ÉÎÒ²»ÖªµÀÓï·¨¸ñʽ£¬ÎÒ×Ô¼ºÐ´µÄÓï¾äµ÷ÊÔÄÜͨ¹ý£¬¿ÉÊÇÔËÐÐʱ³ö´í£¨µã»÷²éѯ°´Å¥Ê±£©¡£
ÎÒµÄÓï¾äÈçÏ£º
string txt2 ="selcet * from Student where SutdentName='"+textBox4.Text+"'";
ÊÇÕâ¾ä³öµÄÓï·¨´íÎó£¬ÎÒ¾õµÃ¡£

ÎÒдµÄ¡°²éÕÒ¡±°´Å¥µÄ´úÂëÈçÏ£¬²»ÖªµÀÊÇ·ñÒ²ÓдíÎó£¬Çë´ó¼ÒÖ¸µã
private void button2_Click(object sender, EventArgs e)
  {
  if (textBox4.Text == "")
  {
  MessageBox.Show("ÇëÊäÈëÒª²éÕÒµÄѧÉúµÄÐÕÃû");
  return;
  }
  string txt1 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Student1.mdb";
  string txt2 ="selcet * from Student where SutdentName='"+textBox4.Text+"'";
  OleDbConnection conn = new OleDbConnection(txt1);
  conn.Open();
  DataTable dt = new DataTable();
  OleDbDataAdapter dar=new OleDbDataAdapter(txt2,conn);
  dar.Fill(dt);
  dataGridView1.DataSource = dt.DefaultView;

  }
ÎÊÌâ³ö´íÔÚÄÄÒ»¾ä£¿ÊÇ¡°conn.Open()¡±»¹ÊÇ¡°dar.Fill(dt);¡±?
ACCESSÁ¬½Ó×Ö·û´®ÓÐÎÊÌ⣬ûÓÐÖ¸¶¨Â·¾¶£¬SQLÓï¾äûʲôÎÊÌ⣬²»¹ýÕâÑùÖ±½ÓÆ´SQLÓï¾ä²»ºÃ£¬Ó¦²ÉÓô«µ


Ïà¹ØÎÊ´ð£º

Access²éÕÒÖØ¸´ÎÊÌâ - ÆäËûÊý¾Ý¿â¿ª·¢ / Access

ÎÒÓÃAccessÊý¾Ý¿â×öÁËÒ»¸öͼÊéÊý¾Ý¿â£¬ÀïÃæÓÐÒ»¸ö×Ö¶ÎÊÇISBN£¬¾ÍÊÇISBNºÅ£¬µ«ÊÇÖ»µÄÒ»×Ü·ÖͼÊéдµÄISBNºÅ£¬ÓеÄûд£¬Ð´µÄÄÇÒ»²¿·ÖÓеÄISBNÊÇÖØ¸´µÄ£¬ÄÜ·ñÓÃSQLÓïÑÔ°ÑÖØ¸´µÄ¹ýÂ˵ô£¬µ«Ã»Ð´ISBNºÅµÄͼÊé²»ÄܹýÂ˵ô£¬È ......

DbgridÁ¬½ÓaccessÍ϶¯¹ö¶¯ÌõËÀ»ú£¿

DbgridÁ¬½Óaccess ÏÔʾÊý¾ÝʱÍ϶¯¹ö¶¯ÌõËÀ»ú£¿Ôõô½â¾ö°¡£¿
»úÆ÷Ì«²îÁ˰ɣ¿

ÊDz»ÊÇÄãÊý¾ÝÁ¿Ì«´óÁ˰¡
ÄãÊý¾ÝÉÙһЩ¿´¿´»¹ËÀ»úÂð£¿

Êý¾ÝºÜÉÙ°¡ ¾ÍÒ»Ò³¡£

ÎÒÔÚBCB6ÏÂ×ö¹ý²»ÉÙ DBGRID+ACCESS £¬´ÓÀ´Ã»ÓÐÓöµ½ ......

Vb.net Access CrystalReport - .NET¼¼Êõ / VB.NET

µÚÒ»´Î½Ó´¥CrystalReport
¼±Ñ°ÕÒVb.net Access ͨ¹ý²éѯ³öµÄÊý¾ÝÊä³öµ½CrystalReportµÄÀý×Ó.
ÓеÄÅóÓÑÂé·³·¢À´Ñ§Ï°.¶àл!
¸úÄãµÄÒªÇó²î²»¶à£¬²Î¿¼Ò»Ï£º
http://topic.csdn.net/u/20090823/21/87af02d3-f4ca-480 ......

ÔõÑù×°ACCESS - VC/MFC / Êý¾Ý¿â

ÎÒ»ú×ÓÀïÃæÃ»ÓÐACCESS,ÇëÎÊÔÚ²»ÖØ×°ÏµÍ³µÄÇé¿öϸÃÈçºÎ°ÑËü×°ÉÏ,֮ǰÎÒÊÔ×°¹ýÆäËü°æ±¾µÄSP3 OFFICE,µ«»¹ÊÇ×°²»ÉÏ,
ÇëÎÊÓÐʲôºÃ°ì·¨Âð?

°²×°OFFICE £¬Ñ¡Ôñ°²×°ACCESS¾Í¿ÉÒÔѽ ¡£

ÒýÓÃ
°²×°OFFICE £¬Ñ¡Ôñ°²×° ......

ÇóÖú ¹ØÓÚASP access excelµ¼ÈëºÍµ¼³ö

ÍøÉÏÕÒµ½µÄ¶¼ÊÇasp.net
ÓÐûÓÐaspµÄµ¼Èëµ¼³öÍêÕû´úÂë

ÒýÓÃ
CSDNÉÏÄãËÑËÑ ¾ÍÓкܶà Õâ¸öÊǵ¼³öhttp://topic.csdn.net/u/20100104/10/fd959988-1ea6-46eb-9fe3-c4fe0e5ba234.html?8966
²»ÊÇµÄ ÎÒÏÖÔÚÄܵ¼ÈëºÍµ¼³ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ