Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

jason_mf

@jason_mf
About
Posts
162
Topics
90
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • About SplitContainer Resize
    J jason_mf

    Drag Split1's Splitter. Display only one panel of the Split2. If Split1's resize event fire in this time, Split2 not resize. why do the split2 not resize? how to solve? But I dont want to fixed size of the panel of the Split1 which contains split2.

    C# tutorial question

  • About SplitContainer Resize
    J jason_mf

    I have 2 SplitContainers(splitContainer1 and splitContainer2) in the WinForm. Both orientation is Horizontal, Dock is Fill. splitContainer2 in the panel1 of splitContainer1 . When panel2 of splitContainer1 cover of the panel2 of splitContainer2, splitContainer2 is not resize. why? how to do? thanks. And I want the panel1 of splitContainer1 is not fixe.

    C# tutorial question

  • Winform DataGridView
    J jason_mf

    I try to again. not always 1, but first click still call DoSelectionSuff() Then call DoDoubleClickSuff()

    C# tutorial question

  • Winform DataGridView
    J jason_mf

    e.clicks is always 1

    C# tutorial question

  • Winform DataGridView
    J jason_mf

    DataGridView's SelectionChanged Event Fire earlier than CellDoubleClick Event. But I hope SelectionChanged after CellDoubleClick. My Program require: 1> DoubleClick any part of the row, this row selected=true. read a value from this row as parameter order to open a dialog for do something. 2> When SelectionChanged, another controls's value will changed from the new selected row. But if DoubleClick fired that another controls's value need not change. How to do? Thanks.

    C# tutorial question

  • Socket and Thread Question
    J jason_mf

    Is the DealData Method a assistant Thread?

    C# question sysadmin

  • Socket and Thread Question
    J jason_mf

    I have a Server, and several Client. a meth receive data from client. then store these data in global variable temporary then deal. e.g. public void ReceiveMethod(object data) { //maybe Multiple client at the same time. DealData(data); } public void DealData(object data) { //some values will store in global variable temporary. //because Multiple client Send data,so the global variable's value is mistake. like mult-Thread without synchrony or lock. //if this is Multiple Thread deal, I understand it. //but I dont execute thread or asynchronization obvious. //is Mult-Thread here? }

    C# question sysadmin

  • About AutoResetEvent, a simple question
    J jason_mf

    I have t1,t2,t3, 3 threads, and 1 AutoResetEvent(ar), Is ar able to synchronize the three threads?

    C# question

  • How to manager the secret key of RSAEncrypt
    J jason_mf

    Then, what does KeyContainer have to use? the KeyContainer can not store cipherkey , Why MS provided it? What is KeyContainer practical significance?

    C# tutorial question

  • How to manager the secret key of RSAEncrypt
    J jason_mf

    the key(public and private) is stored in KeyContainer, I do not export public-key and private-key. the program run next time, How to get the right public-key and private-key? please give me the simple code,Thanks.

    C# tutorial question

  • about site search
    J jason_mf

    I've never done search-related. the search-content contains: musics,pictures,peoples etc. so I have a few questions. Search content from multiple tables and multiple Fields. I do full-text indexing of these fields. If I need to create a view that contains these fields? then I write sql "select" from this view. is right? I hope someone can give a guiding learning resources. Thanks.

    ASP.NET database question learning

  • Jcrop a jquery plug-in, has anybody used it ?
    J jason_mf

    I try to use it. I know how to set up, how to initialize,etc. but I encountered a strange problem. I can't drag the selection of the code of i writed in the html file. In the another html file,I copy code from Jcrop's demo, the drag is ok. the code of I writed and the code of copied are same, I checked several times. And the resize box Of the Crop selection is not display. the "Jcrop.css" is referenced right. Very strange. Why? Here is the code: <HTML> <HEAD> <TITLE> New Document </TITLE> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.Jcrop.js"></script> <link type="text/css" href="css/jquery.Jcrop.css" /> <script type="text/javascript"> jQuery(window).load(function() { var api = $.Jcrop('#cropbox', { onChange: showPreview, onSelect: showPreview, setSelect: [0, 0, 120, 120], aspectRatio: 1 }); api.setOptions({ minSize: [40, 40], maxSize: [120, 120] }); }); function showPreview(coords) { if (parseInt(coords.w) > 0) { var rx = 100 / coords.w; var ry = 100 / coords.h; var realHeight = $("#cropbox").attr("height"); jQuery('#preview').css({ width: Math.round(rx * 500) + 'px', height: Math.round(ry * realHeight) + 'px', marginLeft: '-' + Math.round(rx * coords.x) + 'px', marginTop: '-' + Math.round(ry * coords.y) + 'px' }); } } function initCut(){ //var api = $.Jcrop('#cropbox',{ //onChange: showPreview, //onSelect: showPreview, //init selection //setSelect: [ 0, 0, 120, 120 ], //Rate //aspectRatio: 1 //}); //api.setOptions( {minSize: [ 40, 40], maxSize: [ 120, 120]});alert("begin crop"); //api.setOptions({ allowResize: true }); } </script> </HEAD> <BODY> <input id="btnBegin" type="button" value="Begin Crop" onclick="initCut();"/> <div class="article" style="border:thin #FF0000 solid;"> <div style=" float:left; border:thin; background-color:#FF0000;"> <img id="cropbox" src="images/jane.jpg" style=" width:500px;" /> </div> <div style=

    ASP.NET javascript html css tools json

  • asp.net ajax cache
    J jason_mf

    I using ms asp.net ajax. uploadImage method in js. this method Asynchronous upload image. function uploadImage(file){ Webservice.uploadImage(file, succeedCallback); anotherFunction();//this is don't definition, so report err } but I changed: function uploadImage(file){ Webservice.uploadImage(file, succeedCallback); //anotherFunction();//I comment it, but still report same err at this } How do I? Thanks.

    ASP.NET question csharp javascript asp-net

  • How to write Linq for this T-SQL
    J jason_mf

    select * from A where id in (1,2,3,4,5,6,7,10,15,18,20,25,30,40,45,50,) how to write Linq

    LINQ csharp database linq tutorial

  • How to add data into a table of relational
    J jason_mf

    I have 3 tables : "user", "purview", "user_purview". "user" associated with "purview" through "user_purview". now, I will add purview (one or more) to user. I use LinqToSql. I find out user_purview mapping class has properties: User, Purview, UserId, PurviewId. Do I just need to set the value of userId and purviewid, then submitchanges is ok?

    LINQ tutorial question

  • How to setting ConnectionString of LinqtoSql's dbml
    J jason_mf

    I Drop Table from servermanagent to dbml file. Then I use linqDataSource bind GridView is OK. but I run in another computer, report exception: not find right SqlServer or SqlInstance. I found the .designer.cs file get ConnectionString from settings file, so I changed it ,get connectionstring from web.config, but the same exception also happen. How do I ? Thanks.

    LINQ question tutorial

  • about LinqDatasource
    J jason_mf

    I write a small demo: GridView bind LinqDataSource. I do it with "LinqDataSource with ASP.NET data controls" By abhigad (http://www.codeproject.com/KB/aspnet/LinqDataSourcebasics.aspx?msg=3392378#xx3392378xx) step by step. but report: System.MissingMethodException: There is no definition for the object constructor without parameters or System.Data.SqlClient.SqlException: "sa" login Failure. Another page, I added a new data to database with LinqToSql is Successful. Who can help me solve the LinqDataSource to bind?

    LINQ asp-net csharp database com help

  • this problem about VSS2005 but I dont find the board of VSS
    J jason_mf

    I use VSS 2005 And VS 2005 Team Sp1 After The Solution add to SourceSate , the member of team can not get the new file of the other member created from the parent folder's "Get..." Menu. But can get the new file from project's "Get..." menu. What's cause? if I Get New Version from project's "Get.." menu , it will spend a lot of time.

    ASP.NET visual-studio collaboration help question announcement

  • what mean this write
    J jason_mf

    <asp:LinkButton ID="lnkUpdate" runat="server" OnClientClick='<%#Eval("Sys_TV_Id","return update({0})") %>' OnClick="lnkUpdate_Click">修改</asp:LinkButton> this linkbutton in repeater. I do not konw " Eval("Sys_TV_Id","return update({0})") ". <script type="text/javascript"> function update(ID){ var data=new Array(); if(ID==null ||ID==""){ temps=eval('document.form1.id'); var j=0; for(var i=0;i<temps.length;i++) { if(temps[i].checked==true){ data[j]=temps[i].value; j++; } } } else{ data[0]=ID; } if(data==""){ alert('请选择操作对象!');return false; } else{ $("updateId").value=data;return true; } } </script>

    ASP.NET javascript sysadmin data-structures tools announcement

  • Why I call flash or video always failed [modified]
    J jason_mf

    but I use swf replaced was failed too. still display a rectangle region. has need any config or setting? or only wrote "object" html tag?

    ASP.NET csharp html com adobe sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups