易截截图软件、单文件、免安装、纯绿色、仅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


相关问答:

c# asp.net 全局变量总是被初始化怎么办?

我的网页页面上有一个Button,点击一次全局变量m++一次,可是由于每点一次页面刷新一次,m就被初始化,达不到我累加的效果,在c#windows应用程序不会遇到这种问题,请问我该怎么做?


End_rbody_59849415//-->
......

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

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

求救,PHP 如何和 C# 通过SOKET进行通信

PHP 如何和 C# 通过SOKET进行通信
希望能有详细的例子
自己顶一下

没做过
要有一人做监听服务器

第二个是soap请求

第三个注意参数类型是不是一样

<?php
if(!extension_loaded(&# ......

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

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

c#控制Mysql 实现自动删除功能 - .NET技术 / C#

有个winform程序,使用c#+mysql,需要在一个窗体设置mysql自动删除功能,包括自动删除多少天之前的数据以及是否开启自动删除功能,我程序退出后,还怎么控制Mysql自己删除啊?是不是要用mysql的event来实现?c#可以调用mysq ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号