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
N

Neel07

@Neel07
About
Posts
16
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • UltraCombo in Infragistics
    N Neel07

    Does anyone know what's the equivalent of SelectedIndexChanged(object sender, System.EventArgs e) event of Win form ComboBox control in UltraCombo in Infragistics control. I want to raise a event only when UltraCombo value changes. thanks Share knowledge to enhance your learning

    C# learning

  • Adding new row in UltraWinGrid in Windows Form
    N Neel07

    Hi, In one of my Windows Form displaying data using infragistics UltraWinGrid control in C# VS2003, I need to add a new row when user clicks "Add" button in the existing grid so that user can enter values for each column and then posting this entry to the database. Any idea about how to do that in UltraWinGrid control thanks Share knowledge to enhance your learning

    C# csharp css database tutorial learning

  • Reports using Business Object in C#
    N Neel07

    I need to call Business Object Reports from Windows C# application. It should invoke the BO using BO API from C# winform pass the login credential to the BO and invoke that report in windows application. Does any one have idea how to achieve that or someone has already implemented this in their application. thanks in advance Share knowledge to enhance your learning

    C# csharp business json tutorial learning

  • Data bond problem
    N Neel07

    Instead of opening & closing multiple times database connection you can define mutiple dataset based on number of controls and open a connection once in the load event populate all the datasets based on different sql query for populating different controls and once you finish then close the database connection. Now you can bind corresponding dataset to different controls. Hope this way you can avoid mutiple database trip and a performance gain as well Share knowledge to enhance your learning

    ASP.NET database help

  • DataList and paging
    N Neel07

    UnfortunatelyDataList does not provide inbuilt paging & sorting feature like DataGrid but this ofcourse gives you a performance boost than using DataGrid in web page. However you can build custom paging in datalist visit this following article http://aspalliance.com/157 Also you can explore using different data web controls that best suits your application in msdn article http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet-whenusedatawebcontrols.asp Share knowledge to enhance your learning

    ASP.NET

  • can i bring external applications into a .net application
    N Neel07

    yes you can so far I know in ASP.net application quite not sure about windows form. In ASP.Net you can add reference to adobe from project reference tab and in .NET tab select adobe and add it to the project. This is way we can use external application in our .net application. Share knowledge to enhance your learning

    C# adobe csharp help tutorial

  • Disabling textbox based on combo
    N Neel07

    You can either write an procedure on onchange event of combobox or make autopostback attribute to true for combobox. And in the code behind file check the combobox value if its other then --select-- set textbox enabled if (Convert.ToInt32(cmbModLev.SelectedItem.Value) != 0) txtBox.Enabled =true; else txtBox.Enabled =false; Share knowledge to enhance your learning

    C# csharp asp-net

  • Updaing excel file using oleDb in c#
    N Neel07

    Am trying to update one cell in excel file using oleDb in c# but I get the following error "Concurrency violation: the UpdateCommand affected 0 records" Many thanks for ur help Excel File Test.xls structure (cell format for both these columns are Text in excel) Col1 Col2 1 100 code snippet using System.Data.OleDb; string ExcelConStr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Test.xls;Extended Properties=Excel 8.0;"; OleDbConnection oleDbConn = new OleDbConnection(ExcelConStr); oleDbConn.Open(); OleDbDataAdapter da = new OleDbDataAdapter("Select * from [Sheet1$]",oleDbConn) DataSet ds = new DataSet(); da.Fill(ds); da.UpdateCommand = new OleDbCommand("Update [Sheet1$] SET Col2= ? Where Col1= ?",oleDbConn); da.UpdateCommand.Parameters.Add("Col1",OleDbType.VarChar,255,"Col1"); da.UpdateCommand.Parameters.Add("Col2",OleDbType.VarChar,255,"Col2"); ds.Tables[0].Rows[0]["Col2"]=500; da.update(ds); Share knowledge to enhance your learning

    ASP.NET help csharp question announcement learning

  • Datagrid ItemCommand
    N Neel07

    Asp.Net datagrid I want to associate this event OnItemCommand="dgModule_ItemCommand", but when I compile its give me error message "dgModule_ItemCommand(object, System.Web.UI.WebControls.DataListCommandEventArgs)' does not match delegate 'void System.Web.UI.WebControls.DataGridCommandEventHandler(object, System.Web.UI.WebControls.DataGridCommandEventArgs)'" Surprisingly in some of the webpage it does not give this error here is the code snippet protected System.Web.UI.WebControls.DataGrid dgModule; dgModule.ItemCommand += new DataGridCommandEventHandler(this.dgModule_ItemCommand); public void dgModule_ItemCommand(DataListCommandEventArgs e) { int iCount=e.Item.ItemIndex +1; //other lines of code here } Anyone is having clue on that Thanks in advance Share knowledge to enhance your learning

    ASP.NET csharp asp-net design regex help

  • Custom webcontrol and Validators
    N Neel07

    If you want client side validation i.e. without being postback then write a javascript function add this function to the control you want to validate. string jscript="Javascript:fn();"; controlname.Attributes.Add("onchange",jscript); Share knowledge to enhance your learning

    ASP.NET help tutorial workspace

  • ASP.NET 1.1 server set up
    N Neel07

    In test environment server when I deploy application, which runs fine in the development server, gives me following error. Created a directory hello and given web sharing under inetpub\wwwroot. Any clue or idea what's going wrong here. Server cannot access application directory 'C:\Inetpub\Wwwroot\hello\'. The directory does not exist or is not accessible because of security settings. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Server cannot access application directory 'C:\Inetpub\Wwwroot\hello\'. The directory does not exist or is not accessible because of security settings. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): Server cannot access application directory 'C:\Inetpub\Wwwroot\hello\'. The directory does not exist or is not accessible because of security settings.] System.Web.HttpRuntime.EnsureAccessToApplicationDi rectory() +72 System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +263 [HttpException (0x80004005): ASP.NET Initialization Error] System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +983 System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +128 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 Share knowledge to enhance your learning

    ASP.NET csharp asp-net dotnet sysadmin data-structures

  • SQL server 2k Database connection from ASP.NET
    N Neel07

    Hi I am trying to connect SQL server database 2K, which is in different machine from web server but in the same domain, from ASP.NET page but it gives error message "SQL Server does not exist or access denied" but with same connection string & same server I can connect using windows form or other application. Does anyone has got any clue on that Would much appreciate your help. Thank You Share knowledge to enhance your learning

    C# database help csharp asp-net sql-server

  • Parsing XML
    N Neel07

    Thanks a lot I have found the solution and you are right we should mention only "OrigoNS" as namespace prefix. Also it should call the 1st overloaded method of SelectSingleNode passing the XmlNamespaceManager object in the 2nd parameter. Corrected code XmlDocument objXmlDoc = new XmlDocument(); objXmlDoc.Load("C:\\abc.xml"); objRoot=objXmlDoc.DocumentElement; XmlNamespaceManager objXmlNS = new XmlNamespaceManager(objXmlDoc.NameTable); objXmlNS.AddNamespace("OrigoNS","http://www.origoservices.com"); XmlNode objRoot; string MsgID=objRoot.SelectSingleNode("//OrigoNS:message_id",objXmlNS).InnerText; Share knowledge to enhance your learning

    C# help csharp database xml com

  • Parsing XML
    N Neel07

    I am trying to drill down a xml file having schema reference in c# .NET and while processing have added namespace using XmlNamespaceManager but it still gives error "Namespace Manager or XsltContext needed. This query has a prefix, variable,or user-defined function." Following is the code snippet -----------------code snippet----------------------------------------- XmlDocument objDoc = new XmlDocument(); XmlNode objRoot; objDoc.Load("C:\\abc.xml"); XmlNamespaceManager objXmlNS = new XmlNamespaceManager(objDoc.NameTable); objXmlNS.AddNamespace("xmlns:OrigoNS","http://www.origoservices.com"); objRoot=objDoc.DocumentElement; string MsgID=objRoot.SelectSingleNode("//OrigoNS:message_id").InnerText ------------------- abc.xml ---------------------------------- 2005-07-25T09:55:30342C3E5F-xxx4-4073-Byyy-C543973AA2960abc Valuation Requestv1.0synchronousxyzabctest ----------------------------------------------------------------- Would appreciate your help if you have got any clue for this problem Thanks Share knowledge to enhance your learning

    C# help csharp database xml com

  • HttpWebRequest
    N Neel07

    :)Hi I am trying to post some xml data to secured server https:// using HttpWebRequest of System.Xml class in c#. It works fine and get valid response from remote server 1st time when I post the request but in the subsequent request I get following exception of HttpWebRequest "The remote server returned an error 400 bad request " but if restart the application and try to send again it does not throw this exception. Would much appreciate your help if anyone of you had encountered the same problem and resolved it. Thanks in advance Share knowledge to enhance your learning

    C# help csharp sysadmin xml learning

  • Converting string value to System.IO.Stream
    N Neel07

    Hi I want to convert one string input in one of my function in c# to System.IO.Stream object but it gives me conversion error in 2nd line of the below function static myFunc(string strInput) { Stream objStream; objStream=(Stream)strInput; } would much appreciate any help Thank you Share knowledge to enhance your learning

    C# help csharp learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups