473,480 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to display the selected row in wpf using mysql

1 New Member
Expand|Select|Wrap|Line Numbers
  1. private void dataGrid1_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
  2. {
  3.  
  4.      if (dataGrid1.SelectedItems.Count>=0)
  5.  
  6.             {
  7.  
  8.             textBox1.Text = dataGrid1.SelectedItem.Cells[0].Value.ToString();
i have tried this but i am getting an error please help me
Sep 12 '14 #1
0 1137

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

Similar topics

2
2135
by: Shun | last post by:
Hello, I am new to .net Platform. I want to build a sample application using VB.net and backend mysql. now my problem is how to connect to the mysql database. which is the better provider(...
14
2874
by: Ben | last post by:
I don't know whether anyone can help, but I have an odd problem. I have a PSP (Spyce) script that makes many calls to populate a database. They all work without any problem except for one...
1
10598
by: WebNewbie | last post by:
Hi, I am new to using mysql and there isn't any tutorials online on that shows how to create mysql stored procedure for paging purposes. Thus, I read tutorials on creating stored proc that were...
0
1448
by: John Kirkpatrick | last post by:
Hi all, I am having difficulty displaying records on a frontend MS Access 2000 form using a MySQL backend. The following code works well with the Jet database engine but doesn't work properly...
7
2074
by: liadmz | last post by:
Hi All, I'm trying to find a way to display a table to the user using mySQL DB. The table should have options to merge cells for related items and to embed buttons in the cells. Thanks for...
19
9268
selvasoft
by: selvasoft | last post by:
i am doing a site for spinning mills i need to display all the products that the company offers Am using mysql database and word press (CMS) i want to display my images with code number as like...
1
1597
by: ashfaqbinnazar | last post by:
Dear friends, How can i display messages from mysql database in each rows with delete and reply button. Thanks in advance. Here is my code. i have created a page like scrapbook. and splitted the...
5
12656
by: Muralikrishna | last post by:
How to Display Selected Dates from a Database in the Calendar Control event in asp.net using in C# coding(2010).. I was taken one calender controller, and i want to display entire week details in...
1
1563
by: Rachel1234 | last post by:
what is the php code for display selected dob value from drop down list - day and month <form action="http://bytes.com/registerProfile.php" method="post"> <fieldset> <legend>Enter your...
0
7037
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
6904
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
7032
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
6873
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...
0
5321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.