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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
P

Pawan Kiran

@Pawan Kiran
About
Posts
77
Topics
42
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Prompt a Message When Cell Value is changed and Leaves CurrentRow Without Saving?
    P Pawan Kiran

    Hi All, I have a Datagridview in Form1,and I am using Datatable as DataSource to Datagridview. When User Edits Any Cell Value in particular Row, and Leaves that Row without Save Or Update, it should prompt a message saying that "You Want To Save Changes Or Not" Any Idea or Suggestion would be appreciated. Regards, Pawan.

    C# tutorial question announcement

  • How to show Images while sorting master and child Gridviews(Nested Gridview)?
    P Pawan Kiran

    Hi I want to show some image while sorting the gridview. Like for ascending show one image,decending show another image. Same for child gridview also. Here is the Link for Sample Code http://beta.codeproject.com/KB/webforms/EditNestedGridView.aspx?msg=3107070[^] have any idea, please let me know. Regards, Pawan.

    ASP.NET com algorithms beta-testing tutorial question

  • Datagridview Databinding Problem?
    P Pawan Kiran

    hi before posting this question only i checked all the above things which u said. it is showing perfect 12 records dtable.rows.count in immediate window when i am binding the same to Datagridview also, the dgrid.rows.count is 12 only.. but it is not showing the 12 records in grid, instead of 12 it displays only 1 record.. Let me know if u have any solution.. Thanks and Regards, Pawan.

    C# database wpf wcf help question

  • Datagridview Databinding Problem?
    P Pawan Kiran

    Hi, when i am binding datatable to datagridview, it is not showing all the records in the datagridview.. it is displaying only 1 Record in datagridview.. actual records in datatable are 12. have any idea,let me know.. here is my code public static DataTable dtable = new DataTable(); private void ScheduledJobs_Load(object sender, EventArgs e) { try { FillGrid(); if (dtable.Rows.Count > 0) { dgrid.DataSource = dtable; } } catch { } } private void FillGrid() { try { if (dtable.Rows.Count == 0) { ProcessStartInfo ps = new ProcessStartInfo("SCHTASKS", "/QUERY /fo table"); ps.RedirectStandardOutput = true; ps.UseShellExecute = false; Process p = Process.Start(ps); p.OutputDataReceived += new DataReceivedEventHandler(p_OutputDataReceived); p.BeginOutputReadLine(); } } catch { } } System.Collections.ArrayList ar = new System.Collections.ArrayList(); int first = 0; void p_OutputDataReceived(object sender, DataReceivedEventArgs e) { try { if (first == 0 && dtable.Columns.Count == 0) { dtable.Columns.Add("Task Name"); dtable.Columns.Add("Next RunTime"); dtable.Columns.Add("Status"); } ar.Add(e.Data); if (first > 2 && ar[first] != null) { DataRow dr = dtable.NewRow(); dr[0] = ar[first].ToString().Substring(0, ar[first].ToString().IndexOf(':') - 2).Trim(); dr[1] = ar[first].ToString().Substring(ar[first].ToString().IndexOf(':') - 2, 20).Trim(); dr[2] = ar[first].ToString().Substring(ar[first].ToString().IndexOf(':') + 18).Trim();

    C# database wpf wcf help question

  • Hiding command prompt while running an .bat file?
    P Pawan Kiran

    Hi, StreamWriter sw = new StreamWriter(@"Z:\" + txtName.Text + ".bat"); sw.WriteLine("START /d E:\\Stock\\StockView\\bin\\Debug Stock.exe % "+result); sw.Close(); This is what i created through C# code.. I don't know what i need to include before or after "START" of sw.WriteLine to hide the cmd prompt.. That's y i posted it in C#.

    C# question

  • Hiding command prompt while running an .bat file?
    P Pawan Kiran

    Hi I applied @echo off, but still it is not solved the issue.

    C# question

  • Hiding command prompt while running an .bat file?
    P Pawan Kiran

    Hi, i want to hide cmd prompt while executing or running an .bat file.. i have an exe inside my .bat file.. Simply want to run .exe without showing the command prompt through bat file.. Regards, Pawan

    C# question

  • combobox height?
    P Pawan Kiran

    Thanks alot for your contribution.. Cheers, Pawan.

    C# tutorial question

  • combobox height?
    P Pawan Kiran

    Hi One more Question Regarding same combobox.Droppeddown I have a Treeview1 inside my Combobox1 when i set Combobox.Droppeddown=true it is not working. Any Idea Plz let me know..

    C# tutorial question

  • combobox height?
    P Pawan Kiran

    I have set the ComboBox DroppedDown Property to true. Now the actual problem is When the ComboBox DroppedDown is Shown Or True I have to actually click twice to get out of the form or need to click twice to do anything. For Example in My Form If I have 2 Controls One is ComboBox and Another Button Which Clicked Just Closes the Form. Then I set ComboBox DroppedDown = true.So When the ComboBox DroppedDown = true to click on Close Button I need to click twice to initate click event on the button. Plz Help me on how to do it once when ComboBox DroppedDown = true.If Combobox DroppedDown = true. I need to click twice to click on the Form as Well.

    C# tutorial question

  • combobox height?
    P Pawan Kiran

    Hi Working fine, but the problem is with clicks only. To raise the EventHandlers i need to click the button for twice. Let me know if u have any idea, Thanks in advance. -- Modified Friday, March 5, 2010 3:57 AM

    C# tutorial question

  • Combobox + Treeview Height?
    P Pawan Kiran

    Hi I have treeview1 inside the Combobox1 when i use Combobox1.DroppedDown=true; It is not working.. (If it is a normal Combobox, working fine). Regards Pawan.

    C# question

  • combobox height?
    P Pawan Kiran

    Hi Thanks alot.it solves my combobox problem, but the problem is with Cursor, it shows WaitCursor instead of showing Default Cursor. Regards, Pawan. -- Modified Friday, March 5, 2010 1:26 AM

    C# tutorial question

  • combobox height?
    P Pawan Kiran

    Hi Sorry it is not a listbox, Every thing is like combobox only. but only the difference is, It is Combobox only, but in formload the height of combo should be in expandedmode(all combo items will be visible to the user)

    C# tutorial question

  • combobox height?
    P Pawan Kiran

    hi i have 10 items in combobox1. how to show all the combobox1 items in form_load without click on the downarrow of combobox1. Thanks in advance.

    C# tutorial question

  • How to Create Virtual Drive?
    P Pawan Kiran

    Can you plz send me the actual link (Direct URL) Thankyou.

    C# tutorial question

  • How to Create Virtual Drive?
    P Pawan Kiran

    Hi Can any body know how to create Virtual Drive using windows app. exa: Local drive (Z:) 25GB and also i want to create & save the files in the Virtual Drive(Z:) Thanks in advance.. Pawan

    C# tutorial question

  • How to show A Form in openfiledialog?
    P Pawan Kiran

    I have seen this kind of functionality in M-Files Application... For more information look into Site: Google (search for M-Files). Thanks & Regards Pawan.

    C# tutorial question

  • How to show A Form in openfiledialog?
    P Pawan Kiran

    Hi I have 11 Forms in my app. In Form1 (Ismdicontainer=true) i have 9 buttons when i click on each button i want to open a new form (Mdiparent as Form1) Inside each form i created some folders and gridviews.. in Form11 i have openfiledialog.. now i want to open Form1 inside the Openfiledialog to select the files which i have with me... Thanks in advance..

    C# tutorial question

  • Create and remove controls dynamically ??????
    P Pawan Kiran

    Hi I want to create controls dynamically in the form Initially i have textbox1 besides this button1 (text as Plus) when i click on plus button it has to create textbox2,button2(plus) and also button3(minus) . e.g: whenever i click on button3(minus) it shouls collapse(remove textbox2,button2,button3) and so on but move all the below controls to top position .............. in this manner i want to add and remove controls . thanks in advance...

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