|
|
|
|
|
|
|
|
|
|

 |
Is it easy to do PDA programming in .net in compare to java? how?
Which books should we all team me
Tanvi
|
9/25/2004 3:36:00 AM
Yes but .NET Compact framework support Windows based PDA. If u want to develop Web Application targeting PDA u can use ASP.NET Mobile controls. Currently ASP.NET Mobile controls supports 265 devices check the URL to know the device supported
http://www.asp.net/mobile/testeddevices.aspx?tabindex=6
Some useful books on CF
http://www.amazon.com/exec/obidos/search-handle-form/002-2756905-8414451
Mobile Application Dev books
http://www.amazon.com/exec/obidos/search-handle-url/index%3Dblended%26field-keywords%3Dmobile%252520asp.net%26store-name%3Dall-product-search/002-2756905-8414451
|
|
|
|

 |
i've a Placeholder1 and a button control in my webform. When i click button it adds a row with 3 but
parshu
|
9/10/2004 2:21:00 AM
Hi,
I have written a sample piece of code that will meet ur requirement. Instead of having one place holder i'm having two one as a control and other declared as a class publically.
Check the code here
protected System.Web.UI.WebControls.PlaceHolder PlaceHolder1;
protected System.Web.UI.WebControls.PlaceHolder tempPH;
//Page Load Event
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
if (Session["myPH"]==null)
tempPH = new PlaceHolder();
else
tempPH =(PlaceHolder)Session["myPH"];
}
//Button Click event
private void Button2_Click(object sender, System.EventArgs e)
{
Button bt1= new Button();
bt1.Text = "Button1";
tempPH.Controls.Add(bt1);
Button bt2= new Button();
bt2.Text = "Button2";
tempPH.Controls.Add(bt2);
Button bt3= new Button();
bt3.Text = "Button3";
tempPH.Controls.Add(bt3);
Session["myPH"]=tempPH;
PlaceHolder1.Controls.Add(tempPH);
}
With this code u can add buttons to the first place holder.
|
|
|
|
|
|

 |
Suggest some book on Reporting service.
Anacharajan
|
8/13/2004 8:26:00 AM
Microsoft Reporting Services in Action by Teo Lachev is an excellent book but its not yet published but still u can get a e-book from there site http://www.manning.com/lachev
|
|

 |
Hi Vinod
i hv to clear the contents of all the text boxes in my webform while i click on the
Sreethar
|
8/9/2004 12:51:00 AM
Just add a ripper function to ur webform
private void ripper(IEnumerator indexEnumerator)
{
while (indexEnumerator.MoveNext())
{
if ( indexEnumerator.Current.GetType().Name == "TextBox")
{
TextBox l =(TextBox)indexEnumerator.Current;
l.Text="";
}
Control c =(Control)indexEnumerator.Current;
if (c.Controls.GetEnumerator() != null)
{
ripper(c.Controls.GetEnumerator());
}
}
}
and call the function in the clear button click event like the code given below..
ripper(this.Controls.GetEnumerator());
Hope this will help....
|
|

 |
i wanna open my browser without address bar,toolbar,statusbar, while i run my ASP.NET project. what
Sreethar
|
8/9/2004 12:43:00 AM
You need to write a javascript and call the script in page load
function a()\{
window.open("page.aspx",windowName,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=400,height=400)
}
|
|
|

 |
Hello Mr.Vinod
i'm displaying some data retreived from the backend on a Table control at
Sreethar
|
7/14/2004 4:04:00 AM
U either need to display it in iframe as a seperate page and give an option to give print out only for that particular page or keep a print button while user clicking the button open the table data in a new windows with out any other stuff and open the print dialogbox using java script. see the dotnetforce article print option ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|

 |
I want to create a button at runtime & it must be placed inside a WebControl-table.This button is cr
Ameer
|
5/25/2004 8:24:00 AM
Here is a simpe code snip that will add a button to the web form dynamically (Web Form will have a place holder control) and also will attach an click event. Pls try out..
private void Page_Load(object sender, System.EventArgs e)
{
Button b1 = new Button();
b1.ID = "cmdClick";
b1.Click += new EventHandler(b1_Click);
b1.Text = "Click Me";
PlaceHolder1.Controls.Add(b1);
}
private void b1_Click(object sender, System.EventArgs e)
{
Response.Write ("Button CLick Success");
}
|
|

 |
Is it possible to translate the entire content into another language (german/ittalian etc). What I u
sreethar
|
5/14/2004 12:48:00 AM
.NET don’t support content translation but it supports localization and globalization. Basically this helps to format date, Currency and language type. But content can be displayed by having different content for different language. One way of storing the content is in resource file. Example in a winform , each form will have a default resource file, but if u want to have one or more language support it will create that many language resx file. Whenever u load the application the language resx file will be loaded. You either can set the default resource file or the .net framework will select one depending upon ur system default language setting.
|
|
|

 |
what is the advantage of using Visual C# than VB.NET. i feel the development environmet of VB.NET is
Sreetharan S T
|
5/4/2004 11:13:00 PM
Both the languages are at par with some small differences as follows.
1.Operator overloading cannot be achieved in VB.Net
2.Assignment operator is confusing in VB.Net. In C# '=' is used for
assignment only. '==' is used for comparison
3.Increment and decrement operators are not available in VB.Net
and many more such small differences
This difference is not relevant enough to decide at to support the statement
" Advantage of using Visual C# than VB.NET.". All what can be achieved from
C# can be achieved from VB.Net as well. Both the languages are provided by
.Net framework keeping in mind the comfort level of the developers.
MS came up with a revolutionary difference with VB.Net as compared to VB...
Here it makes sense to talk about the advantages.. But incase of C# and
VB.Net, its all the matter of your preference...
For more information, check the white paper posted by MS
http://support.microsoft.com/?kbid=308470
do lemmme know if this is OK...
|
|

 |
For using mobile technology have we want tto install any new tool kid other than .net. If so i want
srinivasan
|
5/3/2004 8:58:00 AM
Yes you need Microosft Mobile Internet Toolkit(MMIT) if u are developing application using VS.NET 2002. If you developement platform is VS.NET 2003 then MMIT is past of the VS.NET. BTW MMIT has been renamded as ASp.NET Mobile Controls in .NET V1.1. You can download the MMIT from the link given below.
http://www.microsoft.com/downloads/details.aspx?FamilyID=ae597f21-b8e4-416e-a28f-b124f41f9768&displaylang=en
Our site .NET Force has good collection of Mobile related article and apart from that csharpt-corner.com and http://www.asp.net/default.aspx?tabIndex=6&tabId=44 are few other good site to look in to.
|
|
|
|

 |
Hi,
I am looking for c# code to capture photograph from my webcam and save it in JPEG format.
Binu D
|
4/25/2004 2:39:00 AM
Its not possiable directly thro C#. You need to find out the DLL that come part of the Hardware which you need to use thro introp in .NET.
BTW you can do the screen scrap to get the Destop screen and save in to JPG.
Pls read the articlelink given below for the way to do screen scraping
http://www.csharpfriends.com/Articles/getTip.aspx?articleID=210
|
|
|