|
Means?
You cant retrieve data from the database when there is multiline text??
Do
Select ColmnName from tablename <br />
now assign the text into the textbox, thats it.
|
|
|
|
|
use the normal insert query and select query as you use for the noraml textbox the only difference is increase the size of the varchar in which you are storing the value(text).
|
|
|
|
|
I want to create a social site which can have some features like forum,news and events,rss feeds,blogs.could any one provide built in code for these features.
N!dh!
|
|
|
|
|
|
|
How to add search option in asp.net website?
|
|
|
|
|
with code. This is a crazy question. It has no real answer. If your data is in a database, search it with SQL. If it's not, then it depends, the easiest way, is to get google to search your site.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
U know that for every website there will search box. Like that i have to add search option to my website. Is there any default controls in asp.net or we have to add code?
|
|
|
|
|
kavinnagarajan wrote: Is there any default controls in asp.net or we have to add code?
Control for search? Search is just a text box and a button. Do you find it hard to add those controls?
|
|
|
|
|
If u have some sample code for searching please provide for me.
|
|
|
|
|
If you want to be a programmer, then you will need to learn to write code. If you had even a basic understanding of programming, you'd know that you can't expect to just drop some control in there and get search functionality from it, that's just not possible.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
You need to add code of course.
You can also use Google Custom Search if you need to search only pages inside your website.
|
|
|
|
|
hi
I have windows vista and
when I debug my website project in visual studio,
my browser doesn't run and said "can not find server".
after that i checked my IIS in control panel but again browser doesn't work.
THX.
|
|
|
|
|
Is IIS running? Are you getting something when you type http://localhost in the browser? Why don't you use the inbuilt ASP.NET development server?
|
|
|
|
|
HI
THX for your attention.
I checked all the featuresn of the IIS in control panel but again it doesn't
work?!
what is "inbuilt ASP.NET development server"?and how can use "inbuilt ASP.NET development server"?
|
|
|
|
|
The inbuilt server, runs when you press F5 in visual studio.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I use F5 but again IE said that :"server not found"
|
|
|
|
|
in my application when i edit a row in a gridview for a particular column i have to display a dropdownlist thats ok but when the dropdownlist is loaded i have to display the selected value as the value that is retrieved from the database how is it possible?
this is the code for gridview for that particular column
<asp:TemplateField HeaderText="Mandal Type" ItemStyle-Width="30%">
<ItemTemplate>
<%# Eval("nMandalType") %>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="ddlMandalType" runat="server">
<asp:ListItem Value="0">--SELECT--</asp:ListItem>
<asp:ListItem Value="101" >Mandal</asp:ListItem>
<asp:ListItem Value="102">Municipality</asp:ListItem>
<asp:ListItem Value="103">Division</asp:ListItem>
</asp:DropDownList>
</EditItemTemplate>
<FooterTemplate>
<asp:DropDownList ID="ddlNewMandalType" runat="server">
<asp:ListItem Value="0">--SELECT--</asp:ListItem>
<asp:ListItem Value="101" >Mandal</asp:ListItem>
<asp:ListItem Value="102">Municipality</asp:ListItem>
<asp:ListItem Value="103">Division</asp:ListItem>
</asp:DropDownList>
</FooterTemplate>
<ItemStyle Width="30%" />
</asp:TemplateField>
|
|
|
|
|
4anusha4 wrote: <asp:dropdownlist id="ddlMandalType" runat="server">
<asp:dropdownlist id="ddlMandalType" runat="server" text="<%# Bind("value here") %>">
|
|
|
|
|
|
hiii all...
m using animation extender for panel control but its giving me error:"animation extender cannot be set on property animation...."guide me....
|
|
|
|
|
Hi,
I am using .NET to query indexing server (search engine for our Intranet)
If the user searches for "the,he,she,in" or "a" etc they will get an error page stating - "(The query contained only ignored words.)"
What is the best way to catch this and deliver something meaningful back to the page.
|
|
|
|
|
There is some field in gridview bound to SQL db field, how to change its value in _RowDataBound event?
e.g. GridView.ImageField.DataImageUrlField is bound to ImagePath column from db. I need to change the path during the row data bound event and set updated value to GridView.ImageField.DataImageUrlField
Чесноков
|
|
|
|
|
It would be something like that, Find the control use FindControl Property and the change the property. Below code is dummy. just for your idea.
protected void Gridview1_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.Cells[3].FindControl("Img") != null)
{
((ImageField)(e.Row.Cells[3].FindControl("Img"))).ImagePath= path;
}
}
}
catch
{
}
This may help you
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Cannot convert type 'System.Web.UI.Control' to 'System.Web.UI.WebControls.ImageField'
Can we not bind to specific cell number?
Чесноков
|
|
|
|