【数据库】前三位和后四位归属地,提高效率的关键代码

需要源程序遇到问题评论区留言或私信

下面是前三后位后四位的程序核心代码

SQL调用存储过程:

---创建存储过程
create proc proc_Show
as
declare @loginId varchar(20)
			select @loginId=LoginId from Users
			print '当前LoginId:'+@LoginId
			select * from Mark where loginId=@loginId
go
exec proc_Show

demo程序 ListView闪烁的问题:

要防止Listview不闪烁

        public ListViewNF()
        {
            // Activate double buffering
            this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);

            // Enable the OnNotifyMessage event so we get a chance to filter out 
            // Windows messages before they get to the form's WndProc
            this.SetStyle(ControlStyles.EnableNotifyMessage, true);
        }

猜你喜欢

转载自blog.csdn.net/bbyn3316/article/details/89482187
今日推荐