141 Topics

Member Avatar for
Member Avatar for addie20

Can some 1 help me with the code for creating a DGV on clicking a button from a C# windows FOrm and not a web form??

Member Avatar for Lusiphur
-1
122
Member Avatar for Weilbach

Hi all. I am new to asp and would like your help on a problem I am having. I have a gridview and a button. The onclickevent of the button must place a certain value from the gridview into an int variable. The value I am trying to get from …

Member Avatar for dnanetwork
0
128
Member Avatar for sandeepani

hi. I am working on a project which keeps its data access, business logic and UI in separate projects of a solution. Is there a way to access a strongly typed dataset in one project of a solution from another project of the same solution? I need these to fill …

Member Avatar for nick.crane
0
90
Member Avatar for SBA-CDeCinko

How do I trim my values in a gridview edit form before they are updated or inserted into the database? I want to be sure that users do not add extra spaces onto the end of the text or at the begining.

Member Avatar for SBA-CDeCinko
0
163
Member Avatar for bipiney

Hi, In my aspx page I have a gridview inside a panel as below <asp:Panel runat="server" ID="pnlContainer" ScrollBars="Auto" Height="781px" Width="1250px"> <asp:GridView ID="gvCashFlowDtls" AutoGenerateColumns="False" runat="server" Font-Size="Small" DataKeyNames="UID" Width="98%" onrowdatabound="gvCashFlowDtls_RowDataBound"> <HeaderStyle CssClass="GVFixedHeader" /> <Columns> . . . . . . . . . </Columns> </asp:GridView> </asp:Panel> This is the style I used …

Member Avatar for bipiney
0
124
Member Avatar for SBA-CDeCinko

I have an ASP.NET gridview where I allow the user to edit a record. I need to validate multiple fields as one. I need to require that the user either enter a first and last name OR a company name. All three cannot be blank. Most of the sample code …

Member Avatar for SBA-CDeCinko
0
142
Member Avatar for cris651

Hello, I'm new to ASP.NET. I'm requesting help. I've tried hard but with no result. I want to provide my user a Gridview filled with data from database, allowing him to edit these records not in order to update the database, but in order to insert edited rows in db …

Member Avatar for cris651
0
750
Member Avatar for ProjectEchelon

Hello All... This is my first post so please be gentle with me and I will try to explain the issue I've been fighting with for 3 days. I am trying to update a gridview element from a different thread. This update task is part of an outer foreach loop …

Member Avatar for ProjectEchelon
0
776
Member Avatar for murugavel84
Member Avatar for datapham

Pls help me , i can not run it correctly with "AddNew, Update, Update, Delete, Cxl" , i have tried many ways but no effect ? My database has 5 tables , i choose one which has 7 columns , the 7th col (name = "ID") is identity number (1/1). …

Member Avatar for kvprajapati
0
129
Member Avatar for Anterko

Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user …

0
85
Member Avatar for Anterko

Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user …

0
80
Member Avatar for pwk064

I am using access database but I keep getting this error message when I try to delete a record from a gridview. The tables are fine **Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error …

Member Avatar for kvprajapati
0
75
Member Avatar for rikinshah

i have 2 gridview. i put this java script for chekbox, my id is [email]<<Email Snipped>>[/email] plz help me , if u knw the ans thn plz reply me , thank you [code] <script type="text/javascript"> // Let's use a lowercase function name to keep with JavaScript conventions function selectAll(invoker) { …

Member Avatar for Atli
0
146
Member Avatar for kanuri1

please help me how to insert data into database by using grid view here iam using asp.net with vb.net database sqlserver-2005 give me any code or suggestions....... pls help me urgent...........................

Member Avatar for Pari13
0
110
Member Avatar for nickEncarnacion

The scenario is: i have a textbox, a button and a grid view that make up a simple webpage where you can search and edit/delete an entry. the grid view's datasource ID is set to NONE. And this is the code for populating the grid view that is found in …

Member Avatar for padtes
0
223
Member Avatar for webdev100

Hi, as the title says, How do I disable the select button text in a gridview after clicking it once? I want to click it once, then have the select cell area render an image (and the image not clickable or linking to anything). Any ideas?

Member Avatar for plusplus
0
137
Member Avatar for er.daljeetsingh

i have a datagridview with checkboxes in my window form and i want to sort my result with textbox without losting checkbox checked value. i place code in textbox_textchange() event. first i fill datatable with label click() [code] Private Sub Label8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label8.Click …

0
112
Member Avatar for irdeveloper

Hi I want stylize web form (form, gridview, button, menu) like windows classic form. Please help me.

0
80
Member Avatar for Wiizl

I have SQL datasource and all columns are directly displayed in gridview. [CODE] DS_params.SelectCommand = "SELECT ID, ParamName, ParamValue FROM Params WHERE ProductID=" + pid; DS_params.Select(DataSourceSelectArguments.Empty); grid_productdata.DataBind(); [/CODE] The first thing I cannot figure out is how to make some column read-only so it can't be edited, without directly adding …

0
74
Member Avatar for squidder11

Hi, I have a gridview that I use to display the results from 50 different SQL database queries. The gridview is populated and built dynamically (Auto-Generate fields) at runtime based on a query that the user selects. When the data is displayed it looks like this: A B C D …

Member Avatar for carobee
0
150

The End.