|
I think, you need Stored Procedure not Trigger.
|
|
|
|
|
compare validator doesnt works for date type
i have to compare two dates
plz help me to use that
|
|
|
|
|
You may have to write a custom validator in javascript then.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
you can check this ..
Link[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
hi,
anybody know about the javascript for dynamic table.ie it accept text,image at runtime also we can span & split the cells...simply it look like a table in VS.net 2005 table(Layout->insert table).
|
|
|
|
|
how i can show the values that are invisible in the grid view column. when i go to that particular column of the gridview the view of the hidden column should be known
|
|
|
|
|
If u want to hide a columns Use:
dgrdmain.Columns(0).Visible = False
dgrdmain.Columns(1).Visible = False
dgrdmain.Columns(2).Visible = False
Dgrdmain is grid name and which column u want to hide give that column value in that paranthesis()
If u want to view again give in that button click event "
dgrdmain.Columns(0).Visible = true
Dont forget to vote on the post
Thanks & Regards,
Mageshh,
|
|
|
|
|
can anybody tell me how to transfer a session from asp page to the asp.net page if possible with example
thanks and regards
sunilwise
|
|
|
|
|
Hi,
hope this will help you.
Link[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
|
How to get motherboardID, Harddisk ID and processor ID in C#.net?
Soumya Mathew
|
|
|
|
|
This is the ASP.NET forum, you can't do that in ASP.NET. The management class lets you do it in C#, however.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You need WMI Programming For that.
This is the sample code for retrive processor ID
using System;
using System.Management;
using System.Windows.Forms;
namespace WMISample
{
public class MyWMIQuery
{
public static void Main()
{
try
{
ManagementObjectSearcher searcher =
new ManagementObjectSearcher("root\\CIMV2",
"SELECT * FROM Win32_Processor");
foreach (ManagementObject queryObj in searcher.Get())
{
Console.WriteLine("ProcessorId: {0}", queryObj["ProcessorId"]);
}
}
catch (ManagementException e)
{
MessageBox.Show("An error occurred");
}
}
}
}
For MotherBoard use the following Query
ManagementObjectSearcher searcher =
new ManagementObjectSearcher("root\\CIMV2",
"SELECT * FROM Win32_MotherboardDevice");
and this Print Motherboard ID
Console.WriteLine("DeviceID: {0}", queryObj["DeviceID"]);
Hope this will helps you !!!!
|
|
|
|
|
Already i posted the same question later but u didnt reply.please help me i want it urgently
function ChkDelete(Value)
{
var ValChecked=Value.checked;
var ValID=Value.id;
var form=document.forms[0];
for(i=0;i<form.length;i++)
{
if(this!=null)
{
if (ValID.indexOf('CheckAll') != - 1)
{
if (ValChecked)
form.elements[i].checked = true;
else
form.elements[i].checked = false;
// alert('hai');
}
else if(ValID.indexOf('Delete')!=-1)
{
if(form.elements[i].checked==false)
form.elements[1].checked=false;
}
}
}
}
Hello Good Morning Everybody.
I put a grid view in a page ang put checkboxes in it to delete the particular row in grid.Also i put a checkall checkbox in the header template of grid.The javascript code for checking all the checkboxes are attached above.
My issue is ,also i insert a checkbox list in the same page below the gridview.When i click the checkall checkbox in the grid the chckbox list also will be checked and unchecked.For single selection its not a pbm.But for checking all its a big pbm .How i solve it.Please help me.Is any changes in the above code will cancel the effect of checking the checkboxlist.or any otehr javascript code will help it.Please help me.
|
|
|
|
|
Actually i am not getting you properly.
Your means U have a checkbox in header and one for each row.when u checked
on header check box u want to be checked all.U did that ,but when u individally click on all the check box in front of rows,u want header check box is also checked.
I am right.Or anything u want.
|
|
|
|
|
Not like that That part is cleared .But the pbm is i have a checkbox list in the same page where the grid is available.When i click on the checkall checkbox in the header of grid the checkboxlist is also checked.How i stop it..
|
|
|
|
|
I have two webconfig files in my project.One on root and second one
is on Subfolder.Presenly i am in subfolder ,how can i access the webconfig
of root..
Please suggest
Regards,
Neeraj Jain
|
|
|
|
|
How do you mean 'access' ? Any settings in the one above that are not overridden are visible in the subfolder, aren't they ?
'
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
some where in internet, when user selects wrong option a flasy alert gets displayed with the background page greyed out and user must chose an option so as to activate the background page. how do i do that in asp.net?
thanks in advance.
|
|
|
|
|
The absolute easiest way is to install the ASP.NET AJAX library, which has a control to do that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
uglyeyes wrote: some where in internet, when user selects wrong option a flasy alert gets displayed with the background page greyed out and user must chose an option so as to activate the background page.
They use JavaScript to do that. Microsoft Ajax control toolkit has those controls. But if you/your client is not interested in using that you can try generic javascript to achieve it.
1. Create a div element.
2. Set its width and height 100%.
3. Set its background color to grey or whatever color you want. You can also set opacity.
4. Then on the every show it and after choosing the option hide it.
Sounds simple right... But implementation would complex. If you embed the above as a JavaScript class then it would be great.
|
|
|
|
|
Use Ajax for that.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Is that possible? I mean, I have this project written in ASP, and it does some common tasks (log in, etc) and then it calls some pages in ASP.NET. In particular, the ASP page saves the logged user into the Session object. Now I'm trying to access it from the ASP.NET page, but Session.Count is returning a big round zero. What I'm up to, is it possible to do? If not, how can I do it?
Thanks in advance.
Hope is the negation of reality - Raistlin Majere
|
|
|
|
|
To do something like this, you need an intermediate object, probably a windows service, in to which you can stuff the asp session and then pull it out again on the ASP.NET side.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Mmm... I see. I guess I could send a QueryString from the ASP into an ASPX and in such, I will add it to the Session object. That would be alright, wouldn't it?
Thanks!
Hope is the negation of reality - Raistlin Majere
|
|
|
|