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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

cppdotnet

@cppdotnet
About
Posts
27
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Button Event
    C cppdotnet

    button is not dead ... when i click it first time it posts back ... goes to page load and comes back and doesn't do anything when i click it again it goes to the page load and then goes to event function and works fine ... but i don't why it doesn't go to click event on first click Thanks

    ASP.NET question

  • Button Event
    C cppdotnet

    I have click event on button. It works fine after clicking the button twice it doesn't do anything on first click. After clicking it aging it works fine. Any idea why??? Thanks

    ASP.NET question

  • Tool to create screen shot for web site
    C cppdotnet

    Hi ... I have to write a requirements document with sreen shots. I started with creating a .aspx page with controls like buttons ... data grids and stuff but it gets very tidius ... like visio is there any tool out there which can help create the web site screens like grids, buttons and other controls ... Thanks, Thanks

    ASP.NET business help

  • DropDownList selected
    C cppdotnet

    Thanks a lot. I am working with n-tier and also Controll - model MSUserInterfaceProcess and from business tier I get dataset back. So I can't use the direct query but this gave me an another idea to try. Thanks a lot again. I was stuck but your suggetion triggered a new thought process. :) Thanks

    C# tutorial

  • DropDownList selected
    C cppdotnet

    I have dropdown list with over 50 list item. Based on each selection i want to call a function which populate the DataGrid. Currently, I am doing it following way .. but calling switch case 50 times sounds tidius .. there has to be a better way... seems like it's very common .. for example ... select a State from the dropDownlist and instead of DataGrid they are populating another drpodownlist which is cities in that state. protected void DropDownList1_SelectedIndexChanged1(object sender, EventArgs e) { string tableName = DropDownList1.SelectedItem.Text; switch (tableName) { case "Address": GetAllAddressData(); break; case "State": GetAllAddressData(); break; ....................... Any ideas or suggestions are really appriciated ... Thanks

    C# tutorial

  • Datagrid TextBox becomes dropdownlist on Edit/Update
    C cppdotnet

    I have a dataGrid in which 3 coulmns I can update. When I click Edit I Update and Cancel linkcomes up. All three becomes TextBox in which I can enter the data after clicking the update it updates the value. Now out of 3 textBox one i want to become DropDown list and when they select one value it updates that value. Any Ideas or suggestion are really appericiated. Thanks

    C# announcement

  • UltraWeb Grid
    C cppdotnet

    I am using Infragestics Ultra webGrid and one of the column in that gird is Hyperlink. I want to pass multiple values in Navigate URl How do i do that??? Thanks

    C# question css

  • Ultra WebGrid Hyperlink
    C cppdotnet

    Yes.. this is exactly what I want to do but I have templated hyperlink column inside Ultrawebgrid.. if i don't specify NavigationURL then I don't get the link ... asp:HyperLink ID="HyperLink1" runat="server" Text="<%# Container.Text %>" NavigateUrl='<%# "Detail.aspx?Name=" + Container.Text + "&City=" ????? How do i get the city name which is is next coulmn %>' /> Thanks

    C# question sysadmin docker

  • Ultra WebGrid Hyperlink
    C cppdotnet

    Hi I am using a UltraWebGrid from Infragistics. One of the column is a hyperlink. I am able to pass one value through URL but how do i pass value from next coulmn also through URL. Here is what i have igtbl:UltraGridColumn AllowResize="Free" AllowUpdate="No" BaseColumnName="NAME" HeaderText="Name"> Header Caption="Name"> Footer> igtbl:UltraGridColumn> igtbl:TemplatedColumn AllowResize="Free" AllowUpdate="No" BaseColumnName="CITY" DataType="System.Int32" HeaderText="City Name" Type="HyperLink"> CellTemplate> asp:HyperLink ID="HyperLink1" runat="server" Text="<%# Container.Text %>" NavigateUrl='<%# "Detail.aspx?CITY=" + Container.Text + "&NAME=" ????????????HOW DO I PASS NAME %>' /> CellTemplate> Header Caption="City"> Footer> igtbl:TemplatedColumn> How do I pass the Name also through URL Thanks -- modified at 4:15 Wednesday 12th April, 2006

    C# question sysadmin docker

  • DataGrid Edit a Cell
    C cppdotnet

    I want to edit a cell. Currently I have a Edit button which makes 2 cell editable and then I update. Is there a way I can double click on cell and make that cell editable and change the value. rather theb Click on Edit then Update or Cancel. Thanks Thanks

    C# announcement

  • Filter DataGrid
    C cppdotnet

    I have this code ... I am getting an error when I declare a delegate Event this.ChangeFilter += new System.EventHandler(this.ChangeFilter); Error says Cannot assign to 'ChangeFilter' because it is 'Method Group' private void ChangeFilter(object Source, System.EventArgs e) { // Response.Redirect("SelectSchema.aspx"); FilterByResolved(ddlResolvedFilter.SelectedItem.Value.ToString()); } private void FilterByResolved(string strResolvedFilter) { strResolvedFilter = "ISCOMPLETE=" + strResolvedFilter; try{ this.oracleDataAdapter1.Fill(this.LogDataSet1); DataView LogFilterView = new DataView(); LogFilterView = this.LogDataSet1.Tables[0].DefaultView; LogFilterView.RowFilter = strResolvedFilter; DataGrid1.DataSource = LogFilterView; DataGrid1.DataBind(); } catch (Exception ex) { Label2.Text = ex.Message; } } Thanks

    C# help

  • Sorting Datagrid
    C cppdotnet

    I have this code but some how when I click on Hyperlink to sort it doesn't sort. I am sure I have a bug I can't figure it out ... I will really appericiate if any one can see any errors ... In .aspx file

    C# algorithms help

  • Filter DataGrid
    C cppdotnet

    Hi, I have a dataset which fills my datagrid. this.oracleDataAdapter1.Fill(this.DataSet1); this.DataGrid1.DataBind(); Now I want to set up couple of Filter options. Since I already have all the data I don't want to send another sql to database. How do I send Sql to data set and recreate the same datagrod with filtered data? Thanks

    C# database question

  • Convert String to decimal
    C cppdotnet

    I know 88 is same as 88.0 or 88.00 but according to my requriments i have two #'s coming in ex 00.00 as string aand 88.00 as decimal .... now i have to compare string # to decimal which means that my number should have 2 digit before decimal and 2 digit after another example one # is 0.0 measn another # should have one digit before decimal and one digit after decimal ... regardless of 8.0 is same as 8.00 or 8 ... in my case only 8.0 or 8.1 0r 8.2 or 9.1 are the valid digit since one digit after decimal and one digit before decimal That's why i can't use formating since i don't what's the 1st # will look like which is string and what's the 2nd # looks like which is decimal Thanks

    C#

  • Convert String to decimal
    C cppdotnet

    This is great but doesn't work if i have 88.0 it will format that to 88.00 I want which shows # as it is ... like 88.0 or 88888.888 Thanks

    C#

  • Convert String to decimal
    C cppdotnet

    Hi I have a decimal value which i want to convert to string but it drops off .0 (decimal) I can't format since whatever value in decimal I want it as it is in string ex. 88.99 88.00 88.0 or just 88 Thanks Thanks

    C#

  • Compare 2 digits
    C cppdotnet

    Thanks and sorry. Thanks for your help amd sorry i didn't get it. Thanks

    C#

  • Compare 2 digits
    C cppdotnet

    I have this weird comparision to do. Any idea or suggestions are really appreciated one decimal digit will be like 900.0 where 9 means optional and 0 means Required. and 2nd # will be 88.8 which I have to compare and say it's valid because decimal is required 2 digit on left are required and one digit on right .. so what ever is required are there. 8888.88 is not valid since 3rd digit is optional but cannot have more than that. 1.8 is not valid since at least 2 digit on left and one on right are required. Thanks

    C#

  • best way to read string
    C cppdotnet

    Thanks :) Thanks

    C# c++ tutorial question

  • best way to read string
    C cppdotnet

    I have this number from which I have to read first few number depending on another number. What is the best way to do that. For example ... NumToread = 3 , number = "4567889465" answer should newNum = 456 i can do that using for (int i=1;i<=NumToread ;i++) does any one knows better way ... As you can say .. I am very new to programming Thanks CPP Thanks

    C# c++ tutorial question
  • Login

  • Don't have an account? Register

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