|
Hi, I am planning to host my owns websites. and all are in .net with ms SQL, I want to by MS SQL 2005 but all about license in microsoft is so confusin, Question
If I want to Use the ms SQL only for websites, what version I should get?
Standard?
thanks
|
|
|
|
|
If you are hosting it on shared webserver then you dont have to buy it, just purchase the webspace and database space from the hosting company. else, if your database are less then 4GB then just install express edition its free. otherwise buy the standard edition.
|
|
|
|
|
asp.net in url image coding
|
|
|
|
|
|
Funny.
Dear god, this board is turning to sh*t. People just log on and type gibberish...
I didn't get any requirements for the signature
|
|
|
|
|
logu070 wrote: asp.net in url image coding
|
|
|
|
|
You have got to be joking. Look around you. Pay attention to the way that people phrase posts. They choose meaningful subject lines, and pose actual questions.
Normally I'd tell people to buy an ASP.NET book, but you may need to learn English first, or if that's not the issue, just give up.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi
I am trying to put ValidationGroup for RequiredFieldValidator in asp.net 2.0 using Javascript method dynamically when ChckBox is checked.
It's working but not affecting.
please find code written bellow:
<script language="javascript" type="text/javascript">
function fun()
{
//rfvReasonForRefundH.ValidationGroup = "NoGroup";
//submit
document.getElementById('<%=rfvReasonForRefundF.ClientID %>').ValidationGroup = "submit";
}
</script>
TextBox with RequiredFieldValidator:
<asp:TextBox ID="txtReasonForRefundF" Columns="25" Rows="2" TextMode="multiLine"
runat="server"></asp:TextBox>
(Multiline textbox)<span style="color:Red">*</span>
<asp:RequiredFieldValidator ID="rfvReasonForRefundF" runat="server" ControlToValidate="txtReasonForRefundF"
Display="None" ErrorMessage="Enter Reason for Refund for Flight" SetFocusOnError="True"></asp:RequiredFieldValidator>
SubmitButton:
<asp:Button ID="btnSubmit" ValidationGroup="submit" Text="Submit" runat="server" OnClick="btnSubmit_Click"></asp:Button>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true"
ShowSummary="false" ValidationGroup="submit" />
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Hi
Plz remove the property Display="None" from the RequiredFieldValidator control
Regards
Joe
|
|
|
|
|
Ex:I have webpage on that i am loading grid with few records from sqlserver.i want to scroll this grid in a small panel or div .with time delay means the row should stable for 5 sec and starts scroll again stop for 5 sec for every row .
can any one send the related links or code.
|
|
|
|
|
Vignesh Krishnan wrote: I have webpage on that i am loading grid with few records from sqlserver.i want to scroll this grid in a small panel or div .with time delay means the row should stable for 5 sec and starts scroll again stop for 5 sec for every row .
Just put the GridView inside Marquee Tag. It will Scroll . You can Change the Scroll Speed by setting Marquee's property like Scroll amount, Scroll Delay etc.
|
|
|
|
|
Hello Experts,
I have a gridview on a web page.I have set the data format of all columns that consist date data as {0:dd/MM/yyyy}. I have also configured my sqlcommand string as:
set dateformat DMY
But update operation still works as Month/Day/Year format.
I have tried many things but could not solve the problem.
Please Help
|
|
|
|
|
can you please put the line of code ?
|
|
|
|
|
Hello Experts,
I want to retrieve cell values from a gridview data row.There are unbound and bound columns in a row.I can retrieve values for bound columns but cannot get it for unbound columns. My code is like below:
protected void Button1_Click(object sender, EventArgs e)
{
GridViewRow objRow = GridView1.SelectedRow;
TextBox2.Text = objRow.Cells[41].Text; //bound column
TextBox3.Text = objRow.Cells[42].Text; //!!!!unbound column!!!!
}
Please help.What is wrong?
|
|
|
|
|
Do you have Visual Studio?
Why not view your gridview row in the quick watch window and check the properties of the unbound column until you find your text...
I didn't get any requirements for the signature
|
|
|
|
|
Thank you for your reply.Of course I did it...And the result is ""
|
|
|
|
|
But there is text on the screen? Perhaps the test is stored in a different property.
An easy solution is to create a template column. Add a label. Set the text of the label. Use gridviewrow.findcontrol("labelId") to get the label and its text property.
I didn't get any requirements for the signature
|
|
|
|
|
Hi Frends
I am using the ASP.Net FileUpload control to upload the file and using AjaxMethod to save the file on Server but I am getting the FileUpload as null......
anybody pls help....
[Ajax.AjaxMethod()]
public bool VerifyUploadedData()
{
try
{
if (FileUpload1.HasFile)
{
sFileType = System.IO.Path.GetExtension(FileUpload1.FileName);
sFileType = sFileType.ToLower();
if (sFileType == ".xls")
{
string FilePath= System.Configuration.ConfigurationManager.AppSettings["FilePath"].ToString();
FilePath = FilePath + FileUpload1.FileName;
FileUpload1.SaveAs(Server.MapPath(FilePath));
}
}
Thanks
Dinesh Sharma
|
|
|
|
|
Hi Friendz...
I have a exe to be executed (Windows form to be opened) when user clicks on link button on asp.net page.
I placed the exe on the server and given the path in web.config file. path is accessed in application from web.config file.
I am using the following code to run the exe from asp.net:
string path = <path from="" web.config=""> for ex: "C:\X\pay.exe"
Process.Start(path);
This is working fine on my local machine. But after deploying the application on the server, it is not calling exe and not giving any exceptions/errors. I also placed the exe on the server.
Please let me know if there is any way to get rid off this problem.
Thank you,
Raheem MA
|
|
|
|
|
It will try and run the exe on the server, 'cause it's server side code - not on the client...
|
|
|
|
|
You're fundamentally lacking knowledge of how ASP.NET runs. All code in your code behind is run on the server. While you're developing your machine is essentially the server so the exe will run on your machine. When deployed to a web server, the exe will open on the server (assuming it had permission, which it usually wont in a live environment).
Your only option is to allow the user to download the exe, and let them decide to run it. You, after all, cannot expect to dictate to the user what they should run from a webpage - imagine the security implications.
|
|
|
|
|
Good Afternoon All
In all my Application, i used to write my login screen and i will not have a problem. i have inherited the ASP.NET Application that uses a login control.
Below are the pics of how it looks
here is a code for Forget Password link
protected void btnForgot_Click(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
PasswordRecovery1.Focus();
multiviewLogin.ActiveViewIndex = 1;
if (Login1.UserName != "")
{
PasswordRecovery1.UserName = Login1.UserName;
}
}
}
and for Change Password code
protected void btnChangePassword_Click(object sender, EventArgs e)
{
ChangePassword1.Visible = true;
if (Login1.UserName != "")
{
PasswordRecovery1.UserName = Login1.UserName;
}
}
Now my Problem is that when a user enters a username and password that are correct, and Click the "Forgot Password" button , it logged teh user in the system. It is doing the same thing as the "Change Password". But if i Crear the Username and Password textbox in the Login control it goes to the right place. So i have tried to crear them when the "Forgot Password Button is clicked and set them to empty strings, well for username its working, but for password i get an error that says the property is a Readonly
i tried to do them like this
if (!Page.IsPostBack)
{
if (Login1.UserName != "")
{
Login1.UserName = "";
Login1.Password = "";
}
PasswordRecovery1.Focus();
multiviewLogin.ActiveViewIndex = 1;
if (Login1.UserName != "")
{
PasswordRecovery1.UserName = Login1.UserName;
}
http://www.vbforums.com/attachment.php?attachmentid=69035&stc=1&d=1234438104[^]
What is the Problem
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
Hello Friends,
I'm playing video(s) in my web site. The details of the videos are stored in a XML file and the information are displayed in the gridview. There is play button in each row and as i click on the play button a video of that row is played. But there is problem is IE its caching the videos and playing the same video even i click on other video button. Its working fine in Flock and Mozilla.....so suggest the way to come out of that problem
|
|
|
|
|
Hai i am having a problem in sending a mail using asp.net in C#.It always showing error. So i need you to guide, how to send email from localhost using C# and please send coding to this id shankarganesh.mca@gmail.com
|
|
|
|
|
using System.Web.Mail;
protected MailMessage MMsg;
MMsg = new MailMessage();
under button click event write the below
MMsg.From = txtFrom.Text;
MMsg.To = txtTo.Text;
MMsg.Subject = txtSub.Text;
MMsg.Body = txtDesc.Text;
MMsg.Priority = MailPriority.High;
SmtpMail.SmtpServer = "";(Here u have to give ur server IP)
SmtpMail.Send(MMsg);
|
|
|
|