141 Topics

Member Avatar for
Member Avatar for Hazuan Nazri

Hello, i need some help here, i want to change Edit,Select,Delete linkbutton in the gridview to be outside the gridview, i have tried to hide the 3 button and make another button outside gridview, but i dont know how to make a link between all the button. this is my …

0
176
Member Avatar for bill_kearns

OK friends, so I need your advice. I'm reprogramming another web app that was originally written in .Net 1.1. The page I am working on looks like simple GridView with select, update and delete enabled. But it isn't so simple. In the code I have 10, yes 10 calls to …

Member Avatar for pritaeas
0
143
Member Avatar for thiemebr

Hi, I have a sql statemente but I don't want to display all info in the gridview (c# webforms). How to bind specific columns at runtime on gridview? Thanks

Member Avatar for ious
0
1K
Member Avatar for BaxterWoofus

For a Gridview: I am trying to use a stored procedure for the first time in a SQLDataSource for the UpdateCommand: <asp:SqlDataSource ID="TECT_DataSource" runat="server" ConnectionString="<%$ ConnectionStrings:OracleConnectionString %>" ProviderName="<%$ ConnectionStrings:OracleConnectionString.ProviderName %>" SelectCommand="SELECT MPID, User_Id, Last_Name, First_Name FROM Scripts.vw_Tect_Exam" UpdateCommand="P_TECT_UPD_EXAM_ID" UpdateCommandType="StoredProcedure"> <UpdateParameters> <asp:Parameter Name="MPID" Type="Int32" /> <asp:Parameter Name="User_Id" Type="String" /> </UpdateParameters> </asp:SqlDataSource> …

Member Avatar for |-|x
0
2K
Member Avatar for ShaggyDogg

I would apprecaite any assistance with this task.. SourceForm.aspx contains a databound gridview which I have added a checkbox column for multiple row selection. OnClick of a button I want to display any selected rows on another page, Target.aspx So far I have successfully captured textbox input properites using PostBackUrl …

Member Avatar for kvprajapati
0
906
Member Avatar for Iamateur

The user will click the book name in the combo box. **Note: The combo box is separate from gridview i.e. it is not a part of gridview.** Then the gridview for Issuing books i.e. with the columns bid,bname,aname,data of issue,date of return shoudl be** displayed.** The row that will be …

Member Avatar for adam_k
0
114
Member Avatar for Jason666

I have been going through the motions and still cannot seem to get this right. I have textboxes in a gridview that are populated from an access database. They are all datetime values. In the backend code, I am trying to loop through all those values and then apply conditional …

0
106
Member Avatar for pepyrs

Hey guys I know it had been discussed so much but I still don't get it working. What I need is to filter a gridview by a few dropdown lists and the main idea is to "continue" filtering the gridview. I mean, when I select value from ddl1, then the …

Member Avatar for robea
0
828
Member Avatar for Contagious98

Can somebody here teach me how to print in a current row in Gridview? Am using Crystal report, ms access 2007 and Vb.net 2008. This is for receipt matters. To be able to print a receipt after a transaction is made. To be able to print a selected row in …

Member Avatar for lolafuertes
0
205
Member Avatar for clausont

I asked this basic question a couple of days ago but I probably didn't include enough information in my question. Sorry for reposting, but I am really lost here. This is a web application in VB.net connecting to an Access database on a 2003 server. The problem: I have a …

Member Avatar for clausont
0
228
Member Avatar for itsvineethpv

I have a grid view with a check box column i want to open a new window when clicked on that check box . How can i do that? please help, thanks in advance

Member Avatar for hericles
0
203
Member Avatar for Rox Vi

Hi, I am having problem with my coding below when I would like to export the data from GridView to Excel Spreadsheet. Appreciate if you could share your valuable comment. Thanks [B]Error Message =[/B] Class 'System.Web.UI.WebControls.GridView' cannot be indexed becasue it has no default property. [B]Error Line[/B] = xlWorkSheet.Cells(i + …

Member Avatar for Reverend Jim
0
443
Member Avatar for M.Waqas Aslam

Hi ! i m working on asp.net project and using c# for it , i want to place my delete button on the right most of the gridview , by default button is placed at left side of the grid , can any one please help me . as i …

Member Avatar for M.Waqas Aslam
0
120
Member Avatar for drugoholic

Hello, I have 2 tables: news and users news - N_id (primary) - title - article - time - U_id users - U_id (primary) - member I have managed to create the gridview with edit/add/delete for news only, without incorporating the users who wrote that news article. My question here …

Member Avatar for Antenka
0
176
Member Avatar for harsha_123

Hi! I'm new to asp.net.So,I created a simple project to connect it to a database to see whether its working fine. My database contains a table with three fields 1.EmpId 2.EmpName 3.EmpPhoto I created database and entered a row by using SQL SERVER MANAGEMENT STUDIO EXPRESS 2005. I used the …

Member Avatar for nextsolution143
0
246
Member Avatar for icedome

Hi guys, I'm having some trouble finding a control... that is because this control is on gridview witch is inside repeater (let's call it rpt1) and this repeater is inside another repeater (this one, rpt2).. I have an ItemCommand on rpt1 witch I need to catch a dropdownlist item value …

Member Avatar for icedome
0
265
Member Avatar for ssreevidya.m

Hai , I have gris fro student listing. And I need to export this list to pdf. But i get the error msg like: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified …

Member Avatar for ssreevidya.m
0
406
Member Avatar for pepyrs

Hi guys, I have a problem when using gridview which source is a database VIEWS, not a table. I have a MySQL database running, ASP web application(C# behind). Then the GridView's source is a combination of 8 views from the database. ([CODE]SELECT * FROM v1,v2,v3... v8[/CODE]) Then the problem is …

Member Avatar for pepyrs
0
214
Member Avatar for pepyrs

Hello guyz, First of all, sorry for starting new thread with similar topic but I read each and still can't figure out how to do it. I'm having a database, using GridView I retrieve the data into my WEB application. Then I set the rows to editable (not sure if …

Member Avatar for jbisono
0
120
Member Avatar for pepyrs

Hello guyz, First of all, sorry for starting new thread with similar topic but I read each and still can't figure out how to do it. I'm having a database, using GridView I retrieve the data into my WEB application. Then I set the rows to editable (not sure if …

Member Avatar for pepyrs
-1
126
Member Avatar for ssreevidya.m

Hai , I have a gridview containing datalist in it.In the datalist i placed 2 labels. My problem is that the content of the datalist not placed within a gridview row cell. The design and css used is: [CODE] <ItemTemplate> <td> <asp:DataList ID="DlistItem" runat="server" RepeatDirection="Horizontal"> <ItemTemplate> <div class="datalisthead"> <div style="padding-left: …

Member Avatar for ssreevidya.m
0
169
Member Avatar for vijeevvv

I have an image button as item template in all the rows of a gridview. A popup (with checkboxlist items, update and cancel button)will be displayed on clicking the image button. Say there are 4 rows in the gridview . For first row I click on the image button and …

Member Avatar for nakor77
0
110
Member Avatar for adi.shoukat

Hi, I want to add data to a GridView from two diifferent DataSources. I found a solution to join both tables in DataSource query and bind resultant DataTable to GridView. But in my case I don't have any common field (identifier) to apply join ON. How can i get data …

Member Avatar for kvprajapati
0
149
Member Avatar for vijeevvv

I have a gridview which is connected to a SQL datasource.In the gridview i have a item template field (Textbox) and a image button. when i click on the image button, i get a popup (using ModalpopupExtender).In the popup there is a checkboxlist with a series of items which are …

0
80
Member Avatar for jespina

Please help me update a gridview using a pop up. It couldn't get the primary key of the selected row. these are my codes: Protected Sub btnSaveRemarks_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSaveRemarks.Click strSQL = "UPDATE CandidateScreening SET Remarks = @Remarks, Status = @Status WHERE ID ='" …

0
108
Member Avatar for cutebaboi

i've read many articles and discussions through google, i have followed and corrected all yet still nothing happens. they say that it does not appear if it has no data to display, yet it does have data. i also set AutoGenerateColumns of gridview to true i was using linqdatasource connected …

Member Avatar for cutebaboi
0
154
Member Avatar for pikkas

I have a gridview with 3 columns Name,Surname,Change(ButtonField column) which is populated from an SqlDataReader with the following code [CODE] SqlCommand sqlCommand = new SqlCommand("select * from Empl where userId ='" + userid + "'", sqlConnection); sqlConnection.Open(); SqlDataReader reader = sqlCommand.ExecuteReader(); GridView1.DataSource = reader; GridView1.DataBind(); [/CODE] In my database there …

0
78
Member Avatar for StevenSchaffner

Well i am using asp and VB.Net to make it to where people can check in and check out. I have gridview which has where it shows the data from my sql server that i put dummy data in. When i load my website the data shows up. I do …

Member Avatar for StevenSchaffner
0
128
Member Avatar for atrueresistance

Hello all, I am trying to transfer some variables to another page for editing. I am having troubles with the checkboxes. [CODE]GridView1.Rows(e.NewEditIndex).Cells(12).Text & "~\/~" & _[/CODE] is a checkbox and when passed and split it comes up as a empty string. I know there has to be a way to …

0
106
Member Avatar for Nitin Daphale

I load the the grid(Grid is editable), having Price-Quantity-Amount columns. I want to change Amount when I change Quantity.I want to do it at clientside. Any suggestions? [CODE] <asp:UpdatePanel runat="server" ID="UpdatePanel1"> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnOk" /> </Triggers> <ContentTemplate> <asp:GridView ID="gdv_QuotItems" runat="server" AutoGenerateColumns="false" OnRowDataBound="gdv_QuotItems_RowDataBound" EmptyDataText="No Items To Load."> <Columns> <asp:TemplateField HeaderText="Price"> <ItemTemplate> …

Member Avatar for Nitin Daphale
0
242

The End.