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
K

kamalesh5743

@kamalesh5743
About
Posts
28
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • warning message
    K kamalesh5743

    Hi all, I need help since im new for php.How to display warning message at html label using php script. Please help to solve this problem. Thank You.

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    Linux, Apache, MySQL, PHP help php html tools tutorial

  • problem in custom paging..
    K kamalesh5743

    ok thank you.

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help database sysadmin question

  • problem in custom paging..
    K kamalesh5743

    hI, I cant c TryParse method in program.Got any other solution for this problem..?

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help database sysadmin question

  • problem in custom paging..
    K kamalesh5743

    Hi all, i'm having problem in custom paging using web application..there is an error saying "Input string was not in a correct format." Here is my coding.. protected void NavigationLink_Click ( Object sender, CommandEventArgs e ) { switch ( e.CommandName ) { case "First": _currentPageNumber = 1; break; case "Last": _currentPageNumber = Int32.Parse(TotalPages.Text); break; case "Next": _currentPageNumber = Int32.Parse(CurrentPage.Text) + 1; break; case "Prev": _currentPageNumber = Int32.Parse(CurrentPage.Text) - 1; break; } BindData(); } public void BindData() { OdbcConnection myconn; myconn= new OdbcConnection ("DSN=myodbc2;SERVER=localhost;DATABASE=misdb;UID=root;PORT=3306"); OdbcCommand cmd2 = new OdbcCommand("Select * from registration", myconn); cmd2.CommandType=CommandType.StoredProcedure; cmd2.Parameters.Add(new OdbcParameter ("@CurrentPage",OdbcType.Numeric,10)).Value=_currentPageNumber; cmd2.Parameters.Add(new OdbcParameter("@PageSize",OdbcType.Numeric,10)).Value=DataGrid.PageSize; cmd2.Parameters.Add(new OdbcParameter("@TotalRecords",OdbcType.Numeric,10)).Direction =ParameterDirection.Output; try { myconn.Open(); DataGrid.DataSource=cmd2.ExecuteReader(); DataGrid.DataBind(); } finally { myconn.Close(); } CurrentPage.Text=_currentPageNumber.ToString(); Double _totalPages = 1; if ( !Page.IsPostBack ) { Int32 _totalRecords = (Int32) cmd2.Parameters["@TotalRecords"].Value; totalPages = _totalRecords / DataGrid.PageSize; TotalPages.Text =(System.Math.Ceiling(_totalPages)).ToString(); } else { _totalPages = Double.Parse(TotalPages.Text); } if ( _currentPageNumber == 1 ) { PreviousPage.Enabled = false; if ( _totalPages > 1 ) { NextPage.Enabled = true; } else { NextPage.Enabled = false; } } else { PreviousPage.Enabled = true; if ( _currentPageNumber == _totalPages ) { NextPage.Enabled = false; } else { NextPage.Enabled = true; } } }

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help database sysadmin question

  • session in asp.net & c#.net
    K kamalesh5743

    here is my source code whn login button clicked.. can you check for me.. private void Button1_Click(object sender, System.EventArgs e) { switch (UserLogin(usertxtname.Text, usertxtpass.Text)) { case 1: Session.Abandon(); Login(); break; case 2: Label4.Text = "Incorrect Password"; break; case 3: Label4.Text = "Incorrect Username"; break; } } public void Login() { FormsAuthenticationTicket objTicket = null; HttpCookie objCookie = null; string strReturnURL = null; objTicket = new FormsAuthenticationTicket(1, usertxtname.Text, System.DateTime.Now, DateTime.Now.AddMinutes(60), false, Session.SessionID); objCookie = new HttpCookie(".ASPXAUTH"); objCookie.Value = FormsAuthentication.Encrypt(objTicket); Response.Cookies.Add(objCookie); strReturnURL = Request.QueryString["ULogin.aspx"]; if (strReturnURL != null) Response.Redirect("ULogin.aspx"); else Response.Redirect("registration.aspx", false); } public int UserLogin(string strUsername, string strPassword) { int iReturnValue = 0; string sql; OdbcConnection myconn; OdbcDataReader MyReader = null; sql="Select count(*) as expr1 From login Where (pword='"+usertxtpass.Text+"')And(uname='"+usertxtname.Text+"')"; myconn= new OdbcConnection ("DSN=myodbc2;SERVER=localhost;DATABASE=misdb;UID=root;PORT=3306"); OdbcCommand cmd = new OdbcCommand(sql, myconn); cmd.Parameters.Add("@username", strUsername); cmd.Parameters.Add("@password", strPassword); cmd.Parameters.Add("@ReturnValue", OdbcType.Int).Direction = ParameterDirection.ReturnValue; myconn.Open(); MyReader=cmd.ExecuteReader(); MyReader.Read(); **iReturnValue = System.Convert.ToInt32(cmd.Parameters["@ReturnValue"].Value.ToString());**myconn.Close(); return iReturnValue; }

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# csharp asp-net help question

  • session in asp.net & c#.net
    K kamalesh5743

    Hi all, i got problem on session tracking using asp.net with c#.net.I need use session when user login into my website. thank you.

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# csharp asp-net help question

  • replace method
    K kamalesh5743

    the code i did is like this, richTextBox1.Find("XX"); richTextBox1.SelectedText = text.Replace("XX", text); The string "XX" is i load into richtextbox.Then i open external file to replace this "XX" with some text. The code i did is doesnt work.So got any other way to find solution for this case. Thank You.

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help question

  • replace method
    K kamalesh5743

    Hi all, i got problem in replacing text in richtextbox with new text. I using find and replace method,but it doesnt work.. The text will load in richtextbox when i run the system.Wht i need is just replace some text with new text in richtextbox.. Pls help me.. Thank You..

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help question

  • how to remove unrecognized escape sequence
    K kamalesh5743

    hi all, I got problem on remove unrecognized escape sequence in richtextbox. Actually i did program that write text from other text file into richtextbox.When text write into richtextbox,the output at richtextbox shows text "\par"(new line used in text editor).Now i need remove this char.. So how to this kind of character..? Pls help me.. Thank You.

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help tutorial question

  • change text in .rtf file using c# code
    K kamalesh5743

    Hi all, I need change text in external .rtf file using c# code.. thank you..

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# csharp question

  • how to add text in external .rtf file
    K kamalesh5743

    hI all, I need to add text inside external .rtf file..How to add text into .rtf file...? Thank you..

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# tutorial question

  • draw text in richtextbox..
    K kamalesh5743

    I need input file using openfiledialog method. Inside that file i did simulation command. So i only need retrieve few command from that file into richtextbox. My problem now,i cant retrieve any command from that file.. The command is in text format..

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# tutorial question

  • draw text in richtextbox..
    K kamalesh5743

    Hi all, how to draw text in richtextbox..?

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# tutorial question

  • how to open .doc file using richtextbox..?
    K kamalesh5743

    Ya i can save .doc file in .rtf format..Nw i can open .rtf file using richtextbox..I drew rectangle using wordpad then save in .rtf format.. Now the problem was, i cant change the rectangle colour inside richtextbox. So how i can change the rectangle colour.?

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help tutorial question

  • how to open .doc file using richtextbox..?
    K kamalesh5743

    Hi all, I need open .doc file using richtextbox.I use openfileDialog command to open .doc file.The error was "file format is not valid".. I had draw some object in .doc file..Is it the problem because of it..?

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# help tutorial question

  • Richtextbox goto functionality
    K kamalesh5743

    Hi, How to get goto functionality in richtextbox... richtextbox.Find(NextLine, LineNo, RichTextBoxFinds.WholeWord) takes lot of time....any faster way to highlight the line or just get cursor on that line Regards KAMALESH

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# tutorial question

  • change font colour in richtextbox using timer.
    K kamalesh5743

    hi all, i need change font colour in richtextbox using timer.I need the font colour change automatically..How i can change it using timer. Thank You..

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# question

  • make richtextbox transparent
    K kamalesh5743

    Hi all.. How can set richtextbox transparent..? Thank you..

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

    C# question

  • set the position for ascii char in richtextbox
    K kamalesh5743

    Hi all, i need set the position for ascii char in richtextbox. Here is my coding that will show the ascii char in richtextbox. string hex = "040"; string hex1 = "025"; string hex2 = "023"; string hex3 = "025"; int code = Convert.ToInt32(hex,16); int code1 = Convert.ToInt32(hex1,16); int code2 = Convert.ToInt32(hex2,16); int code3 = Convert.ToInt32(hex3, 16); richTextBox1.Text = Encoding.Default.GetString(new byte[] {(byte)code,(byte)code1,(byte)code2,(byte)code3}); Now i need arrange all the ascii char in correct position.I hd tried in many ways,but still got errors.pls help me. Thank you. KAMALES

    C# help

  • set the position for the content in richtextbox.
    K kamalesh5743

    Hi all, i need set the position for ascii char in richtextbox. Here is my coding that will show the ascii char in richtextbox. string hex = "040"; string hex1 = "025"; string hex2 = "023"; string hex3 = "025"; int code = Convert.ToInt32(hex,16); int code1 = Convert.ToInt32(hex1,16); int code2 = Convert.ToInt32(hex2,16); int code3 = Convert.ToInt32(hex3, 16); richTextBox1.Text = Encoding.Default.GetString(new byte[] {(byte)code,(byte)code1,(byte)code2,(byte)code3}); Now i need arrange all the ascii char in correct position.I hd tried in many ways,but still got errors.pls help me. Thank you.

    %#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG

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