hey check ur question once man.......be clear
ok if it is like this
string str=46545464846 5;
convert.todoubl e(str);
if to convert double to string
double str=466555554;
convert.tostrin g(str);
User Profile
Collapse
-
java in c#
return getconfirm();
getconferm is a function written in javascript, u call call that where ever necessary.. like in button click.........
c# code in java
sisplaymenu is a function written in c# and it is called in html
<%DisplayMenu() ;%>
hope this will help uLeave a comment:
-
in the datagrid add one more column with links for each row
for the link (onclick event) write the code to delete the row based on the id of that perticular row from the database table
at the end redirect the page to the same page so the item deleted will not be shown in the grid, or else u have to refresh the page to see the effect.Leave a comment:
-
<script>
function changeSize(imag e)
{
//var width=images.wi dth;
//var height=images.h eight;
imPrev = window.open(ima ge.src, 'imagePreview', 'toolbar=0,scro llbars=0,locati on=0,statusbar= 0,menubar=0,res izable=0,width= 800,height=700, left = 100,top = 100');
}
</script>
-----------------------------------------...Leave a comment:
-
section_selecte dindexchanged( )
{
//here write the code to get the sub sections from the table
like suppose u have a table table1 and inthat colums1 contains the section and coloumn2 contains the subsection //
string query=" select coloumn2 from table1 where section1='" + section.selecte ditem.tostring( ) +"'";
sqlcommand cmd=new sql command(query,c onn);
sqldatareader...Leave a comment:
-
wite code in radiobutton_che ckedchanged event
{
if(radio1.check ed==true)
{
textbox1.anbled ==false;
}
else
{
textbox1.anable d==false;
}
}
this may help youLeave a comment:
-
on click event call the insert function two times, and make sure the table does not contain any coloumn with primary keyLeave a comment:
-
how to set a popup window not re-sizable
i have a page with a datagrid. for each coloumn i have a link. if the link is clicked a new popup window will be opened. i have set the size of the popup page to height=700 width=500.
every thing works fine in IE,page size is fixed it can not be changed
but if i open the project in mozilla for popup windows i am able to increase and decrease the width . why is this happening....
any solution -
your question is not clear
this may help if not.... ask the question clearly
Sqlcommand cmd=new sqlcommand("sel ect items from table1",con);
Sqldatareader dr=cmd.executer eader();
while(dr.read() )
{
ddl.items.add(n ew listitems(dr[0].tostrint());
}
dr.close();Leave a comment:
-
yes actually my coding is correct...... since there is no text the label looks like it's not visible, but actually it is visible ......
any way thanks for the reply......
can you please help how to send some text to this lable from javascript.
i have tried this it's working fine in IE but not in mozilla......
document.getEle mentById('<%=lb lcnt.ClientID%> ').innerText=co unt+"...Leave a comment:
-
how to pass some text to Label in the page using javascript
Hi
i want to display some text on the label when i select an item int he listbox.
for this i have written some code which is workint fine in the InternetEplore but when it comes to mozilla the text not showing
my coding is like this
document.getEle mentById('<%=lb lcnt.ClientID%> ').innerText="1 Student(s) selected";
help me -
one label is not desplaid in mozilla.why?
i have code like this in html
<tr align="left">
<td colspan="2">
</td>
<td align="left">
<font color="red">pre ss... -
the question is not clear any way i am sending some code here it may help you
this is to retrive the data from the data base and show the data in the controls on the page like textbox etc...
string qur="select * from table1";
Sqlcommand cmd=new sqlcommand(qur, con);
sqldatareader dr=cmd.ececuter eader();
while(dr.read() )
{
textbox1.text=d r(0).tostring() ;
...Leave a comment:
-
this is code to take the print out of the current page
<input type="button" class="tbtn" name="btnPrint" value="Print" id="submit2" onClick="javasc ript:printconte nt();">Leave a comment:
-
Thank you fro the reply
but the links did't help me completly. They did't give any solution to the problem......
any other please......Leave a comment:
-
How can i make my website look same in all browsers
Hi Everybody,
i have a website developed in .net(c#). All the pages looks good in InternetExplore r, but if i open the website in other browsers like mozilla,netscap e,avant the appearance is not exaxtly the same.
Is there any solution that i can make all my web pages look same in all the browsers.
Please help me.
Thanks & Regards
Santhu
No activity results to display
Show More
Leave a comment: