Click here to Skip to main content
12,690,140 members (31,080 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
After retrive the data using the following code how should I fill data in (ds) in my textbox?
Posted 3-Jan-13 2:58am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Wow! Inisible code! Can you make it visible for a moment so that we too can have a look at it?
  Permalink  
Comments
Member 9682127 3-Jan-13 8:06am
   
But if I want to display this data in textboxes the what should I do
Zafar Sultan 3-Jan-13 8:09am
   
Oh dear. What is wrong with you? Which data? What code? Your question does not make any sense at all. Provide the code you are working on and then ask question. We are ready to help but only if you help us understand your problem.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

if you want to display data from ds to your textbox then simply use below code

its shows first row and column value

Vb.net code..

Textbox.Text = ds.Tables(0).Rows(0).Item(0).ToString

Let me know if any query for above :)
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170117.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100