This should work dgvQuotationEntry.Rows.Insert(--rowIndex, ID ,PRDCoded); gvQuotationEntry.SelectedIndex=rowIndex;
WvdW
Posts
-
Move the selected row to one row up and make it selected -
PDF from database problemHi all, I have pdf help files in a SQL-DB that has to be displayed in a webpage. The code I wrote currently opens a blank page and only once you refresh the page does the pdf display Anny sugjestions? My code: if (Request.QueryString["ID"] != null) { String ID = Request.QueryString["ID"]; Help.HelpFile objHelpFile = new Help.HelpFile(new Guid(ID)); Response.ClearContent(); Response.ContentType = "application/pdf"; Response.BinaryWrite(objHelpFile.Data); Response.Flush(); Response.End(); }
-
Need some helpful sites on PHP -
PDF from database problemHi all, I have pdf help files in a SQL-DB that has to be displayed in a webpage. The code I wrote currently opens a blank page and only once you refresh the page does the pdf display Anny sugjestions? My code: if (Request.QueryString["ID"] != null) { String ID = Request.QueryString["ID"]; Help.HelpFile objHelpFile = new Help.HelpFile(new Guid(ID)); Response.ClearContent(); Response.ContentType = "application/pdf"; Response.BinaryWrite(objHelpFile.Data); Response.Flush(); Response.End(); }
-
Getting a computer name from the IP address(C#)Thanks Just scanned it but the 'GetHostNameFromIP' looks promising. Luckily vb is not that difficult to convert to C#. Hope you have a great day:) WvdW
-
Getting a computer name from the IP address(C#)Thanks I guess I'll have rewrite it for myself or open a cmd and get the reply from there. Enjoy the rest of your day WvdW
-
Getting a computer name from the IP address(C#)Hi, I'm activating software installations on a network but in a very manual way. First pinging the network for active computers, compare actives computers with an installation list then executing a bat on the computer. I thought it should be easy to automate the process and started reading up on the System.Net.NetworkInformation library but the problem is that I don't know how to extract the computer name from the pingReply object. It only returns the IP address and since the DNS lookup table isn't up to date I can't use that. Is there another way to get a computers name from the IP address Thanks WvdW
-
Getting a computer name from the IP address(C#)Hi, I'm activating software installations on a network but in a very manual way. First pinging the network for active computers, compare actives computers with an installation list then executing a bat on the computer. I thought it should be easy to automate the process and started reading up on the System.Net.NetworkInformation library but the problem is that I don't know how to extract the computer name from the pingReply object. It only returns the IP address and since the DNS lookup table isn't up to date I can't use that. Is there another way to get a computers name from the IP address