facelist

*滑块验证:
doodle涂鸦板

您需要登录后才可以留言 登录 | 立即注册


沐府小悠然 2016-7-27 08:57
ibcadmin: 你的QQ多少  准备给你发红包了
现在很少用qq了。
沐府小悠然 2016-7-27 08:54
ibcadmin: 你的QQ多少  准备给你发红包了
qq早删了,基本也就上班的时候挂一会儿。
Amy尾巴 2016-7-22 10:24
!!!
wibc 2016-6-23 23:09
ibcadmin: ..留个qq,给你发奖励
QQ号:513916811
不好意思哦,趁你没有上线,努力的爬了你的头哦
杨栋 2015-12-7 23:07
你好 C#如何连接数据库-简单登陆窗口制作,帮我看一下哪里出了问题,好吗?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Windows.Forms;

namespace WindowsFormsApplication4
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //获得数据库连接字符串
            string conn = "Data Source=.;Initial Catalog=school;Integrated Security=True";
            SqlConnection connection = new SqlConnection(conn);
            string sql = string.Format("select count(8) from Login where ID = '{0}' and PassWord = '{1}'", textBox1, textBox2);
            connection.Open();
            SqlCommand command = new SqlCommand(sql, connection);
            int num = Convert.ToInt32(command.ExecuteScalar());
            if (num > 0)
            {
                MessageBox.Show("成功");
            }
            else
            {
                MessageBox.Show("失败");
            }
        }
        private void Form1_Load(object sender, EventArgs e)
        {

        }
    }
}
wlqxm 2015-6-24 11:43
你好。看到你的MVC教程二中的using Microsoft.Ajax.Utilities;引用ajax是怎样引用的?能说一下吗?详细一点的。十分感谢。
wnvmike 2015-1-16 09:00
1.使用datagridview绑定SQL数据库中的表,选中datagridview中一行<点button1删除>,删除该行后SQL表中也跟着删除掉。
2.选中datagridview中一单元格。进行编辑,编辑后<点button2>将编辑后的数据也更新到SQL中去。
在网上查找 了一些别人的代码。运行的时候几乎都过不去...
Testing_C# 2014-8-9 23:05
发表的日志怎么全部看不到了,页面弄错了吗?数据可以写入为什么读取报404找不到页面。
Testing_C# 2014-8-6 14:23
为什么我们的空间都不能发表日志呢
Testing_C# 2014-8-5 15:47
ibcadmin: 我是工作的  不是学生
我也是工作的,但是我还是在自学这个编程语言
Testing_C# 2014-8-5 08:43
ibcadmin: 。。
我的意思是你我的学习速度比你们慢
Testing_C# 2014-8-4 21:28
ibcadmin: 嗯?  什么意思
我觉得你们学习的好快 啊
Testing_C# 2014-8-3 00:54
你们这么快就学习到这里了
菜鸟—LC 2014-7-17 12:47
ibcadmin: 人呢人呢人呢人呢
毕业季找工作比较忙,,,
234 2014-4-28 12:38
ibcadmin: 你的意思是, 判断他按下键 然后触发click事件?  比如说登陆 按下回车就进登陆事件?     在窗体的KeyDown事件中,  判断他的Key值是不是你的那个键,如果是, ...
谢谢你,我会了
234 2014-4-27 00:32
你好,我想请教下怎么用代码判断某个键触发了它的click事件
234 2014-4-21 23:11
管理员先生,asp.net的视频为什么一直都是6个呢,好想请高手们多录点视频好吗,我们的老师讲的太快了,一头雾水啊。
W, 2014-3-26 23:30
为啥我照着你教的那个视频弄个连接数据库登录界面不对呢,编译没问题,可是运行的时候一点击确定按钮就退出。 求支援

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace book
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnok_Click(object sender, EventArgs e)
        {

            string name = this.name.Text;
            string password = this.password.Text;
            //获得数据库链接字符串
            string conn = "Data Source=PC-20120505GWCM;Initial Catalog=user;Integrated Security=True";
            //创建SqlConnection 对象
            SqlConnection connection = new SqlConnection(conn);
            string  sql = string .Format ("select count(8) from information where name = '[0]' and password = '[1]'",name,password);
            connection .Open ();
            //创建SqlCommand对象
            SqlCommand command = new SqlCommand(sql, connection);
            int num = Convert.ToInt32(command.ExecuteScalar());
            try
            {
                if (num > 0)
                {
                    MessageBox.Show("登陆成功");
                }
                else
                {
                    MessageBox.Show("登录失败");
                }
            }
            catch (Exception cs)
            {

                MessageBox.Show("错误异常:" + cs);
            }
            finally {
                connection.Close();
            }
      
            
        }
    }
}
xihua475 2014-3-12 15:52
ibcadmin: 那个小闹钟的源码 用的是Timer的
。。什么小闹钟源码?
234 2014-2-15 12:37
ibcadmin: FolderBrowserDialog控件    这控件是打开对话框的 让用户选择文件的  控件里面有个属性是FileName 就是获得路径的
控件里有个selectedpath属性,没有filename属性,但是怎么让imagelist获取selectedpath路径下的图片呢?,抱歉打扰了