473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

select rows from datagrid, show in gridview

i wanna know the function when u select rows in the datagrid, it will be postback to a gridview

where should i put it
Jun 12 '07 #1
1 1425
chinu
36
i wanna know the function when u select rows in the datagrid, it will be postback to a gridview

where should i put it
Try "CellMouseClick" event and you can get the row index and column index from DataGridViewCellMouseEventArgs e using e.RowIndex and e.ColumIndex .
Hope it helped. Check for the "Public Events" in the DataGridView
Jun 12 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Toni | last post by:
In DataGrid and GridView I can't use paging and sorting. I am connected to database with code, not visual. Can I use paging and sorting if I populate data to grid with code, or I need to drag and...
4
by: wrburgess | last post by:
I am trying to find a PHP control, framework, or application that has a behavior equivalent to the ASP.NET DataGrid or GridView controls. Other terms I've seen are "HTML Table", "Table View", or...
2
by: Vincent | last post by:
Hi, i want to know the number of rows in a gridview bound to a sqldatasource. I tried this: Protected Sub grv_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
2
by: Michael | last post by:
It seems that a gridview allows us to delete only a single row at a time. How to extend this functionality to select multiple rows and delete all of the selected rows in a single stroke? just like...
1
by: COHENMARVIN | last post by:
I have a gridview and I need to know the number of rows in it. I find the Page_load and the Gridview_Load events are too early to find out the number of rows. I can use the Gridview_databound...
0
by: Andy B | last post by:
Is there any simple examples of edit/deleteing rows in a GridView that has its datasource set to an xml object? I need to know, because the project I'm working on doesn't call for a database but...
0
by: krishnaneeraja | last post by:
Hi, In my application,user not allow to de select particular row in gridview.Already i set a property allowusertoaddrows to false,selectionmode to fullrowselect.But in gridview,highlight row hold...
2
by: =?Utf-8?B?QXN0cml0aA==?= | last post by:
I am a Newbie and i am scratching my head over how to delete a Row from a GridView. I have this GridView which has 3 fields called ID,ProjCode and ProjDescription of which ID is the hidden...
3
by: Brian Connelly | last post by:
So, I am having trouble showing my grid view when there is no data in the rows. The if the dr. has rows then my gridview shows and everything works. But if it is NUll then I want it to show with a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.