C#ÈçºÎ·¢ËÍͼƬÐÅÏ¢¸øJAVA³ÌÐò½ÓÊÕ - Java / Java SE
ÎҵĿͻ§¶ËÊÇÓÃC#дµÄ£¬C#ÓÃSOCKET·¢ËÍÈçºÎ·¢ËÍͼƬÊý¾Ýµ½Ò»¸öJAVAµÄ³ÌÐòÀ´½ÓÊÕͼƬÐÅÏ¢ÄØ£¬ÎÒµÄC#ÐòÁл¯ºóÓÃJAVA²»ÖªµÀÄܲ»ÄÜ·´ÐòÁл¯£¬²»ÖªµÀÄÄλ´óÏÀÓÐ×ö¹ýÕâ·½ÃæµÄ³ÌÐò£¡ÁíÍâÊǽ«Í¼Æ¬ÐòÁл¯³ÉÒ»¸ö×Ö·û´®´æµ½XMLÀïÃæ£¬JAVAÊÕµ½ÐÅÏ¢Ö®ºó½âÎöXML»ñµÃÕâ¸öÐòÁл¯Ö®ºóµÄͼƬ×Ö·û´®ÔÙ·´ÐòÁл¯£¬Èç¹ûÁ½¶Ë¶¼ÊÇC#ÎÊÌâ²»´ó£¬µ«ÊDz»ÖªµÀJAVAÔõô×ö£¡
²»ÖªµÀJAVAÖÐÈç¹ûͨ¹ýSOCKET´«ËÍͼƬ»òÕßÎļþ£¬½«ÎļþÐòÁл¯µ½XMLÖÐÖ®ºóÈçºÎ·´ÐòÁл¯
ÏÂÃæÊÇÎÒC#ÐòÁл¯µÄ´úÂë
C# code:
Bitmap bitMap = new Bitmap(filename);
MemoryStream ms = new MemoryStream();
bitMap.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
StringWriter sw = new StringWriter();
XmlTextWriter xw = new XmlTextWriter(sw);
xw.Formatting = Formatting.Indented;
XmlSerializer ser = new XmlSerializer(ms.GetBuffer().GetType());
ser.Serialize(xw, ms.GetBuffer());
string xmlString = sw.GetStringBuilder().ToString();
xw.Close();
sw.Close();
ms.Close();
XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlString);
if (doc != null && doc.ChildNodes.Count > 1 && doc.ChildNodes[1] != null)
{
XmlNode node = doc.ChildNodes[1];
photoString = node.InnerText;
}
¿´²»¶®c# &n
Ïà¹ØÎÊ´ð£º
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄǰºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
insert into [ScholarshipManagement].[dbo].[department] ([department],[specialization] ,[grade]) output inserted.departmentID values(? ,? ,? )
ÇëÎÊ´ó¸çÃÇÕâ¸ösql Óï¾äÓ¦¸ÃÓÃJavaÀïµÄÄǸöÊý¾Ý¿â²Ù×÷·½·¨£¿ ......
ÏÖÔÚ²»ÏëÓÃ<a> </a> ±êÇ© £¬ÒòΪµã»÷ºó»á³öÏÖÒ³ÃæÖØ¶¨Î»£¬¸øÎÄ×Ö¼ÓÉÏcssÑùʽ¾Í¿ÉÒÔ¿´ÆðÀ´ ÊÇhrefÔõôʵÏÖÕâÑùµÄcss
text-decoration:underline; cursor:hand;
ÒýÓÃ
text-decoration:underline; cur ......
Ö´ÐÐÊý¾Ý¿â²Ù×÷ʱ£¬Ö±½ÓÓÃSQL Óï¾äºÃһЩ »¹ÊÇÓô洢¹ý³Ì¸ü¼ÑÄØ£¿
¸÷ÊãÆð¼û
Õâ¸öµÄ¾ßÌåÎÊÌâ¾ßÌå·ÖÎö
¼òµ¥µÄselect ¡¢updateºÍinsertµ±È»sql½â¾öÁË
¸´ÔӵķÅÔÚsql·þÎñ¶ËÓ¦¸ÃºÃµã
Â¥Ö÷Çë²ÎÔÄ
http://msdn.micr ......
ÓÃStruts2+Spring+Hibernate×öµÄÒ»¸öwebµÄERPСÏîÄ¿£¬×ܲ¿Ò»Ì¨·þÎñÆ÷£¨Êý¾Ý¿âÓëWeb·þÎñÆ÷ÔÚͬһ»ú×ÓÉÏ£©Êǵ¥¶À²¦ºÅÉÏÍøµÄ£¬Óë·Ö¹«Ë¾Ã»ÓÐÓþÖÓòÍøÏߣ¬Ó²¼þÌ«¹óÁË£¬ÆäËû¼¸¸öÊ¡Êзֹ«Ë¾¶¼À´·ÃÎÊÕâÒ»·þÎñÆ÷£¬¸Ð¾õºǫ́´ú ......