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:680913
More Search Options
RSS Available
Matching Posts
Re: Simple textbox to sql
hi Iori_jay thanks for that it sounds what im looking for. please could you help me understand exactly how to use that statement. i have an sql database running, with connection string etc.. this is on my host server. would i use it as text behind an ordinary button . would i also have to make any refernce to my connection string? cmd="UPDATE Chat SET textCol=textCol+@newText WHERE UserID=@UID" the bits i dont understand about the command are: 'textcol' whats that +@newText ? is newText the name
Posted to
Getting Started
(Forum)
by
ianmoore
on 12/8/2006
Simple textbox to sql
Hi, im trying to get a textbox content to be ADDED (appended) to some text in a cell in my sql database. ive tried using formview and dataview etc..... however these will only REPLACE the text in the database...... instead of adding the new text to the existing text in the cell. what i want is a textbox and a button(preferably an ordinary button not a formview hyperlink update kind of button) when the button is clicked the text in the textbox is ADDED to the text stroed in a column in the database
Posted to
Getting Started
(Forum)
by
ianmoore
on 12/7/2006
changing the size of my website depending on user resolution
how do I change the size of my pages and my website depending on the user's screen resolution? also how do i set my controls and panels to appear centered on the screen instead of top left .?
Posted to
Client Side Web Development
(Forum)
by
ianmoore
on 12/4/2006
ADD text to text on database
hi, im using visual web developer and visual Basic how do i click a button and ADD the text in a textbox to a text stored in my sql database. i can use formview and can 'replace' the text on the database but how do i ADD it or APPEND it to the text on the database? ALSO how do i replace the "update" hyperlink kind of button that is in formview... witha standard click kind of button? thanks...
Posted to
Data Presentation Controls
(Forum)
by
ianmoore
on 12/4/2006
update button to update database text
i want a normal button that when clicked will update the text in a cell on my sql database. i want the button to add the text in a textbox to the text that is already in the cell on the database. i want to use an actual button rather than an update hyperlink kind of button available with formview. im using visual web developer and VISUAL BASIC... im also fairly new.... please keep it simple thanks for your help
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
ianmoore
on 12/3/2006
Re: activating a button in code
thanks for your help.... eventually i decided to bypass the dropdown and use this in the pageload area Image1.ImageUrl = "~/UPLOADFILES/" + Session( "myDDLvalue" ) + "pic4.jpg" then in the dropdownlist area i put: Image1.ImageUrl = "~/UPLOADFILES/" + DropDownList1.SelectedValue + "pic4.jpg" this works fine. thanks again
Posted to
Getting Started
(Forum)
by
ianmoore
on 12/3/2006
Re: activating a button in code
hi.... im in the UK....i think were on different sides of the planet....great that you can help me like this. here is the code i have: Protected Sub DropDownList1_SelectedIndexChanged( ByVal sender As Object , ByVal e As System.EventArgs) Image1.ImageUrl = "~/UPLOADFILES/" + DropDownList1.SelectedValue + "pic2.jpg" Image11.ImageUrl = "~/UPLOADFILES/" + DropDownList1.SelectedValue + "pic3.jpg" Image12.ImageUrl = "~/UPLOADFILES/" + DropDownList1.SelectedValue + "pic4.jpg" Image13.ImageUrl = "~/UPLOADFILES
Posted to
Getting Started
(Forum)
by
ianmoore
on 12/3/2006
Re: activating a button in code
that was a good idea... ok when the page is loaded it says the url of the image is: ~/UPLOADFILES/pic5.jpg mmmmm..... it does not have the dropdownlistnumber at the begining! however if i click the dropdownlist and select a value it appears correctly like this: ~/UPLOADFILES/2pic5.jpg and the picture appears. have a look yourself: http://www.arcvillage.com/gallery.aspx when you first arrive the pictures are not there but as soon as you click on the dropdownlist the pictures arrive. this is just a
Posted to
Getting Started
(Forum)
by
ianmoore
on 12/2/2006
Re: activating a button in code
thanks for your help..... it wrote ddl changed! but it did not re render the images.... heres my code: Protected Sub DropDownList1_SelectedIndexChanged( ByVal sender As Object , ByVal e As System.EventArgs) Image12.ImageUrl = "~/UPLOADFILES/" + DropDownList1.SelectedValue + "pic4.jpg" Image13.ImageUrl = "~/UPLOADFILES/" + DropDownList1.SelectedValue + "pic5.jpg" Response.Write( "ddl changed!" ) End Sub i have pictures called "2pic4.jpg" and "2pic5.jpg" and "3pic4.jpg" and "3pic5.jpg" so if i select
Posted to
Getting Started
(Forum)
by
ianmoore
on 12/2/2006
Re: activating a button in code
thanks...that works ok.... however i still have the problem that im trying to resolve with this.... in page_load i have assigned a dropdownlist a value the dropdown list has some code behind the selectedindex changed section. this is NOT run when i assign the changed value in page load... thats why I was trying to get a button or the dropdownlist to postback now.... but that also doent work if i put it into the page_load area. the variable IS ASSIGNED TO THE DROPDOWNLIST OK... as when it is rendered
Posted to
Getting Started
(Forum)
by
ianmoore
on 12/2/2006
Page 1 of 18 (172 items) 1
2
3
4
5
Next >
...
Last ยป
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online