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

KishoreT

@KishoreT
About
Posts
21
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Queue implementation in java
    K KishoreT
    1. Shortest way of creation of Queue object and use push and pop methods. 2) Can the queue handle 50,000 thousand string elements in it?
    Java java data-structures question

  • Thread implementation in Eclipse Plug-in
    K KishoreT

    Hi, I have created an Eclipse plug-in, A dialog is shown using a command and when user click ok button, reads the data in the View and sends the data to Server using TCP/IP. But the problem is the dialog gets hanged till I receive the response from the TCP/IP. My query is how to launch a thread for reading the data from the view and send to the TCP/IP? Any suggestions please!!!

    Java database sysadmin help tutorial question

  • ajax for partial refresh of the page
    K KishoreT

    In the actual context I have three listboxes, if i selected one item in the first listbox, the selectedindexhanged event is raised to get the neccessary details for the selected item in the first listbox and post the resulsts in the second listbox. the same scenario for the second listbox, if the item is selected in the second listbox, postback is done to get the details to fill in the third listbox. all the three controls are in the same which is shown as follows

    listbox1 onselectedindexchanged1
    listbox2 onselectedindexchanged2
    listbox3

    ASP.NET help question

  • ajax for partial refresh of the page
    K KishoreT

    I have a master page which consists of header, body and footer. The body has contentplaceholder for embedding the pages. in one of the page i have used ajax for partial refreshing, but the page is completely refresing instead of partial. what could be the problem. when i have tried with sample ajax implementation with one label and a button to display the time, it is functioning well.the complete page is not refreshing. what could be the problem in the above scenario?

    ASP.NET help question

  • Page navigation using javascript
    K KishoreT

    Sandeep Mewara has posted an answer to your question "Popup menu and page redirection using javascript": KishoreT wrote: why the data passed along with the links is continuing for other address also, even if the page is not the same? Though you have not posted the code that parses or forms the navigation URL, it is clear from your issue that you are not re-setting the querystring variable/parameter that to append to your base URL. You keep a URL to navigate and based on the add/edit/delete selection you go ahead and append that value to the base URL. while appending reset the query string parameter. Resetting would remove the old value. hi sandeep, sorry while writing the post i made that mistake. the actual javascript is

    window.location.pathname = Page1/Admin/xyz.aspx?action=edit

    but in the address bar it was viewed after the page load is

    href="http://SiteName/page1/Admin/xyz.aspx?action=add?action=edit

    so I get an error that Request["action"] value at server side;

    ASP.NET java javascript tools help question

  • Page navigation using javascript
    K KishoreT

    I have a navigation links(Page1, PAge2, etc) in Master page. when user mouseover on the asp links(Page1, page2) in the navigation bar, a popup menu(ex: Add, Edit, Delete) is shown. when the user selects the menu item(ex: Add) clicked, the following javascript is executed.

    window.location.pathname = Page1/Admin/xyz.aspx?action=add"

    http://SiteName/page1/Admin/xyz.aspx?action=add;

    page is opened. and the address bar having the above mentioned path when I again do the mouseover on the page1 , the popup menu is shown, then if I clicked "Edit" in popup menu the same page should be opened but the action = edit i.e the following java script is executed. <pre>window.location.pathname = Page1/Admin/xyz.aspx?action=edit"</pre> but the page address bar is showing in the following way

    window.location.pathname = Page1/Admin/xyz.aspx?action=add?action=add"

    is shown. in serverside

    Request["action"]

    value is shown as "add?action=Edit" why the data passed along with the links is continuing for other address also, even if the page is not the same? am i doing any mistake here? please help me...

    ASP.NET java javascript tools help question

  • HttpContext.Current.Server.MapPath
    K KishoreT

    Hey thank u its working by placing ~.

    ASP.NET help csharp visual-studio sysadmin debugging

  • HttpContext.Current.Server.MapPath
    K KishoreT

    I have an xml configuration file in my project. when I am working in debug mode of .net IDE it is working fine, but when i tried to launch the project from IE, it is taking different path ex: below code works well in debug mode, but unable to launch in IE directly (http://localhost/WebProj/login.aspx) Pathtype A:

    HttpContext.Current.Server.MapPath(@"\Configuration\xyz.xml");

    below code works well in IE and debug mode but having different problem. Pathtype B:

    HttpContext.Current.Server.MapPath("") + @"\Configuration\xyz.xml";

    Problem: I have a folder MainPages under root folder of the project. under this I have AdminPages. These admin pages are not retrieving if I used pathtype B specified above and gives error no page available, but works fine when pathtype A specified above is used which runs in debug mode only but not able launch from IE. Help me please.

    ASP.NET help csharp visual-studio sysadmin debugging

  • ajax for partial refresh of the page
    K KishoreT

    hey thank u its working!

    ASP.NET csharp help html linq design

  • ajax for partial refresh of the page
    K KishoreT

    I am using ajax scriptmanager to update system time on the webpage. the corresponding code was placed in ContentTemplate. The text out side the contentTemplate also refreshing instead of partial refresh of the page. pls help me. code: aspx ------------ <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Ajax.aspx.cs" Inherits="WebApplication1.Ajax" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:Label ID="Label2" runat="server" Text="My System time:"></asp:Label> <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server"></asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </ContentTemplate> </asp:UpdatePanel> <asp:Timer ID="Timer1" runat="server" Interval="500" ontick="Timer1_Tick" /> </div> </form> </body> </html> //server side code using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace WebApplication1 { public partial class Ajax : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) Label1.Text = System.DateTime.Now.ToString(); } protected void Button1_Click(object sender, EventArgs e) { Label1.Text = System.DateTime.Now.ToString(); } protected void Timer1_Tick(object sender, EventArgs e) { Label1.Text = System.DateTime.Now.ToString(); } } } Pls help to resolve this problem

    ASP.NET csharp help html linq design

  • Export and import commands using C#
    K KishoreT

    Need the steps for importing .dbf file to MS-Access through C# code Need the steps for exporting MS-Access table to .dbf file(dBaseIII).

    Database csharp

  • Merging of two datasets
    K KishoreT

    I have merged two datasets using "Dataset.Merge" command, which the data is retrived from two different dBase-III databases of same structure. Can I create a new database of using dataset, if yes, how...? Regards, Kishore.

    Database database question

  • Merging of two datasets
    K KishoreT

    I have merged two datasets using "Dataset.Merge" command, which the data is retrived from two different dBase-III databases of same structure. Can I create a new database of using dataset, if yes, how...? Regards, Kishore.

    C# database question

  • Migration of dBaseIII to MS-Access using C#
    K KishoreT

    I need to migrate dBaseIII databases to Ms-Access tables. dBaseIII database are to be imported to MS-Access and also need export MS-Access tables to dBase III databases. All these operations should be done using C#. can any one help me... Regards, Kishore.

    C# csharp database help

  • progress control bar
    K KishoreT

    The following code can help drag and drop on form, adjust the size as per your requirements. private System.Windows.Forms.ProgressBar progressBar1; this.progressBar1 = new System.Windows.Forms.ProgressBar(); progressBar1.Maximum = 100; progressBar1.Minimum = 0; progressBar1.Step = 100 /10;

    C# tutorial

  • ODBCDataAdapter
    K KishoreT

    Hello, I am facing a problem in updation of data to dBaseIII database. I have to append two dBaseIII databases and insert to third database(which all the table structures are same). I have merged two datasets and tried to update the third database by using ODBCDataAdapter, I was able to see that the two datasets are merged in debugging, but when it was updated by the command ODBCDataAdapter.Update(dsDataset); the new records are not reflecting the physical dBaseIII database. I was able to select the data from the database, but not able to insert new data through C# program. The following is the code I have tried! Can any one help me to resolve this problem. adSTOERUNG = new System.Data.Odbc.OdbcDataAdapter("SELECT * FROM xyzTable",cnnST ); System.Data.Odbc.OdbcCommandBuilder builder = new System.Data.Odbc.OdbcCommandBuilder(adSTOERUNG); adSTOERUNG.Fill(DSMain,"xyzTable"); DSMain.Merge(DS2Insert.Tables[0]); adSTOERUNG.Update(DSMain.Tables[0]); The following ODBC driver I have used for connection. CollatingSequence=ASCII;SafeTransactions=0;Threads=3;Statistics=0;MaxScanRows=8;DefaultDir=c:\xyz;FILEDSN=c:\xyz\xyztable.dbf.dsn;index=code; DriverId=21; UserCommitSync=Yes;FIL=dBase III;PageTimeout=0;Driver={Microsoft dBase Driver (*.dbf)};MaxBufferSize=10000;UID=admin" Regards, Kishore.

    C# database help csharp announcement

  • a question about tabcontrol ?
    K KishoreT

    If you are using VS2005, you can do it as follows: create dynamic tabs array through code. Create each tab and add to the tab list, when ever you need to hide you can stop loading those tabs. Try and check, else i will give you sample code

    C# question

  • compile C# windows project using csc
    K KishoreT

    I am having .NET framework1.1 I need to compile C# windows project from the command line I have compiled the code in the following way csc /out:exe *.cs It is showing the error missing resources files. In the project i am having one image two text boxes and a listbox. I have used System.Globalization for German language culture to change date and time format. Can any one help me what are the exact parameters do i need to pass to the command "CSC".

    C# csharp help dotnet

  • How to compile .NET Windows proj with resources at command line?
    K KishoreT

    My question is, is there any way to compile using only .Net Framework? The situation is: I don't have VS.NET installed, no devenv.exe there to compile. I just want to use command line compilation using csc.exe or some tools. I am getting error while executing the compiled application from DOS-Prompt I have used System.Globalization for Cultureinfo to display the date and time to German format. The Exception while running shows "Could not found resources appropriate for the specified Culture". can any one know why this problem occurs.

    C# help question csharp dotnet visual-studio

  • Build Windows application from command prompt
    K KishoreT

    I need .NET IDE for .NET 2003 which the link you have shown is .NET 2005 Could you suggest me where .NET 2003 IDE available for free of cost.

    C# csharp dotnet visual-studio help
  • Login

  • Don't have an account? Register

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