|
HI
my requirement is different i have two website both have registration form i now i have to sync the data of both website
i have one another website which have the admin section through which i approve the Users that are register in both the two website
i m using asp.net membership and role
here is the problem
|
|
|
|
|
hello,
i have two textboxes on my web page. When focus is on 1'st textbox the input language was English when focus comes on 2'nd textbox and user want to enter the text the language was chinese...
If any one have the solution for it.. please help me.
thnx. in advance..
|
|
|
|
|
Following link can be useful for your problem:
http://forums.asp.net/t/1134838.aspx
Either you love IT or leave IT...
|
|
|
|
|
hi , i try to draw a virification image on my page
and i try some code and it worked alleady but the problem is all controls on the page not display
i want to draw this but without i lose the page controls
here the code i wrote
// Initialize graphics
Rectangle rectF = new Rectangle(0, 0, 100, 150);
Bitmap pic = new Bitmap(100, 150);
Graphics g = Graphics.FromImage(pic);
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
g.FillRectangle(new SolidBrush(Color.White), rectF);
//g.DrawRectangle (Pens.Aqua , rectF);
Font font = new Font("Times New Roman", 12);
// Set font direction & alignmentString
StringFormat format = new StringFormat();
format.Alignment = StringAlignment.Center;
// Finally, draw the font
g.DrawString(GenerateRendomText(), font, System.Drawing.Brushes.Black, rectF, format);
//Response.ContentType = "image/jpeg";
// Set the content type
Response.ContentType = "image/gif";
// Output the image to the OutputStream by using the Save method
pic.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);
// Dispose objects
pic.Dispose();
MD_NADA
|
|
|
|
|
GenerateRendomText()?
do you have a try/cach around this structure?
And does the catch nog get reached?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
I am looking how to flip pages from thumbnail of a pdf or doc or rtf files in a particular folder.
I hope this is the right place for this post.
Thanks In advance
MJ
|
|
|
|
|
i have few columns in csv file. In one of the column, contains data like this
94122
94233-405
98766-987
6789
The data containing hypens is unable to read to datatable. It showing blank in datatabel in that place. please let me know, how can i get that data
if (_fileexten == ".csv")
{
string str = Path.GetFileName(_filename);
OdbcConnection conn = new OdbcConnection("Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" + _fpath + "\\;Extensions=asc,csv,tab,txt;Extended Properties=\"HDR=YES;IMEX=1;\";Persist Security Info=False");
conn.Open();
string sql_select = "select * from [" + str + "]";
OdbcDataAdapter myCommand = new OdbcDataAdapter(sql_select, conn);
myCommand.Fill(myDataSet, "csv");
dt = myDataSet.Tables[0];
conn.Close();
myCommand.Dispose();
}
G. Satish
|
|
|
|
|
Steve Ballmer will deliver the keynote at Microsoft Tech-ed India 2009 Conference in Hyderabad. There will be announcements related to Windows 7, Silverlight 3, Microsoft Surface Computer, Tata Nano, IPL, etc. and Microsoft will also provide free certification to all onsite attendees.
What: Microsoft Tech-ed India 2009
Where: Hyderabad
When: May 13-15, 2009
Register: http://www.microsoft.com/india/teched2009
There is also a "Top Architect" contest being organized. http://virtualtechdays.com/toparchitect/default.aspx
|
|
|
|
|
Hi Manish,
Thanks for the useful information. Are they going to discuss about Visual Studio 2010, Sharepoint Server 2010 and Exchange Server 2010?
Either you love IT or leave IT...
|
|
|
|
|
Hi friends
i am using asp.net 3.5 i written mail sending functionality , sometimes i am getting this error msg
Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
can any help to fix this problem.
thank you
|
|
|
|
|
|
I tried alot for making clauclator using button events.But i failed.
I need it very urgent guys....plz help me...
If any one knows plz post me the code.....
Anjani
|
|
|
|
|
What exactly problem u are getting ???
|
|
|
|
|
i created the caluclator same as which look like windows caluclator but when i click onthe opertaor (+,-,*,/) buttons its not working.I took two value holders to keep the numbers what i entered.but when i entering the second number the first number is not cleared and the secons number appends to the first number
plzzzz help me by sending the code u know
|
|
|
|
|
Anjani Poornima wrote: its not working.
You would need to quantify exactly on what fails so that others can help you out.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
I already mentioned clearly where i getting the problem.
Again i will tell you when i click on the operator button the textbox must want to clear the existing number and have to take the second number but in my code the second number is appending to the first number
plz tell me how i can rectify my problem
|
|
|
|
|
Make the textbox value as ''(empty) using Javascript ........
wats the problem in that .....
|
|
|
|
|
I like to ask one more question...
can i use the windows caluclator in my web application and how i can use it....
Thank's for ur idea...
|
|
|
|
|
Anjani Poornima wrote: can i use the windows caluclator in my web application and how i can use it...
This does not make any sense.
If you want to really do it, use ActiveX .
Note : if you used activeX it will work in IE only,
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Google never fails[^]
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
hi! try this
first onclick of [+,-,*,/]button store the value of textbox into hidden fields and clear the value of that...
N1.Value = TextBox1.Text; // N1 is a hidden field
Sign.Value = "+"; // Sign is hidden field
TextBox1.Text = "";
and on click of [=] button use the following code
double N2 = Convert.ToDouble(TextBox1.Text);
if(Sign=="+")
TextBox1.Text = N2 + Convert.ToDouble(N1.Value);
if(Sign=="-")
TextBox1.Text = Convert.ToDouble(N1.Value) - N2;
if(Sign =="*")
TextBox1.Text = Convert.ToDouble(N1.Value) * N2;
i thinks this will help you!
|
|
|
|
|
Thank you......
|
|
|
|
|
In one of my application I am fetching data from a table sql server and send it to a table in oracle.The table has huge data.It is taking time but it is working.When I use AJAX and UPDATEPROGRESS to improve the look and feel of the interface it gives the error--"Sys.WebForms.PageRequestManager TimeOut Exception: the server request timed out .
",Can anybody help me out to overcome this problem.
Thanx in advance.
modified on Tuesday, April 28, 2009 5:00 AM
|
|
|
|
|
Make your code faster or extend the timeout in the configuration file...
|
|
|
|
|
Set the AsyncPostBackTimeout property to some big value like "3600"(for 1 hr). The value has to be in seconds.
|
|
|
|