Hello,
I am developing an application. In which I have to generate html output using a xml. I am getting the xml from sproc. Now I am not getting how to get that returned xml from store procedure in my c# application. can any one please help me
Thanks
User Profile
Collapse
-
How to get the XML from the SQL Store Procedure
-
I don't have any Date column.
I just want to calculate the Total No. Of Working Days in the Given Period -
Calculate Number of working Days in a Given Period
Hello,
I have some total values, I want to calculate percenatge of these Total Values.
I want to divide the total with No. Of working Days Excluding Saturdays and Sundays in a given period.
How to calculate the Total Number of working Days in a given period . Let us say If i give the period as 08/01/2008 to 08/15/2008, I want total number of working days as 11.
Please help me -
I did the same as you told but no use. again it takes return rows as -1....Leave a comment:
-
Hello,
I did the same in webapplication using c# code. You can look at my code to have a idea.If you want VB code I will give.
object s;
protected void Button1_Click(o bject sender, EventArgs e)
{
string uname; string pword;
uname = TextBox1.Text;
pword = TextBox2.Text;
SqlConnection myConnection = new SqlConnection(" Server=Server2; Database=projec t;Trusted_Conne ction=yes");...Leave a comment:
-
-
C# code in to VB code
Hello ,
I am new to asp.net. i have created a login application in c# code.It is working correctly. Now I want to do the same application in vb code. So please suggest me.
My c# code is
[CODE=cpp]
object s;
protected void Button1_Click(o bject sender, EventArgs e)
{
string uname; string pword;
uname = TextBox1.Text;
pword = TextBox2.Text;... -
Hello,
I am getting return rows as -1 when I gave correct user name , password and wrong username and password. I don't know why it is taking as -1. Please help me
Thank you...Leave a comment:
-
Asp .Net : Issue with logging into application
Hi all,
I created a sample web application. in this I have sign up and login pages.
The data I enterd in signup page is stored in db.Now when I enter user name and password these data is checked with the db values. If these username and password values are in db then i redirected to another page . otherwise An error message should be displyed. I written code but it is not working.
Here is my code.
[CODE=cpp]protected... -
-
Login controls
Hi,
I am new to asp.net. I created an application using login controls.Now I have a problem. In SQLserver I have a database. In that I created a signup table.
the data which I enter in sign up application which contains username,passwo rd and email are stored in to that table.when user wants to login he enters username and password, Now these username and password values check with all the values in the table. If this username...
No activity results to display
Show More
Leave a comment: