|
i tried it but could not found
|
|
|
|
|
I am taking three dataset and i want to bind all dataset value in a single gridview.so plz can help me????????
vivek sachan
9582134764
DataSet ds = dut.getDataSet("select Class,CurrentLevel,Name from Tbl_StudentDetails where RollNo='" + Request["RNo"].ToString() + "'");<br />
foreach (DataRow DR in ds.Tables[0].Rows)<br />
{<br />
string s2 = DR["Class"].ToString();<br />
string s3 = DR["CurrentLevel"].ToString();<br />
string s4 = DR["Name"].ToString();<br />
}<br />
<br />
<br />
DataSet ds1 = dut.getDataSet("select count(Status) from Tbl_Attendence where RollNo='" + Request["RNo"].ToString() + "'");<br />
foreach (DataRow DR1 in ds1.Tables[0].Rows)<br />
{<br />
<br />
string s5 = DR1["Status"].ToString();<br />
}<br />
<br />
DataSet ds2 = dut.getDataSet("select FMonth,Fyear,TPendingFee,Fees from Tbl_SFee where RollNo='" + Request["RNo"].ToString() + "'");<br />
foreach (DataRow DR2 in ds2.Tables[0].Rows)<br />
{<br />
string s6 = DR2["FMonth"].ToString();<br />
string s7 = DR2["Fyear"].ToString();<br />
string s8 = DR2["TPendingFee"].ToString();<br />
string s9 = DR2["Fees"].ToString();<br />
<br />
}
|
|
|
|
|
there is no need for three dataset , all your calculation based on rollno .
just create stored procedure in database and join thes three tables on the bases of rollno .
after that fetch this in single dataset and bind with grid.
|
|
|
|
|
Concatenating user input to an SQL string may causes to SQL injection attack.
|
|
|
|
|
hi,
use those query using union thus it will done by using single dataset
praveen
|
|
|
|
|
Hi all,
i want to restrict my browser button .Can anyone help me .thanks
|
|
|
|
|
|
Will post the features which we had developed and also provide the demo links to the interested buyers.
|
|
|
|
|
No Ads buddy
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I wonder if it has been created by posters of some of the questions below?
|
|
|
|
|
Pay to advertise like everyone else
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hi
on click on save button:
I uploaded 4 images in temp folder in application and used in attachment while sending mail from temp folder.
because on live server it was not possible to recognize from file upload control.
now after finishing email sending process I want to delete these all images but while deleting by coding exception is coming like "this file is being used by another process".
so how can I end process that is responsible to hold these images.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: so how can I end process that is responsible to hold these images.
Could you post youe code snippet where you do this operation...
It would help people to locate where the problem is.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
{
//save button event
SendMail();//sending mail with attachment
Delete();//deliting images
}
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: SendMail();//sending mail with attachment
Delete();//deliting images
This is just a function call.
Would you mind posting the actual function.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
trilokharry wrote: SendMail();//sending mail with attachment
Delete();//deliting images
I'm sorry, but this is hilarious.
Despite your inability to post the actual code, I have a guess. You try to delete right away, instead of in response to a message that mail was sent, are you sending asynchronously ? I think the images are still in use because the mail is still sending.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi,
you cant delete image untill youe mail is not sent.
praveen.
|
|
|
|
|
Hi all,
how do i implement Heirarchical role(Group With Roles)
(For Eg.Admin,Marketing Etc) Which can have Additional roles (role1,Role2 etc..)with ACL(Insert,Update,Delete) Same as Unix.
The Role Should populate both from group and user.
I am not sure whether current role based security will work in this scenario.
If any other suggestion please let me know.
Tejesh
|
|
|
|
|
Where are you maintaining the Role ? You want to maintain it in Database itself or you are using Active Directory for user authentication ?
|
|
|
|
|
I want to Maintain Roles in Database
|
|
|
|
|
Can SomeBuddy Please Explain How to maintain roles at user and group level using Sql server Database.Can Role Management be extended to achieve this.
Is there any other alternative to this.
Tejesh
|
|
|
|
|
hi, I have problem when create crystal report in web site.. could someone please help me with this... sample code in window application as below
CrystalReport1.Formulas(1) = "ReportName='Customer Master Listing'"
CrystalReport1.Formulas(2) = "fmlOrganisation=" & (strOrg)
CrystalReport1.Formulas(3) = "RptDate = '" & Format(Now(), "dd/mm/yyyy hh:mm:ss") & "'"
I just wan these code work well in asp.net. please help!
|
|
|
|
|
What is your problem exactly ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi Christian Graus,
I'm using vs2008 trial version, i copied the 3 lines code in vs2008 trial version but errors come out -
"Formulas is not member of crystaldecision.crystalreport.engine.reportdocument.
waiting for ur advise. thanks
|
|
|
|
|
I would guess that you don't have the right references, or you don't have a full version of Crystal Reports.
Did you read the docs to see where Formulas should exist ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|