摘要: <asp:Repeater ID="rp2" runat="server" OnItemCommand="rp2_ItemCommand"> <ItemTemplate> <table width="100%" cellpadding="0" cellspacing="0" border="1"> <tr> <td>id:<%#Eval( "id" )%></ 阅读全文
posted @ 2012-01-03 16:58 ishibin 阅读(1031) 评论(0) 推荐(0)
摘要: //获取当前进程的完整路径,包含文件名(进程名)。 string str = this.GetType().Assembly.Location; result: X:/xxx/xxx/xxx.exe (.exe文件所在的目录+.exe文件名) //获取新的 Process 组件并将其与当前活动的进程关联的主模块的完整路径,包含文件名(进程名)。 string str = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName; result: X:/xxx/xxx/xxx.exe (.exe文件所在的目录+.exe文 阅读全文
posted @ 2012-01-03 11:38 ishibin 阅读(917) 评论(0) 推荐(0)