易截截图软件、单文件、免安装、纯绿色、仅160KB

c#代码转化成VB

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "Insert")
            {
                GridView1.DataSourceID = "";
                GridView1.DataBind();
            }
        }

        protected void DetailsView1_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
        {
            GridView1.DataSourceID = "AccessDataSource1";
            GridView1.DataBind();
        }     
Public Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As GridViewCommandEventArgs)

        If e.CommandName = "Insert" Then

            GridView1.DataSourceID = ""
            GridView1.DataBind()
        End If

    End Sub


    Public Sub DetailsView1_ItemInserted(ByVal sender As Object, ByVal e As DetailsViewInsertedEventAr


相关问答:

asp.net(c#)的Button判断的问题

我的Button1按钮先判断textbox1是否为空
        if(TextBox1.Text=="")
        {
            Label26.Text = " ......

c#和mysql搭配效率

一般C#和MS Sql Server搭配,不知道和MySql如何,是否效率上有所降低?麻烦用过这种搭配的讲下,多谢
微软一向是以垄断为发展方向,我们在以前知道,Java在Windows上的运行性能远远差于Linux等OS,有时在Windows上还会 ......

C#连接MYSQL,读取中文问题

MySQLConnection DBConn;
DBConn = new MySQLConnection(new MySQLConnectionString("localhost" , "admin" , "root" , "123456" , 3306).AsString);
DBConn.Open(); ......

VB------->C#

C# code:

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)
Private Type GUID
Data1 As Long
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号