Quantcast
Channel: CSharp Forum Latest Questions
Viewing all 32756 articles
Browse latest View live

how to take database backup without ssms for remote server

$
0
0
i couldn't create backup for remote database..i tried using backup and generate scripts..but both failed..

[B]ERROR:[/B] user does not have permission  TO CREATE BACKUP..

IS THERE ANY WAY TO CREATEBACKUP?

Event in WebService

$
0
0
Hello,

I want to implement Delegate Events in web services..
which can registered by Application and got fired when triggered

How to do that ?

Multiple Key Binding for Shortcut

$
0
0
  Hi,


          i need multiple key binding
                             
                                  i.e <KeyBinding key="A,E" Modifier="Alt" command="{Binding SaveCommand}">

like this i need.

Thanks
Munirathnam

Check and Uncheck Problem in the Gridview Columns

$
0
0
Dear All,
I am working on a project so i have a problem that is .
i have taken four checkbox in the Gridview for every row of  the Gridview.
like checknone,chkedit,chkview,chkdelete, and chkfull.
i want to do  that when i check chkFull checkbox then all checkbox should be checked except chknone.
and same as reverse on the uncheck of it.
and Second point is that when i cheked chknone then all remaining chekcboxes should be unchecked. and on uncheck of it others must be remian same.

So Please help me Dears..
Thanks.

Convert Select into update

$
0
0
is there any way to convert this into SELECt query to UPDATE?

SELECT p.pId, p.Lname, p.Fname, i.pId, i.iId, i.fatherID, i.motherID, i.DateOfBirth, i.Address,(SELECT sp.Fname+' '+sp.Lname FROM Profile sp WHERE sp.pId=i.pId) AS child,(SELECT sp.Fname+' '+sp.Lname FROM Profile sp WHERE sp.pId=i.fatherID) AS father,(SELECT sp.Fname+' '+sp.Lname FROM Profile sp WHERE sp.pId=i.motherID) AS mother         FROM Info i             INNER JOIN Profile p                 ON p.pId=i.pId
but code above is used within ASP, what I need for now is to convert that into UPDATE which will I use inside my c# code, which I need to declare variables such as @pid, @lname...please help me...Thanks and Godbless

how to limited list display?

$
0
0
how to limited list display and press show more display all list
for eg :see this image in below

and  then show more button click

display all list.

List are display the link.
answer me quick

stop clock using windows forms control library ?

$
0
0
Hi friends 

I designed a stop clock thing but its not working to exact need could u plz look at the attachment for code i have written :)


Thank you for help

Get the list of sp name from the package from oracle by C#

$
0
0
Hi

Can any one give me an idea about how to get the stored procedure name from the particular package from oracle using C# net.

Let me explain in details.

I have created an stored procedure sp_GetName under packager PKG_GET.

I need to get the sp name (SP_GetName) when i have passed the package name  as the input.

Hope this is clear.

Please let me know if this is not.

Thanks.

To enter pdf and docx file in the database

$
0
0
 try
        {
            oCommonBLL.Extension = Path.GetExtension(FileResume.FileName);
            if (oCommonBLL.Extension == ".doc" || oCommonBLL.Extension == ".docx" || oCommonBLL.Extension == ".pdf")
            {
                int fileSize = FileResume.PostedFile.ContentLength;
                byte[] documentBinary = new byte[fileSize];
                FileResume.PostedFile.InputStream.Read(documentBinary, 0, fileSize);
                oCommonBLL.byResume = documentBinary;
            }
        }
        catch (Exception ex)
        {
            ErrHandler.WriteError("Class:" + this.ToString() + " Method : " + System.Reflection.MethodBase.GetCurrentMethod().Name + "Error MSG :" + ex.Message);
        }

it is not giving correct output

Rating Stars for Jquery Mobile

$
0
0

How to Create Rating Stars For Jquery Mobile 

Rating Stars for Jquery Mobile

$
0
0

How to Create Rating Stars For Jquery Mobile 

how to run .aspx page in win xp sp2 iis

$
0
0
i want to setting ASP.Net Server (IIS) in my Desktop for running the asp.net .aspx pages, i m currently using win xp Service Pack 2 o/s in my desktop. to install the IIS, first i insert the xp cd to CD-ROM and then i follow the following path Control Panel / Add or Remove Programs / Add/Remove Windows Components. and i successfully install the IIS in my win xp. Then for running the ast.net .aspx page i need to run the following code in Command Prompt

%windir%\Microsoft.NET\Framework\v3.5\aspnet_regiis.exe -i

when i run this line in command prompt then it show the following error:

'C:\WINDOWS\Microsoft.Net\Framework\v3.5\aspnet_regiis.exe' is not recognized as an internal or external command, operable program or batch file.

and after this i checked for the aspnet_regiis.exe in the path C:\WINDOWS\Microsoft.Net\Framework\v3.5\ but here aspnet_regiis.exe is not available in that folder. i m not able to understand it, plz tell me what should i do

passing value from MDi child1 to MDi Child2

$
0
0
Sir, I am doing a MDI form Now.

I have a Master form(frmMDI) and Two Children forms:-frmStudentsDetails and frmDisplay.

In frmMDi, there is a button(btnNext) to enter frmStudentsDetails.

In that form, i entered the Details. That form also have a Button(btnSubmit) to enter frmDisplay and show the data of frmStudentsDetails   in  frmDisplay.

how it possible?, reply me with whole code.
 

 


Listview scroll bar - How do I know user has clicked listvie

$
0
0

Hi,

i am creating a text box in listview item.
How I create is, I just take the location of the item and create a textbox on that location.
OnFocus over, I just take the textbox text and put it in that perticular listview item and hide
the textbox.

Now the problem is, since i am creating the textbox on a perticular location, when I scroll the lisview
the textbox remain in the same place (textbox does not get scrolled) and the data gets scrolled.

Solution what i thought is, whenver user wants to scroll or user clicks scroll bar, I
will hide the textbox.

But I could'n find the scroll bar click event. Or how do I find that user has clicked scroll bar ??

Is there any event where I can do this ??

Thanks.

Problem conection to server .mdb database in windows service

$
0
0

Hello,
I wrote windows service in c# that connects to access database and make few operations with the data.The problem is that when i try to connect to server database , like \\10.10.10.10\data\data.mdb i get error (i write it to text file ) :
The Microsoft Jet database engine cannot open the file '\\10.10.10.10\data\data.mdb'.  It is already opened exclusively by another user, or you need permission to view its data.

I tried everything - i gave all existing permissions to that database , i tried to run the service as Network service instead of Local system , i searched in the forms , but i don't find any solution.
Please help with with this issue.
I have other issue , also related to windows service - i try to produce excel file from windows service - but it always throws unknown errors , something like com object (i don't remember exactly) , but in regular windows application it produces excel file. 


Forum Development in asp .Net

$
0
0
Hello ,

            I need to develop a forum for for website so can anybody tell me what should i use to display data i meant i should use which of the following control
            and why .
                     
                ->  Gridview
                ->  datalist
                ->  Repeater

            please help me out with this i do not know which will be better for performance among this 3 .
            Thnx in advance .


Creating a test engine

$
0
0
Hi everyone....I have a question for your fellows...how can one create a test engine which randomizes test questions using Visual Studio 2012?

from Charles.. 

how to use rfid for student attendance system

$
0
0
Hi friends,
 
          I would like to use RFID for student tracking system. but i am not very well in RFID. please tell me how it is work for attendance. whether we need two different RFID reader for Intime and Outtime process or we can use single RFID reader for both Intime and outTime and how can we differentiate the particular entering time is Intime or Outtime. please provide any documentation or article related to this application.

                   Thank you

Which plateform i have to select ??????

$
0
0
I am interested to work in operating system development it can be of mobile os or computer os .
what should i have to learn pl tell .....totally confused

Selected row from gridview to dropdown

$
0
0

Kindly help me passing selected row in gridview to my dropdown. I have 1 gridview, 1 textbox and 1 dropdown list box. My dropdown is populated by SqlDataSource from my table Country. On my gridview, I have 3 columns, which are SELECT, NAME and COUNTRY. Under SELECT column, I have my hyperlinked Select, every time I clicked on a certain row NAME will pass in textbox (no problem with that), but in my dropdown it does not populates the COUNTRY that I choose. For example, I have Jack for name and USA for country. Beside Jack and USA, I have a hyperlink Select, when I click Select, Jack will display on my textbox and supposed to be USA will display on my dropdown but not displaying instead it says an error "'cboCountry' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value".

I have tried the codes below:

protectedvoidGridView2_SelectedIndexChanged(object sender,EventArgs e){    txtname.Text=GridView2.SelectedRow.Cells[1].Text;    cboCountry.Text=GridView2.SelectedRow.Cells[2].Text;}
Only the textbox os working, no luck at all in dropdown...I'm using c# and asp.net. Any help would be appreciated. Thanks in advance. God Bless

Viewing all 32756 articles
Browse latest View live