|
|
public static void Main(object args[])
{
switch(args[0])
{
case 1:
Console.WriteLine("Ask a specific question about what you don't understand");
break;
case 2:
Console.WriteLine("Hire someone");
break;
default:
Console.WriteLine("Google");
break
}
}
OK, here is some ideas in C#
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Ramkumar_S wrote: i have a requirement same like our codeproject Forum.(Gridview)
I have little confusion about your question. will you explain your question please.
|
|
|
|
|
i want to create a Forum (design should be same like our code project forum).
I thing now u are getting my question
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|
|
Thanks guys...
any one tried with gridview , because that code was not develop with grid.
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|
|
Hello,
I would read files on my machine, for exemple if i use the path : 'c:\test\doc.pdf' , he acces on disk c: on my server but i need to read the file on my local disk c:\.
Thank you verry mutch.
|
|
|
|
|
Since you're in ASP.NET forum you must be talking about a web application. So yes of course, the web application is running on the server and thus cannot not access the file system of the system the client (your browser) is running on. You can implement a file upload mechanism from your client to the server, then the server can access the file.
Cheers!
|
|
|
|
|
Hello,
Can you tell me how i cen do this ?
Thank you verry mutch.
|
|
|
|
|
Which part? Uploading the file or accessing it once it is uploaded. In either case look here[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
I've created few tab panel at runtime
and i'm trying to add every one of them some content.
I know how to add controls, but i hava problems adding HTML tags to spacific once.
Can anyone help me?
10x
|
|
|
|
|
How do you want to do this, server-side or client-side? What have you tried so far?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi All,
I have one .net web application. I am trying to build using MSBUILD on my machine, its not building on my machine. But this same code is building on other colleagues machine.
What can be the reasons for this not building. We have different operating systems on our machines but same MSVS.Net 2008.
Are there any dlls different for these two operating systems. If it can be because of Frameworks on our machine then how can we check the frameworks installed on our machines.
Please help me in this, happy new year to all you guys in advance.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
If you have Visual Studio why are you using MSBUILD? Open the project in VS and built it. Either way there should be a list of errors, either in teh output window or in log files that indicate why the project can not be built.
Also, if you both have VS2008 then you both have (or should) the same .NET Framework.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
The project is building using Visual Studio on my machine but when I use MSBuild its not building. Thats my problem. The same project when I check in he downloads on his machine it builds using MSBuild. My Build query is : msbuild HrxBuild.xml /p:Environment=QA2.
The error that its giving is Solution File Error MSB11504: File format version is not recogninsed. MSBuild can read the solution files between version 7.0 and 9.0 inclusive.
Error MSB3073: The Command "msbild /t:Clean /P: Configuration=Debug.XXXX.XxxxXpress.sln exited with code 1".
Please help me in this regard.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Well you have all of the information you need. What version of MSBuild are you using? Obviously not the same one VS is using. Again, why are you using MSBuild to begin with?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Possibly, it might be a Build Machine (Wild Guess).
We do have the same setup in my work place. They BNR uses MSBUILD only.
|
|
|
|
|
You don't need visual studio for msbuild, it is part of the sdk.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: You don't need visual studio for msbuild, it is part of the sdk.
Yes, I know. May be he don't know.
|
|
|
|
|
Dear Experts,
I want to chage the password character in TextBox to *. How can i do that. Any ideas, suggestion are much appreciated.
Thanks in advance.
Note: I have found some javascript in google search. but is there any other options?
|
|
|
|
|
If you're using Visual studio then TextBox have a property called TextMode.
You could set Password there.
|
|
|
|
|
i have made that,
<asp:textbox id="TextBox1" runat="server" textmode="Password">
My requirement is in that textbox when i type, BLACK DOT is coming. Instead of that i need *.
|
|
|
|
|
Ok.
But I think this is browser specific and you could off course change it using JS tricks, But I think that's not recommended as sometime JS problem can make your password seen by others clearly.
You could check THIS[^] thread for accomplishing it with Js.
Thanks
|
|
|
|
|
|
Page_load function make dynamic control which is ImageButton(img) also i give control id.
But when PostBack is occured, i can't dynamic control ID.
How can i find out dynamic control ID?
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ImageButton img = new ImageButton();
img.ID = "123";
form1.Controls.Add(img);
ImageButton imgs = (ImageButton)FindControl("123");
}
else
{
imgs get null value but Page.FindControl("form1") gets valid value.
ImageButton imgs =(ImageButton)Page.FindControl("form1").FindControl("123");
ImageButton1.Click += new ImageClickEventHandler(this.clickAddbtn);
}//else
}
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
When posting code snippets please remember to use the "code block" toolbar item to wrap them in pre tags. Edit your post.
Since the control is being created dynamically it must be recreated each time the page loads. You should move this logic out of the page load event and create a separate method that creates the control for a better design.
I know the language. I've read a book. - _Madmatt
|
|
|
|