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
P

playout

@playout
About
Posts
161
Topics
85
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Align the UpdateProgress loading image to the button clicked
    P playout

    Hi, I am looking at ways to align the AJAX UpdateProgress next to the button that is doing a server postback, but not having success. I first added the UpdateProgress above the UpdatePanel in the masterpage (use one masterpage with an updatepanel), but when I click the button, the UpdateProgress image was displaying at the top. I then moved it next to the button(on the page that was doing the postback), but then had a few of these UpdateProgress images displaying to the "submit" buttons (there are 3 of these on the page). Does anyone know how to get passed this? Thank you.

    ASP.NET sysadmin tutorial question

  • Loose Coupled Architecture
    P playout

    Go for a Service/Factory architecture and use a Agile Methodology. The service should drive the data(eg web app and windows app connect to the service)... Agile methodology to keep everything(code, documentation, team) together, etc.

    ASP.NET csharp javascript css wpf design

  • Disable a page similiar to the ModalPopupExtender (non javascript)
    P playout

    Hi, How can I disable a page when a user has javascript turned off(or have the same effect), similiar to the AJAX ModalPopupExtender? I have user that use javascript and non-javascript browsers(or have javascript turned-off). Any tips on where to find this on the web would also help. Thanks, Playout

    ASP.NET question javascript help

  • Delete row from gridview after bind
    P playout

    Hi there, I want to delete a row from a gridview, once it has been populated. My user have some control over how he wants to see the gridview, but now wants to be able to deleted certain rows, when clicking a link. How will I delete the rows? I have the following code: Dim row As GridViewRow 'Delete Customers from grid For Each row In gdvUsers.Rows If (row.Cells(4).Text = "") Then 'delete row End If Next Any help will be appreciated.

    ASP.NET css help question

  • convert anynumber to text [modified]
    P playout

    Hi, I need to do something similiar to: I need to convert any random number, to text. How would I do this? private function getDateFormat() as string Dim theDate as string = "01-06-2005 13:45:30" Dim theDateFormat as string = "dd-mm-yyyy hh:mm:ss" 'need function here to convert to text, or something else? return "1st June 2005, Quarter-To-Two" End sub

    Visual Basic question lounge

  • auto filter on gridview
    P playout

    Hi, I am looking for some help, on how to add a dropdownlist to a gridview header, and then having the same functionality as auto filter in MS Excel. If I sort on one column, it filters my gridview, if I sort on more then one column, it filters on the combonation. Now here is the tricky part(for me atleast)... I will not know how many columns there are, as the information is imported from an excel spreadsheet. Any help will be welcome.

    ASP.NET help tutorial

  • GroupBy in datatable??
    P playout

    Hi Pathan, It looks like something that can help me, but where do I use it? Where I fill my new datatable, or from the current datatable?

    ASP.NET database csharp asp-net help question

  • GroupBy in datatable??
    P playout

    Thanks Ramana. Now if I want to group on a string, how would I do that? My columns in datatable are F2 and F3. I want to group by F2, where F3 is the primary key.

    ASP.NET database csharp asp-net help question

  • GroupBy in datatable??
    P playout

    Hi, Is there a way to use groupBy in a datatable? I need to group some vaules in a column. I cannot use a sql query, as I am munipulating the data in the datatable for a gridview. I know there are no function/class available in asp.net, but maybe someone knows where to find something on the net, or had the same problem as me.

    ASP.NET database csharp asp-net help question

  • removing mulitple entries from datatable
    P playout

    Hi Venkatesh, I need to select from a datatable, not the sql database. I need to do something like a groupBy in the datatable, on a certain column. Any idea how to do that?

    ASP.NET database question

  • removing mulitple entries from datatable
    P playout

    Hi, I have a datatable called dtEmployeeData. In the datatable the Employee's name can sometimes be in there more then once(I get this data from a sql database). Now I can't change my select query, to bring back the employee name only once, as the his name is allowed to be in the gridview more then once(due to transaction history). What I want to do now is, is to select only the name from that datatable, and only show his name once in a dropdownlist. I use this dropdownlist to show all the employee names, and the name must only appear once. How would I do this? Here is my code I have so far: Dim dtEmployeeData As DataTable = New DataTable() dtEmployeeData = BO.getData() drpSort.DataValueField = "EmployeeName" drpSort.DataTextField = "EmployeeName" drpSort.DataSource = dtEmployeeData Using this code, I get: Abraham Bennie John John John Peter Stewart I want to have the following: Abraham Bennie John Peter Stewart

    ASP.NET database question

  • select specific column from datatable
    P playout

    Thank you Ben, I think this method will help me a lot. Will try it over the weekend. Regards Playout

    ASP.NET database

  • select specific column from datatable
    P playout

    Hi, I have a datatable filled with data I get from a sql query and database. Has the following columns in: EmployeeID EmployeeName EmployeeSurname EmployeeSickLeaveDate I just want to select all the data from column "EmployeeName" in the datatable. By that, I only want to populate a new datatable with "EmployeeName" How will this be possible. I tried using datatable.select(), but no luck, or I am not using it correct.

    ASP.NET database

  • create header row for gridview in code-behind before binding
    P playout

    Hi, I would like to know how I can add a headerRow to a gridview, before I show it on the page. I will never know how many columns there will be(get amount of columns from another source), so I have to loop through an array each time, check how many columms there are, and then create a column(with text name) for each of the array items. How will I add code to the following code, to add a header row? 'dtInvoice = datatable 'gdvInvoice = gridview gdvInvoice.DataSource = dtInvoice gdvInvoice.EmptyDataText = "No Data to Display" gdvInvoice.PagerSettings.Position = PagerPosition.Top gdvInvoice.AllowSorting = True Dim keyArray() As String = {ViewState("AppPrimaryKey")} gdvInvoice.DataKeyNames = keyArray gdvInvoice.DataBind() gdvInvoice.Visible = True

    ASP.NET wpf wcf data-structures question

  • OnCheckedChanged event for checkbox
    P playout

    Hi, I want to add the OnCheckedChanged event to a checkbox, and then fire a method that colours all my rows in the datagrid. I am doing this in the RowDataBound method. I am not having any luck. Can anybody maybe help me. Here is my code so far: Dim chkAllInsertInvoice As CheckBox = New CheckBox() chkAllInsertInvoice.ID = "chkAllInsertInvoice" chkAllInsertInvoice.AutoPostBack = True chkAllInsertInvoice.Attributes.Add("OnCheckedChanged", "ChangeAllBackgroundRow()") cell = New TableCell 'cell.Text = "All" cell.Controls.Add(chkAllInsertInvoice)

    ASP.NET help

  • Highlight gridview row using AJAX
    P playout

    Hi, I would like to know if it is possible to highlight a gridview row, using ajax. I have a checkbox in each row, and if you check the checkbox, the row colour must change colour. If you uncheck the checkbox, the colour should revert back to its original colour. Is this possible and how?

    ASP.NET question

  • SQL Cursor
    P playout

    Is it possible to select from 3 tables, and insert into a new table without using a where clause and using the SQL cursor. If so, how would I do that? Any code example?

    Database database tutorial question

  • retrieve auto number ID
    P playout

    Thanks Colin, I just have one more question... What is SCOPE_IDENTITY()?

    Database database

  • retrieve auto number ID
    P playout

    Hi, I am inserting a new record to a SQL 2005 database table(tClients). I have a Primary Key called iClientID in that I use to bind clients, that is Auto Number. I want to retrieve the iClientID once I inserted the record, as part of my stored procedure. Here is my insert statement. INSERT INTO tClients(sClientName, sClientAddress, sClientContact, iClientOrder) VALUES ('Joe Simpson', '3 Green Ave' , 'Mr. R Simpson' , 3)

    Database database

  • column length select query
    P playout

    Thanks alot. It worked. I never thought of LEN()...

    Database database css
  • Login

  • Don't have an account? Register

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