|
What does VBA have to do with asp.net ?
It sounds like they have a different locale that has differernt settings for numbers and what you need to do, is write code to respect this.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi christian,
Can I add any VBA script to take those column values as numerics or something like that. Is it possible.
If yes then please help me.
Thanks,
Aleem Mohammad
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
indian143 wrote: Can I add any VBA script to take those column values as numerics or something like that
As some one said, from where does the VBA comes into the picture?
Possibly, you need to take the culture info into account. Have a look[^].
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Sorry it is not ASP.Net but only ASP with VB6 components
Thanks,
Aleem
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
indian143 wrote: Sorry it is not ASP.Net but only ASP with VB6 components
Then why in ASP.Net forum??? Always, specify the details so that ppl can help you instead guessing things...
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Sorry. the problem is when I mention ASP or Vb 6 I am not getting ans yaar.
Thats why. pls. sorry.
Thanks,
Aleem
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
i want to dock some panels in asp.net like in vc# but the problem is that its not working as i want
here is the code
<a*sp:cont*ent>
<tab*le>
<tr*>
<t*d>
<t*d>
css
body {
text-align: center;
}
this code works fine as i want(draw a table of 2 columns in the center of page) but not actually.
if i write
<td style="width: 100%; background-color: black"></td>
the column get full wide and out of table width 800px
however that column width must be 600px
like docking in VC#, if we set a Left dock to a panel and a Fill dock to another then that panel got fit in parent control but in this its out of parent
any idea ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
whats wrong with this, its executing the code. Even i put * in every element
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Dear Sir and Madam
When my user logged in, I set Session["user"] = UserID.
How to allow only user who logged in download files. (for example: setup.exe, demo.zip)?
Sorry for bad English
Thank You.
|
|
|
|
|
|
You surely need to buy a ASP.Net book.
In between, check the value of Session["user"]. If it is not null, allow the download else ask him to get out
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment;filename=" + fileName);
System.IO.FileStream sourceFile = new System.IO.FileStream(path, System.IO.FileMode.Open);
long FileSize = sourceFile.Length;
byte[] content = new byte[(int)FileSize];
sourceFile.Read(content, 0, (int)sourceFile.Length);
sourceFile.Close();
Response.BinaryWrite(content);
Response.End();
|
|
|
|
|
Hi guys
Need advise, I created a Gridview with a in it.
I can bind the value inside but however when i need compare if the input type button should be checked. I face the problem.
I can't seem to set the radio button to checked after i compare with some validation ::
foreach (GridViewRow row in GridView1.Rows)
{
if (row.Cells[1].Text == "Brandon Tan")
{
((RadioButton)row.FindControl("gvradio1")).Checked = true
}
}
KaKaShi HaTaKe
|
|
|
|
|
you need to replace your html radio button with asp radio button
<asp:RadioButton ID="gvradio1" runat="server" />
|
|
|
|
|
but in these case the radio button will allow mutiple check but i need to restrict to select one only.
KaKaShi HaTaKe
|
|
|
|
|
Try setting
<input type="Radio" name="gvradio" id="gvradio1" runat=server> ;
|
|
|
|
|
Hai,
I am using Master Pages and content Pages to design my website. Inside the content Page i have Form with textboxes. To validate the text boxes in client side, I am using Jscript. But when controls are placed inside the content page the Id of the controls are changed as follows "txtPwd" to "ctl00_CPH_txtPwd".Due to this i can't able to access the controls in client side. I am inneed of an immediate solution to solve this problem.
Can you help me in solving this issue.Thanks in advance.
|
|
|
|
|
Can you use validation controls, for validations.
|
|
|
|
|
|
Thank you SeMartens for your immediate response,I would be more useful. If you provide a simple sample about how to access the controls in client side.
|
|
|
|
|
How do you attach the validation to the controls? If you have sth like a client-side event attached to the controls you can do sth like this:
ASP-Code
myTextbox.Attributes("onclick", "javascript:validateTextbox('" + myTextbox.ClientID + "')");
and the javascript will look like this:
validateTextbox(clientID) {
var control = document.getElementByID(clientID);
}
|
|
|
|
|
you can either read it this way
document.getElementById("<%=Button1.ClientID%>")
or
set the master page id in page load of master page like this
this.ID = "MyID";
then your control id will be
MyID_contentplaceholderid_controlid
also keep in mind that clientid wont work in js files
|
|
|
|
|
Use
document.getElementById ("<%=TextBox1.ClientId%>").value
|
|
|
|
|
How can I move between asp pages and change the first page?
|
|
|
|