|
And the very short answer is "Do you really think that you've done something new and innovative that you need to protect?". 99% of the time nobody is interested in your source...
|
|
|
|
|
So true...
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have a grid view with columns S.No.,Month Name,Total Meeting,Medical,Present.
Data for grid view is coming from database.
I need code in C# for "On clicking on medical column, a calendar will appears indicating the dates on which the student took medical leave.
For eg. if there is 3 in medical column for april month,on clicking medical column 3 dates will be marked.
|
|
|
|
|
Did you copy this question from your spec at work, or from a homework assignment ? In either case, we don't do that. We help people who try to do their own work/homework.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Sorry Ma'am,
Not Clear exactly what you want,
From where u r going to get dates from ?
try making medical column
a template column with a button on click of which .....
Database hit will occour and retrieve values for exact dates for which leaves are taken and then show those dates as selected in Calender control .........
|
|
|
|
|
How can i measure the time taken by events to execute in page life cycle.
|
|
|
|
|
By writing some timer code, I guess. Emitting the value of DateTime.Now several times to the page will be enough to tell you what's taking the longest.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hello
haven't done ASP.NET for sometime - just created a very simple hello world WebService, hit F5 but checking IIS, seems like the package is not automatically deployed to IIS under Vista?
But the webservice is shown on browser succssfull under link http://localhost:50362/Service1.asmx[^]
How does it work now? I remember back in .NET 1 it gets deployed to IIS folder automatically.
devy
|
|
|
|
|
|
Linux has Mono, but I am pretty sure that only IE has ever supported activeX. The way forward is to use Java to embed applets in your web pages.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
That would be a solution... I'll see if I can work it out.
Any more ideas would be appreciated too.
Thanks,
Dirso
|
|
|
|
|
BTW: Doesn't .net have anything close to applets?
modified on Saturday, November 22, 2008 5:11 PM
|
|
|
|
|
Yeah, you can create .NET dlls and consume in a web page. But, only in IE, I believe.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i need to open word doc with exe (rtf)
in panel or frame in my application
i need 2 know how to do that
and
how to save it as after end wright my words
mean extension
myworddoc.rtf
or any office document
rtf,doc,xls .....
ahmed eldeghedy
modified on Sunday, November 23, 2008 1:41 AM
|
|
|
|
|
What do you mean 'with exe'. is this an ASP.NET question ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
mean extension
myworddoc.rtf
or any office document
rtf,doc,xls .....
ahmed eldeghedy
|
|
|
|
|
Hi friends,
I've one gridview in my application and i export that grid value into MS Word.But i need that MS word should be read only.I dont know how to done this?Plz help me.
Thanks in advance.
Regards,
Venkat
|
|
|
|
|
Is this even an ASP.NET question ? I don't think so. You can mark a file as read only on the file system, but if you want to create documents that can't be edited, use PDF.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
Thanks for ur reply.
But i dont know how do i mark a file as read-only?
Can u explain it briefly?
Thanks in advance.
|
|
|
|
|
Here is the scenerio.. I want a customer to find their name and address in lets say a listbox and when they select it their customerID will go in a new form.. After their customerID is in the new form they can finish typing in the other fields in the form and then insert into the SQL table.. The two tables involved are called.. tblCustomer and tblServiceQuote..
I'm very new to ASP.net so I need this as simple as you can provide it..If you tell me I need to do some kind of event I need to know if I should do it in VB or in Javascript.. If I need to write a query where do I write it? What do I name my controls?
Sorry but I'm so new I no very little..Thanks
|
|
|
|
|
Hi,
This is Nishant .....
A customer when select His name on ListBox and click on a submit button
write the following Code on the Button Click event ..........
protected void btnSubmit_Click(object sender, EventArgs e)
{
Resopnse.Redirect("NewForm.aspx? CustomerID="+ListBox1.SelectedItem.Value.ToString());
}
and on NewForm.aspx.cs
you can retrieve the Query String as Follows
Request.QueryString["CustomerID].ToString();
|
|
|
|
|
Thanks, on the part that says..."newform.aspx?..is that the name of the form.. what is the question mark for?
Thanks,
Cheryl
|
|
|
|
|
cheryl6372 wrote: what is the question mark for?
It is a delimiter telling the values being passed to the next form and their appropriate variable.
You could also use session variables to store the customerid...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
also, when I paste your code in the the btn click event it says"end of statement expected" what am I missing? see below
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
protected void btnSubmit_Click(object sender, EventArgs e) { Resopnse.Redirect("NewForm.aspx? CustomerID="+ListBox1.SelectedItem.Value.ToString()); }
End Sub
End Class
|
|
|
|
|
It is because he gave you a C# version and you are using VB.NET. The code should be:
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Response.Redirect("NewForm.aspx? CustomerID="+ListBox1.SelectedItem.Value.ToString())
End Sub
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|