User Profile

Collapse

Profile Sidebar

Collapse
chinu
chinu
Last Activity: Jul 19 '07, 05:20 PM
Joined: Jun 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • chinu
    replied to Best .net books to read
    in .NET
    before any interview i used to read Eric Gunnersons book on C#. :)...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Theory Questions
    in .NET
    GAC means Global Assembly Cache.
    With the help og GAC, versioning (Dll hell) problem was solved in .NET.
    If u have an assembly A.dll and if u want application other than u r application to use it, then either u can make two copies of the dll and put it in there corresponding bin folder or u can put it in the GAC if u r sure that another version may come for the dll and applications may use different version of the same dll. U can register...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Check for the Admin User (C#) !!!
    in .NET
    try this
    WindowsPrincipa l pri = new WindowsPrincipa l(WindowsIdenti ty.GetCurrent() );
    bool b = pri.IsInRole("A dministrators") ;...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Trouble adding two double values
    in .NET
    Its quite suprising to see this as i dont think anyone will get other than 324.1 as I also tried in both C# and VB.net. can u delete the pdb files and open the project once again and try....
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Windows Application
    in .NET
    Read CLR Via C# a book written by Jefrey Ritcher and in the first chapter itelf u will get the answer for u r question...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Page load event is not firing.
    in .NET
    Change AutoEventWireup ="false" to AutoEventWireup ="true"...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Print Without External Application Starting
    in .NET
    Start means in the background right?. In order to print, i think it is necessary to nstantiate the object and maximum u can do is hide or minimize the window....
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Async Web Method call
    in .NET
    I am not sure about 1.1 but with 2.0 it works.....
    See more | Go to post

    Leave a comment:


  • Try the below code. here i am trying to close a notepad which is opened which have the window title as "testing.tx t"
    [code=c]
    Process[] allProc = Process.GetProc esses();

    foreach (Process proc in allProc)
    {
    string procName = proc.ProcessNam e;

    procName = proc.MainWindow Title;
    int len = procName.IndexO f('-',...
    See more | Go to post

    Leave a comment:


  • Please have alook at this article
    "http://www.aspheute.co m/english/20000918.asp"...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to loginpage
    in .NET
    Look at the "SmtpMail" class. May be you can go through this
    "http://www.aspheute.co m/english/20000918.asp"...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Sorting in GridView Control
    in .NET
    You can see an example in
    "ms-help://MS.MSDNQTR.v80. en/MS.MSDN.v80/MS.NETDEVFX.v20 .en/cpref16/html/M_System_Web_UI _WebControls_Gr idView_Sort_1_a 3fecfe4.htm"....
    See more | Go to post

    Leave a comment:


  • chinu
    replied to creating a CSV file with titles
    in .NET
    Check whether this is what you were looking at
    string path = "C:\\testing\\c svtest.csv";
    if (!File.Exists(p ath))
    {
    using (StreamWriter sw = File.CreateText (path))
    {
    sw.WriteLine("u r data in CSV");
    }
    }
    else
    {
    ...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to select rows from datagrid, show in gridview
    in .NET
    Try "CellMouseClick " event and you can get the row index and column index from DataGridViewCel lMouseEventArgs e using e.RowIndex and e.ColumIndex .
    Hope it helped. Check for the "Public Events" in the DataGridView...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to How to Add an .msi file to a setup project?????
    in .NET
    Go to the VS2005 /Add new project.
    Take Set up and Deployement from Other project types.
    Build it and that will give u an msi.
    Now u can add u r dlls and related registry or wat ever u want by adding it in the "File System" which u can see on the left pane of the project.
    Hope it helped...
    See more | Go to post

    Leave a comment:


  • Yes, something like this
    Process.Start(" C:\\testing\\Bo ok1.xls");...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Regular looking up a folder
    in .NET
    I think you are looking for the class
    "FileSystemWatc her". please have a look at it in the MSDN or sample code is available is codeproject as well
    "http://www.codeproject .com/cs/files/rrfilewatch.asp ?
    df=100&forumid= 31158&exp=0&sel ect=819580"
    Hope it helped...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to DataGridView Information
    in .NET
    In order to arrange the information, you can do something like this

    gridView.Column s.Clear();
    gridView.AutoSi zeColumnsMode = DataGridViewAut oSizeColumnsMod e.AllCells;
    and create the view by
    gridView.AutoGe nerateColumns = false;
    gridView.Column s.Add("ActID", "Account ID");
    -----------------------------------------------------------------
    and once u have data in u r memory(if...
    See more | Go to post

    Leave a comment:


  • chinu
    replied to clear session & postback option false
    in .NET
    Session.Clear() ; for clearing all the key and values from the Session.
    IsPostback is readonly property. So only get is there. I hope u know that when a submit action takes place, the IsPostback becomes true....
    See more | Go to post

    Leave a comment:


  • chinu
    replied to Call a function through a Button
    in .NET
    try this
    <asp:Button ID="Button1" runat="server" Text="Button" OnClick="onUpda teFn" /></div>...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...