|
You can't. You need to write code that takes the date from the control, and then passes it to the database. There is no connection between the database and the calendar control directly.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi all,
Can I write the code of c# and VB.Net within the same page only. And can I do the same within the same application.
Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
no
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
|
|
|
|
|
Sir,
Can I use 2 different .Net languages within the same application. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
You can use two different languages for web pages. You cannot use two languages for a windows app, unless the app uses dlls. Each dll or exe must be one language. For this reason also, you can't mix languages in your app_code for an ASP.NET app.
Why would you want to ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
You can use two different languages for web pages
You mean, two different pages in the same application. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
sir,
how can I get the property value(text) stored in a textbox, by using only the view state object.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
The textbox itself stores it's value and restores it to and from viewstate, so all you need to do is use the .Text property to get it back.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Dear Christ,
I dont know what should I say you. Are you only human r any God's angel(I dont know exact word for male angels like Gabriel). Oh my God, dont you feel angry on me for my misbehaviour yesterday. Many times I expect to not to get answer from you(for small questions). But u wont leave it. You will reply me. And I feel very sad that I might have disturbed your work or your personal life.
If you are married your wife must be happiest woman and your kids too. If you are not, then your friends must be. If I get a chance for the second(friends) one, I feel very happy. I dont know how you feel about this, but these are real feelings[because I feel very happy when I see someone with peace as Christ(Jesus) had]. Now I will ask another question please dont answer. Go with your work please. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Ok. That I know. But I got one interview question that, by just using the view state. And I answered as below(but its an assumption only).
My Answer :
Ok. In normal I have not come across to work with that. If I need to try, I would have done in this way. View state stores values in StateBag object. By using its object and name of the textbox, I will try. But I may not say, I will get it in this way only. Is it a correct answer?. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Well, I think it's a trick question, the answer would be, a textbox uses viewstate, that is how it stores it's values.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Cant we use that view state itself to get the value of the textbox. May be, I am thinking for the possiblities. Ok. Thanks for your answer.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
but that is the ONLY way you can get the value. It's not stored anywhere else.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi friends.
i want to add textbox dynamically whenever i click on add new text button using javascript.
is it possible?
if yes,please give me code or related link or give me some other ideas for this.
its urgent.
thanks
pathan
|
|
|
|
|
You can add them using javascript, but you'll need to use some hidden fields or something to work out what was added, and make sure it remains added after a postback. If you just need to get the values, you can get those from the form object.
Some better idea of what you need to do would help. Do you need those boxes to stay there when you refresh the page ? I assume you want to be able to get text from them. How many text boxes are we talking about ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
i have one link button when i click it, textbox shuold be added in the page.
it may be many textboxe depending on user how many textboxes he want
pathan
|
|
|
|
|
OK, and you want to get back the values from the textboxes, right ? You need to establish a naming convention for them in the javascript, so you can grab the values out of the form on postback.
Once a postback occurs, will you ever refresh this page, or always grab the values and be done with them ? If you want to do a postback, it's probably easier to also postback to create the controls.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Sirver side text box not possible but u can add client side HTML textbox via javascript.
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
how?
please give me some code or any link
pathan
|
|
|
|
|
Plz try it.......
TABLE id="Table1">
sdf
var intv=0;
function test()
{
intv++;
var obj=document.getElementById("cell");
obj.innerHTML =obj.innerHTML + "<br>" + "<INPUT id=" + intv + " type='button' value='" + intv + "' name='" + intv + "'>";
alert(obj.innerHTML);
}
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
hi,
i hav created an asp.net application using c#.It works fine in IE 6.0 but wen i open in mozilla browser it asks for a username and password why is it so?
wat to do 2 overcum it?
plz do reply immediately
zari
|
|
|
|
|
|
I have a dropdownlist server control on my page. Thers a text box on the page to which is disabled. The dropdownlist contains four options - Apple, Orange, Lemons, Grapes. I've programmatically set the the DropDownList in such as way that then Lemons are selected. the text box gets enabled else it gets disabled. Everytime i select Lemons, a post occurs. I order to avoid this im planning on using JavaScript. How do i add JavaScript. I realllly new to JavaScript so if you give me a simple code snippet, it'll give me a head start. What event would i have to write for DropDownList - OnChange?
|
|
|
|
|
|
Guys
I have two questions and i hope this wonderful world of forum will help me ASAP
a) I need some sample source code (preferably vb.net) for callback functionality of framework 2.0. E.g. Country-state dropdown list....
b) I would like to know all of your views/experiences on server controls...MS has released more than 100 server controls like DataGridView, FormView, DataListView etc....
Should we use this, i mean is it advisable to use for a site where load is too high. I always heard from different faces that all these controls are very heavy and we should avoid as much as possible. For our last project, we used data repeater control and build all the functionality like paging etc...it was painful…….
Can't we go for datagrid type of controls which provide lot of in built functionality....
Please suggest and keep in mind i am talking only for medium/bulky web sites...
Amit Gugnani
|
|
|
|