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
L

lsh486love

@lsh486love
About
Posts
30
Topics
26
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • As for FileUpload control..
    L lsh486love

    Hi. I programmed a FileUpload which is already working fine. But, there is a problem. I'd like to allow all formats of files , for example, jpg, mpeg, mp3, zip, exe., but ".exe file format" can't be uploaded. When I upload a file with .exe format, it shows an error page. How can I allow all formats containing .exe?? Ah, Actually the .exe format file is an install file. Thank you.

    ASP.NET help question tutorial

  • I wanna make a webpage to find ID or password.
    L lsh486love

    Hello. I wanna make a webpage to find ID or password. If someone lost his password, the page should let him know his password by email. so, I should make a function to send an email to be able to check out the password or new password. Is there any good sample source?? please let me know how to make it.. Thank you.

    ASP.NET tutorial question

  • Question about tag : <form> and runat="server".</form>
    L lsh486love

    Hello. I made a master page whose name is "main.master". and I used this tag :

    And.. I made a sub page which is connected with the master page. I alreay know I shouldn't use the tag; like this. So, I made coding like the following this below. <form> <div align="center"> <hr/> </div> <p>Sample textarea follows:</p> <textarea id="yourFieldNameHere" style="width:814px; height:95px" runat="server"> </textarea><br/> <script type ="text/javascript" language="JavaScript1.2"> editor_generate('yourFieldNameHere'); </script> In the area of , unless I use runat="server", it won't work. It won't show the Text Editor. (I'm making Text Editor though.^^) In addition, if I make this way :<script type ="text/javascript" language="JavaScript1.2" runat="server">, then, there is a message "JavaScript1.2 is not a language applied for ASP.NET". But, no matter how I change "language = "JavaScript" runat="server", it still doesn't work. Any helps?? Thank you..</x-turndown>

    ASP.NET question csharp javascript asp-net sysadmin

  • About HtmlArea..
    L lsh486love

    Hello. I'm making text editor by using Htmlarea. http://www.codeproject.com/KB/scripting/htmlarea.aspx#intro2[^] but I would like to add more kinds of fonts. do you know how to add fonts that I want?? Thank you.

    ASP.NET com tutorial question

  • I really wanna make text with an editor for asp.net
    L lsh486love

    Hello. I wanna make a text with an editor on web pages. and I found a lot of things related to text editor. For example, FCKeditor , ckeditor, tinymce, wisywyc and so on. But, I really don't know how to create and use them. I wanna see source codes about them. but there is no any source code. it just was showing the feature or something. Even I downloaded a file including source codes with Ajax. but it doesn't work in VS2005. If there is a good open source or something and you know the step about how to create and code them, please let me know.. I really feel heavy in my chest..because I'm a beginner for asp.net.. Thank you...

    ASP.NET tutorial csharp asp-net learning

  • I wanna make text box with editor for asp.net.
    L lsh486love

    Hello. I made a bulletin board with only a textbox so writing something is possible. but I would like to make writing part with Editor so users modify their writing by changing its characters's color or align etc.. any helps? Thank you..

    ASP.NET csharp asp-net question

  • the way to use a DLL in Visual C++.
    L lsh486love

    I want to use a dll in Visual C++ (Active X control), and for that i did the following: ClassWizard->Add class->From a type library Now i have the files that I need (.cpp and .h), but when I invoke a method, I get this message in my output: "Warning: attempt to call Invoke with NULL m_lpDispatch!" And the method does nothing. I think I have to create a LPDISPATCH object, but i don't know how. Any help??? My dll file name is "HanBarcord.dll". and class name in the dll file is "Cbarcord". I think I have to create the pointer to the real COM's IDispatch. So, I'm trying to use the object's CreateDispatch function member. But I don't know what I should put into parameter of "barcordreader.CreateDispatch" exactly. COleException *e = new COleException; Cbarcord barcordreader; barcordreader.CreateDispatch(" ????????????? ", e); Thank you in advance .

    C / C++ / MFC c++ com help question

  • How to change BSTR in Visual Basic as VC++?
    L lsh486love

    Hi, Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command1.Click Dim barcord1 As String barcordreader = New HANBARCORDLib.barcord barcordreader.ReadBarcord("c:\image.raw") barcordreader.GetBarcord1(barcord1) Text1.Text = barcord1 End Sub End Class the variable, barcord1 is declared by "String". And it is possible that a parameter of the method, "barcordreader.GetBarcord1(BSTR*)". But I don't know how to change the code by Visual C++. I actually made it like this : BSTR barcord1[64]={NULL,}; barcordreader.GetBarcord1(barcord1); but it doesn't work. I want to get result as a type of string. please help me. Thanks for reading..

    C / C++ / MFC c++ help tutorial question

  • WriteAllBytes.....
    L lsh486love

    There is a code line. File.WriteAllBytes("c:\image.raw", abc.rawdata); It was composed by Visual Basic. But I don't know how to change the code by Visual C++. In the start, How should I include library or header file??

    C / C++ / MFC c++ tutorial question

  • I'm making a bulletin board.
    L lsh486love

    Hello. I finished a bullentin board with Repeater on my pages . I would like to make a seaching box(?) to show up a result on the list of Repeater, when someone searchs something by inputting on textbox. So, I put Dropdownlist, Textbox and imagebutton through tool box on the page. I mean I would like to make something like "Search" on top of this page. Search [ Text Box ] [Dropdownlist] [button] And I'm coding like the following code. protected void Select_Btn1_Click(object sender, ImageClickEventArgs e) { string title; title = Search_Txt1.Text; if (DropDownList1.SelectedValue== "Title") { SqlConnection cn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["aspnetdbConnectionString"].ConnectionString); string sql = "Select * From t_Pds where Title = '"+ Title +"' "; } } But I don't know how to show up the result on the list of Repeater.

    ASP.NET database tutorial question workspace

  • when using .mdb to upload files, it was good. but....in MSSQL..
    L lsh486love

    Originally, I declared to use mdb for uploading files like the following codes before changing. //connString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="+ // MapPath("Files.mdb"); I declared like this for using to upload files to MSSQL : connString = "Provider=SQLOLEDB;Data Source = db.incheonlaw.ac.kr; Initial Catalog=stanlee;User ID=stanlee;Password=stan;"; After changing codes, there is an error, Must declare the variable "@Writing_Num". when debuging this part, "cmd.ExecuteNonQuery();"........ using (OleDbConnection con = new OleDbConnection(ConnectionString)) using (OleDbCommand cmd = new OleDbCommand(CmdText, con)) { OleDbParameterCollection pms = cmd.Parameters; pms.Add("@Writing_Num", OleDbType.VarChar, 50); pms.Add("@FileName", OleDbType.VarChar, 200); pms.Add("@FileSize", OleDbType.Integer); pms.Add("@ContentType", OleDbType.VarChar, 50); pms.Add("@FileData", OleDbType.VarBinary); pms["@Writing_Num"].Value = writing_num; pms["@FileName"].Value = fileName; pms["@FileSize"].Value = fileLength; pms["@ContentType"].Value = contentType; pms["@FileData"].Value = fileData; pms = null; con.Open(); cmd.ExecuteNonQuery(); } How can I properly use mssql??? Is there something wrong??

    ASP.NET question database sql-server help

  • There is an error message when uploding files to Database.
    L lsh486love

    There is no ToArray in components of pms. ERROR!! T^T....

    ASP.NET database help

  • There is an error message when uploding files to Database.
    L lsh486love

    connString = "Provider=SQLOLEDB;Data Source = db.incheonlaw.ac.kr; Initial Catalog=stanlee;User ID=stanlee;Password=stan;"; using (OleDbConnection con = new OleDbConnection(ConnectionString)) using (OleDbCommand cmd = new OleDbCommand(CmdText, con)) { OleDbParameterCollection pms = cmd.Parameters; pms.Add("@Writing_Num", OleDbType.VarChar, 50); pms.Add("@FileName", OleDbType.VarChar, 200); pms.Add("@FileSize", OleDbType.Integer); pms.Add("@ContentType", OleDbType.VarChar, 50); pms.Add("@FileData", OleDbType.VarBinary); pms["@Writing_Num"].Value = writing_num; pms["@FileName"].Value = fileName; pms["@FileSize"].Value = fileLength; pms["@ContentType"].Value = contentType; pms["@FileData"].Value = fileData; pms = null; con.Open(); cmd.ExecuteNonQuery(); } All data of Writing_Num, FileName, FileSize, ContentType, FileData are normally operating. and when debuging "cmd.ExecuteNonQuery()", there is an error message, "Must declare the variable "@Writing_Num"; at this codes: catch (Exception ex) { buffer.Append("<li>Error Occurred: "); buffer.Append(ex.Message).Append("</li>"); }

    ASP.NET database help

  • How can I file upload to MSSQL??
    L lsh486love

    I'm using asp.net with C#. and I would like to know how I can file upload to MSSQL. Is there any sample source?? please let me know. thank you..

    ASP.NET csharp question asp-net sql-server

  • How to convert System.Web.UI.WebControls.FileUpload to System.string?
    L lsh486love

    Hello, I'm making a bulletin board with multi-file upload. when I click Edit button, I would like to show files that I uploaded on ListBox. so, I used both of "System.Web.UI.HtmlControls.HtmlInputFile" and "System.Web.UI.WebControls.FileUpload". this is my code. static public ArrayList hif = new ArrayList(); for(System.Web.UI.WebControls.FileUpload HIF in hif) { ... } hif.Add(ListBox1.SelectedValue); It gives error cannot convert System.Web.UI.WebControls.FileUpload to System. I know ListBox1.SetectedValue is string data type. How can I convert System.Web.UI.WebControls.FileUpload to System.string? p.s. I tried to use like this . (FileUpload)ListBox1.SelectedValue. but that can't be converted. Thanks.

    ASP.NET question design help tutorial

  • Edit part of multi-upload file board.
    L lsh486love

    I'm making multi-upload file board. and I'm done about uploading multi-files. when I click "Edit" button, shows up the files that I uploaded on ListBox. But when I would like to change the files that I uploaded, I don't know how to make it. foreach (System.Web.UI.HtmlControls.HtmlInputFile HIF in hif) { try { string fn = System.IO.Path.GetFileName(HIF.PostedFile.FileName); string fileName = Pds.SaveFile(fn, upDir); HIF.PostedFile.SaveAs(upDir + fileName); filename = fileName; string userId = Session["memberID"].ToString(); string pathname = Session["pathname1"].ToString(); Pds.Insert(userId, User.Identity.Name, txtTitle.Text, txtContent.Text,filename, pathname); This codes are about uploading. are there sample sources for editing files that I uploaded.??

    ASP.NET design tutorial question

  • Bulletin Board used with Repeater
    L lsh486love

    Hello, I would like to make a Bulletin Board with Repeater. I know how to bind data to Repeater control. Is there sample board used with Repeater?? Thank you. Have a nice day.

    ASP.NET tutorial question

  • In DataGridView Control, How can I design??
    L lsh486love

    I know there are many basic sample designs in DataGridView that I can choose. And I also know I can modify the form of it in property. (something like font size, color of cells) But I would like to make a design of DataGridView like this. --> [^]"> I mean I want to make outlines without vertical lines which are for sections. Are there any samples related to DataGridView Design?? Thank you...

    ASP.NET question php com design

  • Why can't I use Session another aspx.cs code??
    L lsh486love

    Oh, THank you very much. you are right. that class file was not inherited System.Web.UI.Page class. Really thank you.^^

    ASP.NET tutorial question

  • Why can't I use Session another aspx.cs page??
    L lsh486love

    I can use Session on login.aspx.cs. so I used like this. // Session["Id"]= id; and I can see components of Session, when I type "Session". but I can't use that another aspx.cs. page, for example, board.aspx.cs. There are only two values. SessionPageStatePersister and SessionParameter. That is all;; I don't know why... please let me know..

    C# tutorial 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