|
Hi all,
I designed and developed one website in VS2005 and its working fine in IE but when i checked the same thing in Mozilla the alignment was totally gone!! and i used the css for desiging. can any body help me out solve this problem!!
thanks in advance!
|
|
|
|
|
Are u using px unit for the length or somthing else
IF yes
Then Use % (percentage) unit rather than px
And make your css more compitable with cross browser
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
HI
This is going to be a same problem for all f us.
But We can make sure while designing the page,ot to us table anywhere in page.
Just Use DIV tags wherever u need a table.
Some attributes are never going to be supported in Mozzilla which are supported by IE Like Valign="Basline"
And yes use only Percentage where u want to give hight & width.
Use CSS instead inline attributes...
Believe Yourself™ :->™
|
|
|
|
|
I am using vb with asp.net.In my form i used two text boxes and a button.When i press a button the values in the text boxes saved in database.When i press print button i want to print all values in the data base.For this which control i want to use.Is crystal report is possible for this.
|
|
|
|
|
Deepthy.P.M wrote: Is crystal report is possible for this.
Yes, Crystal Report is the best option that you can use.
you can try with this
javascript:window.print()
you can check this also
Print in ASP.NET[^]
|
|
|
|
|
hi all i have problem with folder
I have folder name "A" contain 10 file and 3 folder other and in there folder contain any file
How can i move folder "A" to orther folder
|
|
|
|
|
In ASP.NET, you're not going to do any moving of files and folders at all, unless you need to do this on the server for some reason ?
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 )
|
|
|
|
|
<br />
public void MoveDir(string SourcPath, string DestPath)<br />
{<br />
DirectoryInfo dirInfo = new DirectoryInfo(SourcPath);<br />
string destiFile;<br />
if (!Directory.Exists(DestPath))<br />
Directory.CreateDirectory(DestPath);<br />
foreach(FileSystemInfo finfo in dirInfo.GetFileSystemInfos())<br />
{<br />
destiFile=Path.Combine(DestPath,finfo.Name);<br />
if ((FileSystemInfo)finfo is FileInfo)<br />
File.Move(finfo.FullName, destiFile);<br />
else<br />
MoveDir(finfo.FullName, destiFile);<br />
<br />
}<br />
<br />
<br />
<br />
}<br />
U can use this way, you need little bit of modification of code to remove the folder, else it working fine !!!!!
|
|
|
|
|
|
Hi using triggers i try to insert some values in to my 2 tables:
But its showing teh error as "The request for procedure 'Triginsert123s' failed because 'Triginsert123s' is a trigger object."
This is my code in back end:
sqlcon.Open()
Dim cmd As New SqlCommand("Triginsert123s '" & txtID.Text & "','" & txtName.Text & "','" & txtRole.Text & "','" & txtDep.Text & "'", sqlcon)
cmd.ExecuteNonQuery()
sqlcon.Close()
My trigger is:
CREATE TRIGGER Triginsert123s ON [dbo].[EmpRole]
FOR INSERT
AS
declare
@Eid as tinyint,
@Ename as varchar(50),
@Role as char(10)
Insert into Emprole(Eid,Ename,Role) values(@Eid,@Ename,@Role)
insert into empdep(eid,dep) values(@eid,@Role)
Whats the probs?,
Plz i am new to triggers help me,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
Your problem appears to be that you don't understand triggers. The idea is that you never call a trigger, it gets called all by itself when you perform an action such as an insert. Doing two inserts like this doesn't seem like a logical thing for a trigger to do, unless it's generating an audit trail or something.
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 )
|
|
|
|
|
Your problem appears to be that you don't understand triggers. The idea is that you never call a trigger, it gets called all by itself when you perform an action such as an insert. Doing two inserts like this doesn't seem like a logical thing for a trigger to do, unless it's generating an audit trail or something.
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 )
|
|
|
|
|
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 !!!!
|
|
|
|