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
S

sangramkp

@sangramkp
About
Posts
87
Topics
51
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Showing Confirmation Pop-up Window after checking an condition
    S sangramkp

    Hi, Thnaks for replying. I just don't Want to show an Confirm message. I want that after the Button is clicked it calls a method for validation of the page. If the input textbox's Value is Less then 100 to say I want to show the confirm popup ur entry is less than 100 are u sure u want to proceed with this? hope u understand the situation Thanks and regards

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET java business tools help

  • Showing Confirmation Pop-up Window after checking an condition
    S sangramkp

    Hi, I have a problem... and any kind of suggestion/solution will be accepted whole heartedly. I have a button on its click I want to do some validation, that logic has been written in business logic layer. If the validation fails then I want to show an confirm pop-up using Java script. The validation is all about comparing an input textbox value with a session variable. Waiting for suggestions.. Thanks & Regards

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET java business tools help

  • ReportViewer Problem
    S sangramkp

    Hi, I am using Sql Server Reporting Services in my asp.net web application. I am displaying the reports in reportviewr. Whenever there is some data its ok. But When The Stored Procedure or query didn't produce any result the report viewer appears and take usual place(i.e width and height). My requirement is that if the stored procedure or query returns data then the report viewer will be visible along with data. Else the report viewer should Hide and display Record Not Found. Issue: -------- As the .rdl file is directly related to stored procedure or query we r not fetching any datatable into the page. Any Suugesstions or Solutins heartly Accepted.... :rose:

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    Database database help csharp asp-net sql-server

  • Accessing a particular cells Address on click in a gridview
    S sangramkp

    Hi SABhatti, I am trying the solution provided but it's not getting the cellId... It shows in alert; You have clicked the cell: undefined Need urgent help please

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET csharp asp-net question

  • Accessing a particular cells Address on click in a gridview
    S sangramkp

    Hi SABhatti, I am preparing a seatlayout type of application using a gridview. i am generating a gridview but i want to store the cells address on click in a listbox or list item and later store them in database... I think i have descibe clearly above.... I am trying using the solution...as u gave But If there a better way or a link where I can refer I will be glad..

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET csharp asp-net question

  • Accessing a particular cells Address on click in a gridview
    S sangramkp

    Hi, I want to access the cells address of a gridview control on click or double click... In Windows application with DatagridView it's quite easy.. How can i get the same in asp.net gridview control

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET csharp asp-net question

  • Attributes["onchange"]
    S sangramkp

    Hi, I am using Dunda's Charts in my asp.net application. I want to refresh two charts on selectedindexchanged event of a dropdown ddlmovie. I have written the code: if (!IsPostBack) { ScriptManager1.RegisterAsyncPostBackControl(ddlMovie); ddlMovie.Attributes["onchange"] = Chart1.CallbackManager.GetCallbackEventReference("ddlMovie", "NA"); ddlMovie.Attributes["onchange"] = Chart2.CallbackManager.GetCallbackEventReference("ddlMovie", "NA"); } But it refreshes the chart2 only.. i want to refresh both the charts... Any solution... :rose:

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET csharp asp-net

  • Binding List to GridView
    S sangramkp

    Hi, I am Using a List to store the data retrived from database... My code goes as this Service Layer Method: public List GetCities() { DataSet ds= cdb.GetCities(); List city = new List(); foreach (DataRow row in ds.Tables[0].Rows) { city.Add(new City(row["city_id"].ToString(), row["city_name"].ToString(), row["state_id"].ToString(), row["city_classification_id"].ToString())); } return city; } In Application Layer: I am Caliing the method as below GridView1.DataSource = cs.GetCities(); GridView1.DataBind(); It works fine but .... The Columns are not coming in the same order as in Database i.e... CityID, CityName, StateID, cityClassificationID. The column order comes in as cityClassificationID,CityId, CityName, StateID. But I want them in the same Order i.e CityID, CityName, StateID, CityClassificationID... How to accomplish this....:rose:

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET database wpf wcf tutorial

  • gridview
    S sangramkp

    Hi, I am working on gridview control... it shows data from a table having columns Sid, Sname,.... I want to hide the sid column from vewing in gridview but use its value on selecting a particular row. how to achieve this... I used mygridview.columns[0].visible= false; but it gives : System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection Help me..:rose:

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET css database help tutorial

  • gridView bind to List
    S sangramkp

    HI, I have been facing the problem since some days..... When i am Binding a gridView to a List the column orders in the gridView comes in Alphabetical order... But I want the column orders as I have Added to the List..... How can I do this...... Any idea.... heartly welcomed

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET wpf wcf help question

  • gridview to database
    S sangramkp

    Hi i have a gridView with 4columns(Btncolumn, StartAmount, EndAmount, AccountShare which is bound to a datatable. I want to store the last 3 columns value in a database in tblSlab taking either from gridView or datatable..... how to do this....

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET database tutorial

  • adding AddingRows to dataTable
    S sangramkp

    code< protected void btnSlabAdd_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); DataTable dt= new DataTable(); DataColumn dc1 = new DataColumn("StartAmount", typeof(double)); DataColumn dc2= new DataColumn("EndAmount", typeof(double)); DataColumn dc3= new DataColumn("AccountShare", typeof(double)); dt.Columns.Add(dc1); dt.Columns.Add(dc2); dt.Columns.Add(dc3); DataRow dr = dt.NewRow(); if (dt.Rows.Count == 0) { dr["StartAmount"] = 1; dr["EndAmount"] = double.Parse(txtEndAmount.Text); dr["AccountShare"] = double.Parse(txtAccountShare.Text); //dt.Rows.Add(dr); } else { //dr["StartAmount"] = 1 + double.Parse(dt.Rows[dt.Rows.Count - 1].Table.Columns["EndAmount"].Caption); dr["StartAmount"] = 1 + double.Parse(gdvDistributorSlab.Rows[gdvDistributorSlab.Rows.Count - 1].Cells[2].Text); dr["EndAmount"] = double.Parse(txtEndAmount.Text); dr["AccountShare"] = double.Parse(txtAccountShare.Text); //dt.Rows.Add(dr); } dt.Rows.Add(dr); gdvDistributorSlab.DataSource = dt; gdvDistributorSlab.DataBind(); } > As in the above code I was trying to add datarows to a dataTable and viewing it in gridView But Everytime I can see only One row in gridView...... I want to see all the rows added to the datatable.... help please

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    C# help

  • adding AddingRows to dataTable
    S sangramkp

    Hi, i am trying to add dataRow to dataTable which in turn poulates a datagridview. But the dtaGridView shows the lattest row added. I want to show all the data Using datatable. someone plz help....

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    C# help

  • datatable to gridview
    S sangramkp

    Thanks Pathan.... Now I want to store the values of the gridview to store in a database table....

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET help

  • datatable to gridview
    S sangramkp

    Hi, I have 3 columns in a gridview statrtAmount, endAmount, account and a btnColumn which is of type link(remove) and I have two text boxes on a page txtStartAmount and txtEndAmount, on a button click i want to add a row to the gridview with the values of the textBoxes and the StartAmount column being 1+ the latest EndAmount. On clicking the remove link in the row it will delete the clicked row and the subsequent rows start amount will be 1+ EndAmount of the previous row then the row deleted. i am a little confused please help..... Account will be just input withiout calculations and the first value of the StartAmount will be 1 on page load Help.... :rose:

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    ASP.NET help

  • Enterprise Library
    S sangramkp

    Hi, As per my knowledge all the 7 blocks in the Microsoft Enterprise Library(Pattern & Practices) require atleast a configuration(.config) file. But while developing a .dll i.e an assembly without using a .config file can I use Enterprise Library. if not for all then for logging or exception handling referencing the dlls from the enterprise Library..... Required an expert opinion... Thanks

    Sangram (A battle with self) Life is simple, we are the ones makes the living difficult

    C# regex workspace

  • Enterprise Library problem
    S sangramkp

    Thanks But Suggestion didn.t worked

    ASP.NET help regex announcement workspace

  • Enterprise Library problem
    S sangramkp

    CongfigurationErrorsException An error occurred creating the configuration section handler for dataConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (D:\WebSite2\web.config line 12) Hi my code runs fine when I don't use MSEnterpriseLibarary 3.1 Configuration tool and simply adding the reference to the dlls, But the same when I want to do with MSEnterpriseLibarary 3.1 configuration tool I am getting the Above Exception. As I am new to using the tool may I am missing something important.... Help needed .... Thanks in advance

    ASP.NET help regex announcement workspace

  • gridView control
    S sangramkp

    How to reorder the columns of a databound gridView in run time

    ASP.NET tutorial

  • text to Speech n Vice versa
    S sangramkp

    Hi, I heard that a unique feature of .Net is converting text into speech and vice versa. Can anybody just give one example or give me some links to know more about it. Sangram

    C# csharp 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