Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:804971
More Search Options
RSS Available
Matching Posts
Re: how to loop through two key words
hi saurabh4it, am here again, so sorry for troubling you. is it possible for the above code to check for the keyword in Database instead of the label. for example the code will take the first two keyword from the textbox and loop through database. once it found , then break the loop and display the alret(keywordfound) else loop again, if no keyword is found then display the alret(no keyword found). below is the code that am using but is not working SqlConnection conn = new SqlConnection("server
Posted to
C#
(Forum)
by
ibcent2003
on 7/18/2009
problem with session
i have a session that is coming from another page, the name of the session is Session["keyword"] and the value of the session is (i don't). am using a select statement to retreive information from a table. my query is shown below select distinct keyword_answer from sentence where keyword like 'i don''t%' the above query works well in sql server query window.... but am trying to incooporate it in my codign so that the value of the session can be anything apart from (i
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ibcent2003
on 7/17/2009
Re: problem with session
thanks haku..its workin now..
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ibcent2003
on 7/17/2009
Re: problem with session
hi haku, am i going to replace the above code with my sql query. as instead of instead of select distinct keyword_answer from sentence where keyword ='"+Session[""].Tostring()+"' i replace with SQL_SEARCH_VALUE = Session["keyword"].ToString().TrimEnd().TrimStart(); SQL_SEARCH_VALUE = SQL_SEARCH_VALUE.Replace("'","''") ; SQL_SEARCH_VALUE = SQL_SEARCH_VALUE.Replace("%","[%]") + "%" ; SQL_REQUEST = "select
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ibcent2003
on 7/17/2009
how to write select statement.
hi everyone, am uisng select state to retrive a record from a table uisng where clause. i want to retrive all the record where value is example (i don't). if i use (i dont), is working well but if i use (i don't) is giving me an error saying Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 't'. Msg 105, Level 15, State 1, Line 1 Unclosed quotation mark after the character string ''. and i dont want to use to word (i dont) intead, i want to use (i don't). please
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ibcent2003
on 7/16/2009
Re: how to loop through two key words
i already mark it...........
Posted to
C#
(Forum)
by
ibcent2003
on 7/15/2009
Re: how to loop through two key words
thanks saurabh4it, i solve the problem. i thanks again..
Posted to
C#
(Forum)
by
ibcent2003
on 7/15/2009
Re: how to loop through two key words
hi aurabh4it, sorry for troubling you again. but is it possible to get the remaining value and display, for example if the value of the textbox is (i don't know you). since the keyword (i don't) is found in the label, then how can i display the remaining word(know you). right after the alert Response.Write("<SCRIPT>alert('"+keywordFound+"')</SCRIPT>"); Response.Write("<SCRIPT>alert('"+remaining keyword here+"')</SCRIPT>"
Posted to
C#
(Forum)
by
ibcent2003
on 7/15/2009
Re: how to loop through two key words
hi saurabh4it, thanks for you reply. your code work perfectly, can get the keyword and display it in a label or using Response.Write("<SCRIPT>alert('display keyword here')</SCRIPT>");?
Posted to
C#
(Forum)
by
ibcent2003
on 7/14/2009
need help with Sql Query
hi every one, i have a colunm that contain the values "this is a boy". how can i query my table to ingore "this is" and just retrive "a boy" instead of the whole values. thank you all.........
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
ibcent2003
on 7/12/2009
Page 1 of 6 (54 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online