|
Hi,
i want to display list of word which starts with the same alpha,while enter that word in textbox by using key press event.(its like google search,while enter a ,it give all search list below in text box)
|
|
|
|
|
That is a popup div. It's done with javascript, and there's probably a control for it in the ASP.NET AJAX library.
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.
|
|
|
|
|
|
Hello,
i'm getting few error on my AJAX enabled application when i'm uploading it to GoDaddy server. Its firsttime I'm using godaddy hosting.
can anybody send me web.config file that's working on godaddy server and that is AJAX enabled.!?
My mail address is vaibhav@golsonline.com
Any Movie, Software, Song, Game and many more.... Only at Developer's Solution
http://www.devsol.co.nr
Search Any Torrent You Want
A Software for Torrent search only....
Must check it
...VAIBHAV SARAN
vikysaran@gmail.com
|
|
|
|
|
Vaibhav Saran wrote: My mail address is vaibhav@golsonline.com
That's a pretty stupid thing to do.
Godaddy sucks. However, unless you tell us the exact error, we can hardly try to solve it for you.
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 stored FirstName and LastName in two column in table...
I want to show them in a single column in gridview along with their email and other details.
Any suggestion ......
|
|
|
|
|
You just need to bind both columns FirstName and LastName on a single gridview column using string concatenation
|
|
|
|
|
Use template column
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
In you Select statement just do this..
Select FirstName + ' ' + LastName as [Name] from table
Be an Eagle, Sky is Yours.
|
|
|
|
|
DO this from the SQL Side and let the grid display what is comming from SQL. Dont do your manipulation in the Grid.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
U r one of that clerks
thanx
|
|
|
|
|
You are Welcome
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
you can write your sql like this:
select FullName=FisrtName+LastName from your_tableName
if your are using Access Database ,then it should be change:
select FisrtName+LastName from your_tableName
|
|
|
|
|
There are 2 sollutions :
- You can use ItemTemplate with TemplateColumn. It will be useful if you want to format the contents, and you need specific control for specific content.
- Going on SQL side, you can adjust the query itself to produce the firstname+lastname's combination, if you just want to display the information.
|
|
|
|
|
I m showing product details in datalist with a image...........and i want to enlarge the size of image on enlarge button..........how its possible..............plz guide me a bit..............
|
|
|
|
|
|
Hi,
how to upload flv file in asp.net?
Regards
jayabharathi
|
|
|
|
|
|
How we get XML tag value in MM/DD/YYYY format in .net with c# ??
<br />
private string getXmlTagDate(XmlElement xEle, string name)<br />
{<br />
XmlNodeList xList;<br />
string text;<br />
xList = xEle.GetElementsByTagName(name);<br />
if (xList.Count > 0)<br />
{<br />
text = xList[0].InnerText.ToString();<br />
text = Convert.ToDateTime(text).ToShortDateString();<br />
}<br />
else<br />
{<br />
text = "00/00/0000";<br />
}<br />
return text;<br />
}<br />
<br />
this function work properly for text value and we get this in date format
<br />
<br />
<?xml version="1.0" standalone="yes"?><br />
<NewDataSet><br />
<PinType_TABLE><br />
<pinname>HALF UNIT</pinname><br />
<fullvalue>12000</fullvalue><br />
<percent_value>50</percent_value><br />
<pin_type>P</pin_type><br />
<pin_price>6000</pin_price><br />
<ind_active>1</ind_active><br />
<CreateOn>2009-02-01T00:00:00+05:30</CreateOn><br />
</PinType_TABLE><br />
<PinType_TABLE><br />
<pinname>Full</pinname><br />
<fullvalue>12000</fullvalue><br />
<percent_value>100</percent_value><br />
<pin_type>P</pin_type><br />
<pin_price>12000</pin_price><br />
<ind_active>1</ind_active><br />
<CreateOn>2009-02-03T00:00:00+05:30</CreateOn><br />
</PinType_TABLE><br />
<PinType_TABLE><br />
<pinname>fourth unit</pinname><br />
<fullvalue>12000</fullvalue><br />
<percent_value>25</percent_value><br />
<pin_type>P</pin_type><br />
<pin_price>3000</pin_price><br />
<ind_active>1</ind_active><br />
<CreateOn>2009-05-21T00:00:00+05:30</CreateOn><br />
</PinType_TABLE><br />
<PinType_TABLE><br />
<pinname>s.s</pinname><br />
<fullvalue>12000</fullvalue><br />
<percent_value>0</percent_value><br />
<pin_type>P</pin_type><br />
<pin_price>0</pin_price><br />
<ind_active>1</ind_active><br />
<CreateOn>2009-07-16T00:00:00+05:30</CreateOn><br />
</PinType_TABLE><br />
</NewDataSet><br />
<br />
|
|
|
|
|
Just i would like to clerify you query that are facing problem with the date formate while you are converting XML file into excel file ?
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
rummer wrote:
text = Convert.ToDateTime(text).ToShortDateString();
text= Convert.ToDateTime(text).Tostring("MM/dd/yyyy");
Regards
Keyur Satyadev
|
|
|
|
|
hiii m tryin to submit the values of dynamically created textbox on button click.i have writen following code on button click:
protected void Button2_Click(object sender, EventArgs e)
{
OleDbDataReader dr = null;
string str = "Select Count(Specification)From ProductSpecification";
OleDbCommand cmd = new OleDbCommand(str, conn);
conn.Open();
string Count = cmd.ExecuteScalar().ToString();
int count = Convert.ToInt32(Count);
conn.Close();
str = "Select * From ProductSpecification";
cmd = new OleDbCommand(str, conn);
conn.Open();
for (int i = 1; i <= count; i++)
{
txt = new TextBox[count];
txt[i] = new TextBox();
txt[i].ID = "txt" + i.ToString();
string s1 = txt[i].Text;
string s2 = "Insert Into ProductSpecification(Value)Values('"+s1+"')";
cmd = new OleDbCommand(s2, conn);
cmd.ExecuteNonQuery();
}
conn.Close();
}
but it is givin error and also it is not taking the value of textbox:
error:Syntax error in INSERT INTO statement.
|
|
|
|
|
mylogics wrote: txt[i] = new TextBox(); txt[i].ID = "txt" + i.ToString(); string s1 = txt[i].Text;
Use this
txt = new TextBox();
txt= Page.FindControl("txt" & i.ToString);
string s1= txt.Text
Be an Eagle, Sky is Yours.
|
|
|
|
|
hiii now i have changed my code to:
protected void Button2_Click(object sender, EventArgs e)
{
OleDbDataReader dr = null;
string str = "Select Count(Specification)From ProductSpecification";
OleDbCommand cmd = new OleDbCommand(str, conn);
conn.Open();
string Count = cmd.ExecuteScalar().ToString();
int count = Convert.ToInt32(Count);
conn.Close();
for (int i = 0; i <= Convert.ToInt32(Count) - 1; i++)
{
TextBox txtCtrl = (TextBox)Panel2.FindControl("txt" + (i + 1));
Label lblctrl = (Label)Panel2.FindControl("lbl" + (i + 1));
if (txtCtrl != null)
{
string s = txtCtrl.Text;
string s2 = lblctrl.Text;
string s1 = "Update ProductSpecification Set Value='"+s+"'Where Specification='"+s2+"'";
cmd = new OleDbCommand(s1, conn);
conn.Open();
cmd.ExecuteNonQuery();
conn.Close();
}
}
}
but it is givin error:
Syntax error in UPDATE statement.
plz help...
|
|
|
|
|
mylogics wrote: string s1 = "Update ProductSpecification Set Value='"+s+"'Where Specification='"+s2+"'";
Dear Friend
Please write you query with space between where cluase and single quote
string s1 = "Update ProductSpecification Set Value='"+s+"' Where Specification='"+s2+"'";
Be an Eagle, Sky is Yours.
|
|
|
|