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
S

steven_wong

@steven_wong
About
Posts
62
Topics
33
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problems on SubmitChanges() in Linq?
    S steven_wong

    Finally, i get the reason~ :laugh: I havnt set the primary key in my table,lol anyway, thank u all who have cared my msg~:rose:

    LINQ csharp database linq question announcement

  • Problems on SubmitChanges() in Linq?
    S steven_wong

    here is the code: TestDataContext test= new TestDataContext(); var result= from person in test.Stuffs //Stuffs is a table where person.name==strUser; //strUser is a string passed in select person; foreach (var Item in result) { Item.value=777; } test.SubmitChanges();

    LINQ csharp database linq question announcement

  • Problems on SubmitChanges() in Linq?
    S steven_wong

    Hello everyone: Now i am programing to update data with linq. i use dbcontext.submitchanges() to submit the changes to database.However, i find my table is not changed at all after that. Definately, there is no exception in the process of update, is there anyone know why? anything will be appreciated, thanX in advance~

    LINQ csharp database linq question announcement

  • how to implement CStdioFile::WriteLine() with native C++ and STL?
    S steven_wong

    Thank u for your reply~ ;P std::fstream really helps me.

    ATL / WTL / STL c++ help tutorial question

  • how to implement CStdioFile::WriteLine() with native C++ and STL?
    S steven_wong

    hello, everyone: I want to operate files without MFC. Exactly speaking, i want to read and write files only with windows standard library. now i dont know how to implement the function of CStdioFile::WriteLine() of MFC with STL,is there anyone could help me?anything will be appreciated,thanks in advance~

    ATL / WTL / STL c++ help tutorial question

  • why i could only read one charactor? [modified]
    S steven_wong

    thank u for ur replying, Rajesh ;) i c that,however, now i need to read the default value of a registry key, which means i could only use RegQueryValue. and i have checked if RegQueryValue returns ERROR_SUCCESS in my own codes.the codes i paste here is just for simple.anyway, thank u for ur reminding

    C / C++ / MFC help question

  • why i could only read one charactor? [modified]
    S steven_wong

    temp,i am sorry ;P

    C / C++ / MFC help question

  • why i could only read one charactor? [modified]
    S steven_wong

    hello, everyone: i am now in trouble with the code below: char temp[256]; LONG cbData=80; RegOpenKeyEx(...&hKey); RegQueryValue(hKey,NULL,(LPTSTR)temp,&cbData); strcat(temp,"\\abc"); with the last line above , i could only retrieve the first charactor in temp,and the result is just *\abc. I am confused....is there anyone could help me?Thanks in advance~

    modified on Monday, June 2, 2008 12:32 AM

    C / C++ / MFC help question

  • how to find out associated filetypes?
    S steven_wong

    hello everyone: now i want to check out all the recognized file types in my computer. someone in CP said we could check the registry in HKEY_CLASSES_ROOT,however, i find there r many filetypes strange there (eg. .api, .cc, .htt and so on). i just want to read the filetypes we usually used such as .doc for microsoft word, .txt for notepad etc. so what could i do now? anything is appreciated,thanks in advance!

    C / C++ / MFC windows-admin json tutorial question

  • Exporting to Excel Plz help
    S steven_wong

    dataset is ok, i am just using dataset, u could use: strExcelFile= objExport.TransformDataTableToExcel(ds.datatable(i),True) objExport.SendExcelToClient(strExcelFile) Also u have to have some polishment of ExcelExport.vb so as to run it in vs2003. If u have any more question, u could sent email to me. wish u could succeed!;P Regards, Steven

    ASP.NET help

  • find the checked treenode in treeview???
    S steven_wong

    Hello, everyone: i am using treeview control of ie web controls in vs2003. I have written a javascript code to CHECk - UNCHECK all the Child nodes if parent node is UNCHECKED or checked in the client side. However, when i click a button to retrieve the checked treenodes, all nodes' checked property is false. Why?? and how could i retrieve the checked node? any idea is appreciated, thanX in advance! Regards, Steven

    ASP.NET javascript question

  • how to fix datagrid column width/height when AutoGeneratedColumns is ture?
    S steven_wong

    Thank u for ur reply, looking forward to ur new article.:laugh:

    ASP.NET help tutorial question

  • how to fix datagrid column width/height when AutoGeneratedColumns is ture?
    S steven_wong

    Thank u, Mike and miniThomas, for the attention. I have tried both of the approach, however, the datagrid is still not changed.:(( I am wondering if it is beacause the width of the datagrid could not be longer than certain value, for some of the columns are really quite long. looking forward to ur further answer.:) Regards, Steven

    ASP.NET help tutorial question

  • Exporting to Excel Plz help
    S steven_wong

    I see,it is XslCompiledTransform, in vs2003 we use XslTransform instead of it. In the FAQ of that article there is some detailed info about it(its name is "Net 1.1 version").;P Regards Steven

    ASP.NET help

  • how to fix datagrid column width/height when AutoGeneratedColumns is ture?
    S steven_wong

    hello, everyone: I am creating a DataGrid form a DataSet with autogeneratecolumns: dg.DataSource = ds; dg.DataBind(); But I want to change the style of the columns. Particularly speaking, i want to have all the columns have fixed width/height so that the datagrid may look better. It is because some of the content may have many words. I have tried many methods,however, the datagrid never changed.:(( Any ideas? ThanX in advance!

    ASP.NET help tutorial question

  • Exporting to Excel Plz help
    S steven_wong

    I met this problem several weeks before. i recommend u to use xsl, this article [^] does help me a lot! wish u could succeed!;P Regards, Steven

    ASP.NET help

  • how to set row/column's height/width in datagrid??
    S steven_wong

    First of all,thank u all for the replies!:rose: However, i am using databinding like this: I am creating a DataGrid form a DataSet with autogeneratecolumns: dg.DataSource = ds; dg.DataBind(); all the columns are autogenerated, thus, we could not convert a specific column into template column. am i right? looking forward to ur reply;P

    ASP.NET help tutorial question

  • how to set row/column's height/width in datagrid??
    S steven_wong

    Hello,everyone: Now i have a datagrid, in which each cell may contain many words. it looks quite ugly because the datagrid automatically make the words vertical displayed. Therefore, i wonder if we could solve it through making all the cells have the same fixed heigh/width??and how could we fix the height/width? i have tried to set it in the property builder, however, it does not work:( Looking forward to ur reply, thanks in advance!

    ASP.NET help tutorial question

  • ASP.NET Cookies
    S steven_wong

    maybe the subsection "Cookie State" of this article(http://www.codeproject.com/aspnet/aspdotnetstatmgmnt.asp[^]) could help u!:) -- modified at 21:33 Friday 25th August, 2006

    ASP.NET csharp asp-net tutorial

  • export dataset to excel??
    S steven_wong

    Hello: I am now creating an excel file using xslt.However, when there is a blank or a special char in one of my headers, i've got an invalid xpath expression which throw an exception. what can i do ? thx :rose:

    Database xml question
  • Login

  • Don't have an account? Register

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