|
will i be doing this in button on click event or sumwhere else?
|
|
|
|
|
Hello all...
I am having vs.net2005 version it ill support for sqlserver 2000
please clarify my doubt if possible
then please Write step by step :-Ohow to install and use
many thanks advance
dhulipudi :->
hai all please clear my doubt
|
|
|
|
|
Yes, VS 2005 supports SQL Server 2000, I'm using both 2000 and 2005, and it's working just fine. You can check out the MSDN[^] web site for more information.
|
|
|
|
|
Can anybody tell me , i m displaying a vocabulary word , theire usage , also a button to click to hear the word spoken . How can i use text-to-speech in .net
-- modified at 2:06 Friday 7th July, 2006
|
|
|
|
|
You should use SAPI for this purpose. Using this, you need not install anything in client side. Also, go through following link, you can download sample .NET Project also. You can ask me for any trouble, I have developed the entire application successfully.
http://www.eggheadcafe.com/articles/20050813.asp[^]
Regards,
Ketan.
|
|
|
|
|
Hello,
Have you heard of Microsoft Agent? the same way as animation appear in word of excel and word... you can do same with your application... check following links for more info:
Hope this helps.
|
|
|
|
|
hi everybody..i need some opinion,
i add dropdownlist and binding it with database.
the total words for each records is different.
so if possible, how to let the size(width) of dropdownlist can change base on the longest total words
estriX
|
|
|
|
|
hello
I think u r changing the size of Dropdown on design time let it be whatever the size of dropdown it will automatically adjust the width of dropdown when it will bind.
i hope u wil get the ans.
or anythng else u want then tell me.
|
|
|
|
|
hi i am using the .net 2.0 treeview control with populateOnDemand (so when i click the + sign on a treenode it fires a DB query to populate its children - using code similar to http://msdn.microsoft.com/library/en-us/dnvs05/html/treeview.asp?frame=true#treeview_topic6)
But my problem is - when the treeview gets updated - collapsing and expanding a node does not go back to the DB and uses the local cache for showing its children. Is there a way to force it to goto the DB when i know it needs to go?
thanks in advance.
|
|
|
|
|
I am very new to ASP.NET, and am working on a web form with C# behind. I need to save session data as soon as the user fills it in/selects it so that it can be recovered if they leave the page and come back. I was able to get this to work using TextChanged and SelectedIndexChanged events to save the approriate data using this.Session["key"] = mydata sort of thing. I could then load the saved session data the next time the page was loaded. However, this required me to use AutoPostBack ="True" on all my form fields and has the form posting back after the user changes any form element.
I would like to be able to update the session data in the background without posting back and refreshing the page every time. I know this can be done using some sort of hidden iframe or AJAX type of thing, but I am really lost. If anyone could point me in the right direction it would be greatly appreciated. Thanks in advance.
|
|
|
|
|
Anthem.Net[^] is one of the best AJAX framework I can find for .Net.
Since it can do postback through XmlHttpRequest (where you don't need to refresh the page) I hope it can solve your problem.
You can use it just like normal ASP.Net controls.
"Democracy is two wolves and a sheep voting on what to have for dinner" - Ross
Edbert
Sydney, Australia
|
|
|
|
|
Hi!
I have a page (say parent page) which has a button(Button1). When the user clicks on 'Button1', a popup screen(child page1) pops up. This child page has a lot of controls. When the user clicks on one of the buttons on this child page , the childpage1 closes and the values entered in child page are displayed on the parentpage controls. I have implemented this using showModalDialog() , __doPostBack() (for the button Button1) and Page.GetPostBackEventReference(Button1 ,string.Empty).
The part mentioned above is working absolutely fine.
Now, on the same parent page, I have one more button (Button2), which when clicked also opens another pop up page(child page2). In this child page2, I have drop downlist & listbox. The dropdownlist has autopostback (= true) which fills up the listbox.
My problem is that, it doesn't fill up the listbox. I have run the debugger within the code-behind , and found that , the items get filled in the listbox but it never shows on the screen.
I have implemented this page also with the above mentioned method. I don't understand what the reason is.
Can anybody please suggest.
Thanks and regards,
ap.
|
|
|
|
|
Hi
till now i had been using a contol which used to take sql statement for
sorting .
the sql statement looked like "select * from emp order by 2 desc"
But now i am using a dataset which i am getting thru executing a stored procedure.
I am converting dataset into dataview and maintaining its view state
But the problem is i have to sort like the above sql command by ordinal.
is it possible to do the same in dataView.If so pls let me know how to do it.
thks in advance
|
|
|
|
|
did you try the sort propert of DataView?
Nav.
|
|
|
|
|
I created a .net web service which uses WSE 2.0 for authentication, this works great and the app has been in production for almost a year now. The problem is we have a client that wants to consume the service using Delphi 7.0 and isn't able to pass the authentication. If you have worked with Delphi consuming a WSE authenticated web service I would appreciate any insight you can provide to resolve this.
Thank you,
Jason W.
|
|
|
|
|
what is the best why to cereate a dynamic forms builder for buttons labels textboxs
with the ability to move and delete controls and saving to xml
|
|
|
|
|
Have you looked into using the PlaceHolder control?
Jason W.
|
|
|
|
|
I have an application where the user can enter new part numbers. I have a datagrid. They push a button to insert a new line. Since I am adding a new row to the dataset, I have to first initialize the dataset, table, etc.
Where I am running into problems is when the user enters more than one blank line. I can add the first one no problem. But if I want to insert a second blank line, the page always postsback and just resets that first line.
Is there a way to say, "For the first row, initialize everything, but for the second row and beyond, stay on the same page!"
|
|
|
|
|
One solution is to disable the insert new button once the new row has been created. How are you binding the data to the grid? Are you doing so at design time, do it from the code behind instead and then you can bind the data whenever you want.
how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things
--thedailywtf 3/21/06
|
|
|
|
|
I got it to the point that I get my new blank lines to appear. However, I have the problem that if I enter data in line one, hit add line, and add a second line. It resets the first line--the data is lost. I tried setting session variables but still not working. This is the code for the add button:
private void Button2_Click(object sender, System.EventArgs e)<br />
{ <br />
<br />
DataGridItemCollection items = dgParts.Items;<br />
int rows = items.Count;<br />
if (rows == 0)<br />
{<br />
<br />
BindData();<br />
DataTable dt = ds.Tables["Rest"];<br />
DataRow row;<br />
row = dt.NewRow();<br />
strPartNumberInputReference = txtSearchPart.Text;<br />
row["PartNumber"] = strPartNumberInputReference; <br />
row["DrawingNumber"]=DBNull.Value;<br />
row["DrawingRevision"]=DBNull.Value;<br />
row["DwgPath"]=DBNull.Value;<br />
<br />
dt.Rows.Add(row); <br />
dt.AcceptChanges(); <br />
<br />
dgParts.DataSource=dt; <br />
dgParts.DataBind();<br />
Session["test"]=ds;<br />
}<br />
<br />
else<br />
{<br />
ds = (DataSet)Session["test"];<br />
DataTable dt = ds.Tables[0];<br />
DataRow row;<br />
row = dt.NewRow(); <br />
strPartNumberInputReference = txtSearchPart.Text;<br />
row["PartNumber"] = strPartNumberInputReference; <br />
row["DrawingNumber"]=DBNull.Value;<br />
row["DrawingRevision"]=DBNull.Value;<br />
row["DwgPath"]=DBNull.Value;<br />
dt.Rows.Add(row); <br />
dt.AcceptChanges(); <br />
dgParts.DataSource=dt; <br />
dgParts.DataBind();<br />
}<br />
<br />
}
Any ideas? Thanks for your help!
|
|
|
|
|
Can any one tell me how how to read a tiff extention file in asp.net.
Roopesh Singh Gangwar
|
|
|
|
|
what do you mean by read?
To load into a byte array you can do the following.
byte[] newFile = System.IO.File.ReadAllBytes(@"\YourFile.tif");
how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things
--thedailywtf 3/21/06
|
|
|
|
|
Thnks. Actaully our need is to extract the text information from a tif file which we get as a attachment thru email and then need to compare it with some specified text. Is there any way of doing that.
Roopesh Singh Gangwar
|
|
|
|
|
I want to detect if the client browser is using popupblocker or not.. or is there any solution to popup a window regardless of that popblocker as Hotmail and yahoo shows popupwindow on deleteing of emails
thanx in advance
R A M
|
|
|
|
|
Hi,
What is the method you r using to show popup?
Sushant Duggal.
|
|
|
|