141 Topics

Member Avatar for
Member Avatar for hirenpatel53

Hi all i stuck with one problem i have gridview and values continuesly changing in database so i wanto to that it should automaticaly update that value in grid without making screen flik or postback to server scenario like stock market even if any value exeed then its max value …

Member Avatar for evangilbort
0
294
Member Avatar for khair.ullah

Hi every one ! i am try to Bind Dropdownlist from Gridview .... what i am trying to do i fill my GridView from dataBase .. when i select a Row From Grid it Fill TextBoxes But show error in *"'cmbNature' has a SelectedValue which is invalid because it does …

Member Avatar for |-|x
0
117
Member Avatar for Z33shan

i have GridView, populated with images of 6 fruits (from drawable-hdpi). like this: ![de4e62f8db2c5d5afe016e20eda3d9d6](/attachments/large/3/de4e62f8db2c5d5afe016e20eda3d9d6.png "de4e62f8db2c5d5afe016e20eda3d9d6") now on selection, how can i come to know, what fruit the user has selected? since i'm populating my images from drawables-hdpi, so wot would be the identifier, and how to identify selection through it? …

Member Avatar for BitBlt
0
80
Member Avatar for hirenpatel53

hi all i am creating web site accidently i am facing one bug like i didn see pagging on grid after doing same thing on another form it works perfect Please look into my pronlem i am posting my Code here Please Help ASAP Thanks In advance This is my …

Member Avatar for hirenpatel53
0
3K
Member Avatar for cyberdaemon

Good day coders.. I just want to query how could i solve my problem regarding gridview, I want to compare the value of the current row to the previous row of the column, I dont know were should i start. (ex. id, matnum,soldtoplan 1, 101, 10101 2, 102, 10102 3, …

Member Avatar for LastMitch
0
89
Member Avatar for RubyRuby

[WinForms].I have 3 columns in a gridview - code,Qty,name.If a cell(Say Code), is in edit mode, pressing the arrow or tab keys will fire the 'CellEndEdit' event and after that,moves the selection to the next cell. I want to have different selected cell if it is an arrow key and …

Member Avatar for RubyRuby
0
808
Member Avatar for clausont

I have a row of buttons in a gridview that are created dynamically. When the button in a cell is clicked, the row disappears. Not sure why. Does anyone have a solution to this? Here is my code: Protected Sub GridView2_RowDataBound(sender As Object, e As GridViewRowEventArgs) If e.Row.RowType = DataControlRowType.DataRow …

Member Avatar for BMXDad
0
802
Member Avatar for clausont

Is it possible to have a gridview set for horizontal and have the header only one time along the left side vertically? I have a gridview where the columns repeat depending on the number of items selected up to five. The details of each item will show in one vertical …

Member Avatar for clausont
0
399
Member Avatar for clausont

I have a Gridview that I need to add a button for each row and need to do this programmatically. I am able to add the button, but I am missing something as it is creating a new column and adding the button only in the new column. When the …

Member Avatar for clausont
0
814
Member Avatar for Pankaj18

Hi, I am using below code to check only one radio button which is in gridview item template. But it allow multiple selection as CheckBoxes. My code: [code=asp.net]<columns> <asp:TemplateField HeaderText="Select"> <ItemTemplate > <asp:RadioButton ID="rd1" GroupName="rdBox" runat="server" /> </ItemTemplate> </asp:TemplateField> </columns>[/code] Please help me. Thanks ! Pankaj Singh

Member Avatar for arun1123
-1
4K
Member Avatar for sundog1

Hi again guys... I have a little but of an issue with a select statement I cannot seem to fathem out. Below is the code: else if (radioButton3.Checked == true) ; { //Looks at the row Selected in the GridView and then takes the Account Number and Stores in a …

Member Avatar for sundog1
0
156
Member Avatar for HunainHafeez

i am trying to pick a Varchar field (Question) from tblUser where email = session variable , it doesn't give error but picks -1 and shows it, why ? even that column isn't empt for the matching email code: String connectionString = "Data Source=COSANOSTRA; MultipleActiveResultSets=true; Initial Catalog=Waleed_orsfinal;Integrated Security=True"; protected void …

Member Avatar for HunainHafeez
0
212
Member Avatar for shotokanpoloto

I would like to validate columns in an asp:Gridview but am unsure how to do so as all the tutorials I have found show a previous version on Microsoft Visual Studio (I am using 2010). How do I validate each column of the Gridview? Thanks This is the code of …

Member Avatar for JorgeM
0
172
Member Avatar for HunainHafeez

Error : SERVER TAG NOT WELL FORMED, why ? <%@ Page Language="C#" AutoEventWireup="true" CodeFile="employerView_ScrutinyMembers.aspx.cs" Inherits="employerView_ScrutinyMembers" %> <!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>Scrutiny Members</title> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="txtboxMemberName" runat="server"></asp:TextBox> <asp:Button ID="btnSearch" runat="server" Text="Search" onclick="btnSearch_Click" /> Or <asp:Button ID="btbViewall" runat="server" Text="View …

Member Avatar for JorgeM
0
628
Member Avatar for shahai.ali

hi i have a dropdown which is connected with a database and containing some sort of items, and a gridview. i want to show only those values into the gridview which is select from the dropdown. for example if i have the following values in to the database: value item …

Member Avatar for Philippe.Lahaie
0
213
Member Avatar for maaw

I would like to create a countdown column in a gridview, based on a date in another BondFiled column in the same gridview.

Member Avatar for TnTinMN
0
1K
Member Avatar for RickCJ7

I have a table that has information of fire departments around the state. I am trying to set up the gridview so that the address is a hyperlink with google maps. For example, In my address column, I have an address such as 745 W Colfax Ave Denver CO 80204, …

Member Avatar for JorgeM
0
702
Member Avatar for while(!success)

Hi guys, I have created a gridview which is supposed to display 3 columns: | view | Name | Position | The gridview becomes visible based a a selection of a dropdownlist. When I load the gridview from the dropdownlist however, the grid view appears as such: | view | …

Member Avatar for while(!success)
0
2K
Member Avatar for HunainHafeez

i have an ajax Calender extender along with textbox in gridview, it works fine, when i select some date from calendar then it tranfers date to textbox and after clicking Update button in gridview , it sends date to database , Fine but when i don't select any thing from …

Member Avatar for JorgeM
1
267
Member Avatar for HunainHafeez

<asp:TemplateField HeaderText="Interview Date"> <EditItemTemplate> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <ajax:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1"/> </EditItemTemplate> </asp:TemplateField> this gives me an error, when i click on EDIT button in gridview, even ajaxtools are installed and work when i use them simply, Could not find any resources appropriate for the specified culture or the neutral …

Member Avatar for HunainHafeez
0
1K
Member Avatar for HunainHafeez

i am filling gridview with with tblJobADv columns: userid, advid (f.k), remarks now i actually want to select advTitle from tblJobAdv from which i already imported foreignkey advid , and want to appear it next to advid column in gridview, so how i know the query , SELECT advTitle from …

Member Avatar for JorgeM
0
124
Member Avatar for HunainHafeez

i want to grab "DataValueField" of dropdownBox and want to use it in INSERT statement , so how ? i have already filled my Dropdownbox in grid view now want to get DataValueField and using it in insert statement , how ?

Member Avatar for JorgeM
0
205
Member Avatar for HunainHafeez

i am getting nothing , i am trying to retrieve checkbox value and email address from gridview via code, I am succeeded in getting Checkbox value successfully but cannt get email address, even grid view has it, but i cant get, just blank, here is the code: .cs : protected …

Member Avatar for JorgeM
0
247
Member Avatar for HunainHafeez

i filled a gridview with tblUser, now gridview has a checkbox file (status), which is used to activate newly registered users, so i want to inform user via mail when admins activates him, mean when i (admin) checks checkbox field true, in edit mode of girdview then at that moment …

Member Avatar for HunainHafeez
0
786
Member Avatar for HunainHafeez

am near to cry bcz solving this problem took my whole day , simply, i am trying to get status of checkbox from grid view, so i converted it into tempaltefield and in .cs code i used findcontrol property but still getting error: Object reference not set to an instance …

Member Avatar for HunainHafeez
0
945
Member Avatar for HunainHafeez

my griedview is half shown on browser's screen and even it disabled horizontal scroller on screen (browser), why ? whenever i fill my gridview with many columns than it is half shown and disables scroller too, why ?

Member Avatar for HunainHafeez
0
252
Member Avatar for krunal1986

hi, i have my .aspx page inside 2 user controls with one gridview each. now i want to call the function of user control 2 from user control 1. how can i do this? thanks, krunal

Member Avatar for IconceptBhuvan
0
107
Member Avatar for priya1988

I have a question about asp.net.I Want to edit an selected gridview row values in textbox and I want update that value back in gridview again by clicking Update button in form.

Member Avatar for starrrlatika
0
151
Member Avatar for sundog1

Hi guys, Needing some help here please. I have a 'Save button' setup on my form which seems to be working perfectly. It allows vales to be taken from text boxes and then presented on a datagrid view and also saved to the underlying databse. **The Code for this save …

Member Avatar for Mike Askew
0
339
Member Avatar for narsimhareddy

hi.....goodmorning to everybody, In my application if i entered a new record without using the storedprocedure can any one help me thanks in advance....

Member Avatar for abhishekabhi
-1
160

The End.