.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 22nd, 2001, 06:30 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
Get specific row value

<i><b>Originally posted by : Virtual (virtualnet@im.eth.net)</b></i><br />Hi, <br />I am using the DataSet ... <br /><br />DataSet ds = new DataSet(); <br />cmd_DB.FillDataSet(ds, "myMDB_DBS"); <br /><br />I need to get the value of one field & store it in a session variable. <br />How do I do that ??? <br /><br />eg. in a tabel structure such as.... <br />id, username, password. <br />I am using a <br /><br />select * from myMDB_DBS where username="nicole" <br /><br />query to filldataset. <br /><br />How do I get the value <br />of the password field to store into a session variable ??? <br /><br />Please help <br />

Reply With Quote
  #2  
Old April 10th, 2002, 03:48 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : Jenica (jenica@mvsc.com)</b></i><br />string pwd = ds.Tables[0].Rows[0]["PasswordField"].ToString();<br /><br />this.Context.Session.Add("password",pwd);<br /><br /><br />------------<br />Virtual at 1/22/2001 3:30:54 AM<br /><br />Hi, <br />I am using the DataSet ... <br /><br />DataSet ds = new DataSet(); <br />cmd_DB.FillDataSet(ds, "myMDB_DBS"); <br /><br />I need to get the value of one field & store it in a session variable. <br />How do I do that ??? <br /><br />eg. in a tabel structure such as.... <br />id, username, password. <br />I am using a <br /><br />select * from myMDB_DBS where username="nicole" <br /><br />query to filldataset. <br /><br />How do I get the value <br />of the password field to store into a session variable ??? <br /><br />Please help <br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Get specific row value


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT