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
R

Rahul83

@Rahul83
About
Posts
38
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Label Visibility under ButtonClick EventHandler
    R Rahul83

    Hi Friends, At the click of button i am fetching data from back end which takes a time..so before fetching i am making a label visible with a message saying "Please Wait"..as it can be clear from code below.. private void btnShowDetails_Click(object sender, EventArgs e) { lblShowMessage.visible=true; FetchRecords(); lblShowMessage.visible=false; } but that label is not getting visible at all..what could be the problem..plz assist me in this regard. Thanks, Rahul Agarwal

    C# help

  • Interface- Confusion
    R Rahul83

    Thanks a lot Martin..that link helped me a lot.. Regards, Rahul

    C#

  • Interface- Confusion
    R Rahul83

    Hi Friends, Class Implementing an interface implies class declaring publicly that it is implementing certain method(whose signature is defined in interface)..whats the use of this contract..What if class will simply implement that method.. Warm Regards, Rahul Agarwal

    C#

  • Disable Delete Key in Keyboard.
    R Rahul83

    Hi Friends..I have a ultrawebgrid..after selecting a row and pressing delete key in Keyboard.the selected row got deleted..I want to disable that option..Plz help e.. Warm Regards, Rahul

    ASP.NET help

  • Disable Delete Key in Keyboard.
    R Rahul83

    Hi Friends..I have a ultrawebgrid..after selecting a row and pressing delete key in Keyboard.the selected row got deleted..I want to disable that option..Plz help e.. Warm Regards, Rahul

    C# help

  • Disable Keyboard Delete button
    R Rahul83

    Hi Friends..I have a ultrawebgrid..after selecting a row and pressing delete key in Keyboard.the selected row got deleted..I want to disable that option..Plz help e.. Warm Regards, Rahul

    C# help

  • Export data from UltrawinGrid to PDF
    R Rahul83

    Hi Friends..can u plz tell me how to Export data from UltrawinGrid to PDF

    Windows Forms tutorial

  • HTTP STATELESS..
    R Rahul83

    Thanks for answer..so static variable will be maintained at server during subsequent page requests..right?

    ASP.NET sysadmin question

  • HTTP STATELESS..
    R Rahul83

    Thanks..But I tried something like this.. static int i; protected void Page_Load(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e) { i=i+1; TextBox1.Text=i.ToString(); } For each Button Click event, the value of "i" is incremented and displayed in the TextBox. I have clicked the button 5 times and the text box shows 5 in it. At this moment,when I opened another browse , copy - paste the same url and I tried to click the button, it shows "6" in it. Then why it working when i am opening the page in new browser window..My question is whether making it static will make it remember at server during subsequent page postbacks or not? Warm Regards, Rahul

    ASP.NET sysadmin question

  • HTTP STATELESS..
    R Rahul83

    Hi friends, If I am making my some member variable of a class as a static(say int i),then at each Page Postback i m able to manipulate(say increment) the previous value of i.My Question is whether by making member as a static are we making it to be remember by server during subsequent page requests..if so then how http is stateless.. Warm Regards, Rahul Agarwal

    ASP.NET sysadmin question

  • Clarification On Static Member [modified]
    R Rahul83

    Thanks a lot Arun..u understood my question..and answered precisely..

    ASP.NET database sysadmin help question

  • Clarification On Static Member [modified]
    R Rahul83

    Hi friends..plz go through this pseudo code I Included Requirid Namespaces Dataset ds;--------------------------------------1 //static Dataset ds;-----------------------------2 protected void page_load(parameters) { ds = function in Data acesss Layer which retrives records from database and returns dataset. populatedatagrid(); } void populatedatagrid() { if(mydropdownlist.selectedIndex=0) datagrid1.datasource=ds; else { datagrid1.Datasource= here I performed filtering action using Row Filter Property and selected Index Value } } void mydropdownlist_selectedIndexchanged(parameters) { populatedatagrid(); } I am designing a web page where by default all records will displayed.but by selecting from dropdownlist I can filter the records.Later I thought its not right to perform the fuctionalities of the page_load event at each postback(unnecessry making connection to the database)..so i used Page.Ispostback to avoid that..so first time it worked fine but when i selected from dropdwn list it throws an error "object reference not set to an instance of object".. reason for above error i understood(because in page load event i am returning dataset which does not happened at page post back)..so one of my friend commented the line no-1 and uncommented the line no-2 in above code..thus made dataset static..and it works What I am not understanding is why making the dataset static solved the task..though HTTP is static?Is making dataset ststic makes the records to be saved at server? Warm Regards, Rahul Agarwal -- modified at 7:11 Tuesday 12th June, 2007

    ASP.NET database sysadmin help question

  • Clarification On Static Member [modified]
    R Rahul83

    Hi friends..plz go through this pseudo code I Included Requirid Namespaces Dataset ds;--------------------------------------1 //static Dataset ds;-----------------------------2 protected void page_load(parameters) { ds = function in Data acesss Layer which retrives records from database and returns dataset. populatedatagrid(); } void populatedatagrid() { if(mydropdownlist.selectedIndex=0) datagrid1.datasource=ds; else { datagrid1.Datasource= here I performed filtering action using Row Filter Property and selected Index Value } } void mydropdownlist_selectedIndexchanged(parameters) { populatedatagrid(); } I am designing a web page where by default all records will displayed.but by selecting from dropdownlist I can filter the records.Later I thought its not right to perform the fuctionalities of the page_load event at each postback(unnecessry making connection to the database)..so i used Page.Ispostback to avoid that..so first time it worked fine but when i selected from dropdwn list it throws an error "object reference not set to an instance of object".. reason for above error i understood(because in page load event i am returning dataset which does not happened at page post back)..so one of my friend commented the line no-1 and uncommented the line no-2 in above code..thus made dataset static..and it works What I am not understanding is why making the dataset static solved the task..though HTTP is static?Is making dataset ststic makes the records to be saved at server? Warm Regards, Rahul Agarwal -- modified at 7:28 Tuesday 12th June, 2007

    C# database sysadmin help question

  • Interface
    R Rahul83

    Hi friends, While going through Interface topic I came across this doubt..say there is a class called Myclass which implements an interface called ImyInterface..there is a line of code: ImyInterface xyz=new Myclass() can u plz explain me what this line of code actually means in terms of object and reference. Warm Regards, Rahul

    C#

  • Collection Defination
    R Rahul83

    Tahnks a lot for clearing my doubt..

    C#

  • Form1 to Form2
    R Rahul83

    at the buttin click event create an instance of current form and the form u want open..try sumthing like this At button click event: currentform form1=new currentform(); formToOpen form2=new formToOpen(); form1.hide(); form2.show(); bye

    Windows Forms csharp winforms tutorial

  • Collection Defination
    R Rahul83

    While going through collectios i came across a sentence which says.."An object is called collection if it is able to supply a reference to related object called IEnumerator"..can u please explain me what this sentence actually means..I have an idea of Interfaces.

    C#

  • How to add control in datagridview column..
    R Rahul83

    Thanks a Lot Manoj..I dont know how people like u know each and every thing.. out of curiosity I will like to know since from how long u r working on dot net

    C# database tutorial

  • How to add control in datagridview column..
    R Rahul83

    hi friends.. I want to rtrive some imformation from database(say comments,which is somewhere around four to five lines)and bind the same to datagridview column..for that i need add a textbox which has a scroll property to datagrid column..can you plz tell me how to do this.. regards, Rahul

    C# database tutorial

  • To make TextBox scrollable
    R Rahul83

    Hi Everyone.. I am developing one windows application..I am designing one user control in which I have dataGridview..In gridview I need coloumns of types combobox,textbox..well rest of the things are fine but I that textbox is requrd to be bind dynamically from data base and must have scrollable(multiline) property..can anyone plz tell me how to make it multiline..bcoz in property box i didnt found any such property.. Regards, Rahul

    C# json tutorial
  • Login

  • Don't have an account? Register

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