|
aravindpanchaksharam wrote: How to generate automatic number when the page is loaded?
Look at the GUID[^] structure or Random[^] class. Hard to tell more without knowing what you are trying to do.
aravindpanchaksharam wrote: How to copy the value 0f textbox from one page to next page?
There are several methods. If it is trivial value, just pass it through query string. Other methods include, session, cross page postback etc.
Your post says you have no idea about ASP.NET. Please take a good book work with the examples.
|
|
|
|
|
Why are your controls called textbox1, etc ? Looking for unreadable code ?
In ASP.NET you pass values between controls on the same page, or via the query string. I think you need an ASP.NET book.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi, thanks for looking
Ive having problems with my copy web site tool in VS2008 (It uploads the file(s), but sometimes i get this error and takes more time than it should)
Ive tried with passive mode checked and uncheked, I had never had this error in VS2005,if i use VS2005, this error doesnt show up
This is the error:
Copy from 'D:\ws' to 'ftp://site.com/domains/ws' started at 04/04/2009 07:06:17 p.m..
Copy file Default.aspx from source to remote Web site.
Has error -- Unable to add 'Default.aspx' to the Web site. Could not find a Web server at site.com' on port 21. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service.
Copy from 'D:\ws' to 'ftp://site.com/domains/ws' is finished. Completed at 04/04/2009 07:06:42 p.m..
Does anyone know how to fix this??
Alexei Rodriguez
|
|
|
|
|
System.Text.StringBuilder sql = new System.Text.StringBuilder();
for (int i = 1; i <= 3; i++)
{
DataTable dt = dao.GetQuestionByType(i).Tables[0];
if (dt != null && dt.Rows.Count > 0)
{
for (int j = 0; j < 5; j++)
{
Random rd = new Random(j);
sql.AppendFormat("insert into TQ_ExamDetail values({0},{1});",temp,(int)dt.Rows[rd.Next(1,dt.Rows.Count)]["TQ_QuestionID"]);
}
}
}
Why is random has the same result?
Thank you in advance!
|
|
|
|
|
you need to seed it first, see here[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Because you asked it to be. AKA RTFM.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
i get precompilation error wat is that?
|
|
|
|
|
how can we possibly help you with out knowing what the error is?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
It means you don't know anything about what you're doing and should learn to use google and buy some books.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
hi.
im wondering how to implement a website im building.
in short at has a login screen which a user can login and see a page with left div with information of some sort, middle div that holds couple of tabs, each tab should fill the div with a table of that tab(customers for example). the user will be able to add a client to the table, delete and edit. the other tabs should do the same, that is show table with edit,delete and insert.
in my current implementation i use a user control for each tab.
the user control have the table in it and the delete,insert,edit buttons in it.
when the user delete a record for instance , id like to call a method in the user control that deletes this record and sends back 1 or 0 uppon success or failure.
than using JS in the client i will remove that row in the table. likewise in the other buttons for insert and edit.
the problem now is that i cant call to a method in the user control directly from JS because of .net limitations.
any suggetions to overcome the problem or to use a different implementation?
|
|
|
|
|
How about using WebService to perform Add/Delete operations? You can use js to call webservices.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
i thought about doing that. but im not quite sure if this is the best implementation. isnt using webservice can cause an overhead? is it conventional to use webservice for that reasons?
|
|
|
|
|
i want to sum columns as
customer sales1 sales2 sales3 sales4 total
john 100 150 100 200 550
Maya 200 100 100 300 700
i want to display the column "total" in the gridview
how can i do it with code
|
|
|
|
|
there are a number of ways you can do this. Here is very good http://www.asp.net/learn/data-access/tutorial-11-cs.aspx[^] that shows you different cases
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
You can just use this sql:
select sales1,sales2,sales3,sales4,sales1+sales2+sales3+sales4 as total from customer
|
|
|
|
|
hi evryone ............ i downloaded a web application and online community and when i host a website in localhost there is BLAZE APPS versioning to it ........... I WANT TO REMOVE IT ...........THE DESIGN PART OT PROJ DOESNT SHOW THESE pls hlp ........... the appl runs in vb.net2005 and db is optional for mysql and mssql .............. urgent
i can understand that my query intially looks lik to steal someones credits but cant help it
the design view doesnt show the contents
help me to view it atleast
n i heard the designing might have been done in html so that only it appears while running it only is it true??
|
|
|
|
|
nilleshkumar wrote: i downloaded a web application and online community and when i host a website in localhost there is BLAZE APPS versioning to it ........... I WANT TO REMOVE IT
Give me one good reason why you want to remove it.
nilleshkumar wrote: THE DESIGN PART OT PROJ DOESNT SHOW THESE pls hlp
Of course it want show you. Why should they?
nilleshkumar wrote: urgent
not to me
nilleshkumar wrote: i can understand that my query intially looks lik to steal someones credits but cant help it
you cant help it? [note: using your words] Are you saying your can not help it, but steal some ones code? What is wrong if you show their logo? After all they not you, have wrote the code. How do you plan to give them credit.
nilleshkumar wrote: help me to view it atleast
There is one thing I can help you. If it is a free code, download it, then use it to learn something. Then wrote your own application based on what you have learnt from scratch. That way you got to learn something and you end up writing your own code. How is that for starters?
Otherwise, if you want to use their code you need
1. Understand their licencing scheme
2. Give credit where credit is due
if you can not do any of those, then step back and leave the space for someone else.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
c f0r learning purpose i need the design side na
|
|
|
|
|
so for learning purposes why remove it?
I sense more hidden agenda beyond learning. Stop you thief!
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
This guy is a clown. He's asked this several times already. I expect he's downloaded some free code and hopes to onsell it as his own,
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
You are an ignorant retard. Stop asking this question. Stop trying to steal from the people who have made their code available so clueless people like you can get the result you want for free.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
hi friends..i have 10 textboxes on my web form.so i want to refresh first textbox only....plzzz help me..
txs in advance..
|
|
|
|
|
what do you mean by refresh? you can use partial page update using AJAX [^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
|
Hi,
In a page when user does an action(e.g. click a button) and some code executes, agian when user refreshes the page that event happens.
How can I disable this feature?
I don't want to transfer user to another page after click, he/she should stay in the page after click.
Best wishes
|
|
|
|