473,394 Members | 1,721 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,394 software developers and data experts.

how to retrieve the data from a selected row of a datagrid into textbox

sir/madam


how to retrieve the data from a datagrid into textbox at run time in c# of web based applications...


plz reply
Jul 29 '10 #1
1 1602
Frinavale
9,735 Expert Mod 8TB
Your question doesn't really make sense.
A DataGrid is used to display tabular data; that is, several records of data with several fields.

A TextBox can be used to retrieve or display data too but it isn't meant to be used to display tabular data.

So, what do you mean when you say you want to retrieve the data from a DataGrid and display it in a TextBox at run time?

When do you want to do this?
During a button click event?

Have you attempted to do this yet?
If so what have you tried to do? It would be helpful if you posted what you have tried so that we can figure out what you are doing. It would also be helpful if you posted any error messages that you are getting if you are getting any.

-Frinny
Sep 1 '10 #2

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

Similar topics

0
by: Tetet B via .NET 247 | last post by:
I'm using VB.Net and trying to retrieve the data in the textboxcell of a datagrid after a successful display (used Databind).User can either display data or enter data in the textbox. I canalways get...
2
by: crocketo | last post by:
Hi, I've made a winform with several labels, textboxes and a datagrid. My question is: How do I, when a row in the datagrid is clicked, retrieve that data? Let's say I've got a datagrid with...
1
by: Grey | last post by:
I have a datagrid with 5 columns data. I want to know that how to retrieve specificed location of data in datagrid, e.g.. thrid row , column 2 Million thanks
1
by: Jan Van Steenbergen | last post by:
Hi all i'm having a little problem I have a aspx file with a iFrame defined The iframe is loaded with a html webeditor After editing data in the webeditor textbox, i want t get the data to a...
2
by: ecoder | last post by:
Hi I'm looking for some help regarding copying, selected datagrid items from one dataset to another... and then bind the new dataset to a another datagrid. Hope hearing from you. --...
0
by: Raju | last post by:
Hi all i am Rajendran I am working as a asp.net programmer. I am frish to this field so please any of u garify my doubt I Create array of Textbox Dynamically and not passible to retrieve data...
0
by: shil | last post by:
Hi all, I am working on a .net app using Framework 1.1 I have a datagrid which is getting data from a dataset, that is bound to multiple tables. Basically I have a datagrid, a textbox and a...
0
by: sweetnainak | last post by:
Hiii i am Naina Kapoor, I want to retrieve data from datagrid to textboxes in my form.My project is in VB.NET.Can anyone plss suggest some solution for it.Plss help me out.Its urgent. Thanks a...
1
by: geeteshss | last post by:
First i would like to thank those persons who helped me out in solving my earlier problems the present problem is that i am unable to display data in datagrid....... but the data is visible in...
0
by: geeteshss | last post by:
the present problem is that i am unable to display data in datagrid....... but the data is visible in database..below is the code what should i do...earlier i could view it also below this code is...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.