Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

Rashmi_Karnam

@Rashmi_Karnam
About
Posts
32
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • doing case-insensitive keyword looks in a database using linq to sql (is it not possible ?)
    R Rashmi_Karnam

    Modify your code as below, it will work public static IEnumerable GetbyKeywordLookup(string keywords) { var results = from o in BookProxy.Readall() where o.TagName.ToString().Contains(keywords.Trim())

    Rashmi.M.K

    LINQ database csharp linq testing beta-testing

  • I need help with LINQ dynamic building
    R Rashmi_Karnam

    Remove Server.MapPath() from DataContext. Directly provide the string ruta in DataContext. It will work. Hope u have tables in .dbml file. OR Define a Connection string in Web.Config file and link it with DBML file. Then assign Connection String to DataContext instead of .dbml file path. Ex : DataAccessDataContext cpContext = new DataAccessDataContext(ConfigurationManager.ConnectionStrings["CustomerPortalConnectionString"].ToString()); where DataAccess is the DBML file name. (DataAccess.dbml)

    Rashmi.M.K

    LINQ csharp linq sysadmin help tutorial

  • Datapager in Listview
    R Rashmi_Karnam

    Set property of Datapager after binding your "lstEmp" on click of your Search button. As below lstEmp.DataSource = dsParent.Tables[0]; lstEmp.DataBind(); dp1.visible = true; dp1.SetPageProperties(0, dp1.MaximumRows, false); Its just a guess. I dont have time to check this out. Please give a try once. ;)

    Rashmi.M.K

    ASP.NET database help

  • SerialPort.ReadTimeout issue
    R Rashmi_Karnam

    I have worked with timers, but it is not good practice to use it, as it consumes much of CPU memory and slows down the process . Better go for Threads, where you have Sleep() method which can be used till you receive all data to your serial port and then use Stop() method. I am not sure this is the Best way. Its just a suggession. :)

    Rashmi.M.K

    C# help question performance

  • Hide InDesign Application while Its Instance is created
    R Rashmi_Karnam

    Hi I am working with Adobe InDesign CS3. I have a VB.NET project where I am providing Indesign file as InPut and generating PDF and EPS files as output. When I create object of InDesign.Application Ex: Dim appObject = CreateObject("InDesign.Application") It launches Adobe InDesign Application and then the Document. I tried to Hide the Document using EX: appObject.Open(InputFile,false); but How to hide the Application in the Beginning? I dont want the application to be launched, it should work in background and not visible to the User. Can any one please help. :confused:

    Rashmi.M.K

    COM csharp adobe help tutorial

  • Hide .aspx from the url of website.
    R Rashmi_Karnam

    http://newmediarts.blogspot.com/2007/01/hide-file-extensions-in-urls-with.html[^] Check it out...

    Rashmi.M.K

    ASP.NET windows-admin help tutorial

  • Project Version
    R Rashmi_Karnam

    http://channel9.msdn.com/forums/TechOff/260670-VSnet-2008-Auto-Increment-BuildVersion-Numbers-how/[^] Hope this helps you.

    Rashmi.M.K

    C# tutorial question announcement

  • C# - Fill a .xlsx / .xls - file with data based on a grid
    R Rashmi_Karnam

    Why can't you use Response.write with Inline or attachment file type to export data from Grid to Excel.

    Rashmi.M.K

    C# question csharp css

  • Exporting DataGridView to excel
    R Rashmi_Karnam

    Can I have code U r Using for Export to Excel?

    Rashmi.M.K

    C# css help question

  • Clear Back menu in opera
    R Rashmi_Karnam

    http://bytes.com/topic/javascript/answers/731496-how-disable-browsers-back-button[^] http://www.boutell.com/newfaq/creating/backbutton.html[^] Check it out the above links. It may help You.

    Rashmi.M.K

    ASP.NET

  • Clear Back menu in opera
    R Rashmi_Karnam

    write this code onload="window.history.forward(1);" in Body tag of the page to which ur redirecting after Click of Logout

    Rashmi.M.K

    ASP.NET

  • Reports in ASP.NET
    R Rashmi_Karnam

    thanks for all who has replyed... saanj, i think this is the option where i can see the possibility. thanks for ur suggestion. :)

    Rashmi.M.K

    ASP.NET csharp asp-net performance

  • Reports in ASP.NET
    R Rashmi_Karnam

    Hi, I am working on generating reports for one of the data entry project using ASP.NET. Data Entry Project has huge data which runs in lakhs. When i load these 1 lakh data in reports it takes much time to load and consume more memory. Is there any faster way to load huge data on reports. Which type of reports is good to handle this type of huge data. Like(Creating reports using Crystal Report/ Infragistic Controls /....). Need a suggesstion soon, as i need to start working on this as soon as possible. Thanks & Regards, :confused:

    Rashmi.M.K

    ASP.NET csharp asp-net performance

  • Problem in renaming CSV file after hosting ASP.NET application
    R Rashmi_Karnam

    I wont get any exception. When i click on Finish button in my screen, i am interacting with DataBase and at last saving the CSV file and changing the name of the file. It wont throw any exception as its working fine in local system using VS2008 application and also when i host the application in my system itself. But if any one browse same application on different system, all Database activities are working fine and even all the code written for renaming CSV file will get executed but it wont rename the file. :((

    Rashmi.M.K

    ASP.NET asp-net help csharp windows-admin hosting

  • Problem in renaming CSV file after hosting ASP.NET application
    R Rashmi_Karnam

    Hi, Thanks for the reply... I tried what ever you have suggested, still renaming issue exist. i used string builder to build CSV file and used File.WriteAllText. It works fine only when i run application using Visual Studio and on which ever system i host the application. Except these two systems on all other system its not working. Please help me.... We need to deliver the project but due to renaming issue stuck up...

    Rashmi.M.K

    ASP.NET asp-net help csharp windows-admin hosting

  • Problem in renaming CSV file after hosting ASP.NET application
    R Rashmi_Karnam

    Hi, I have a Fileupload control, from where i am uploading CSV file and reading data from it and displaying in a gridview. If data is incorrect i am editting in GrdiView and click on Finish button. On click of finish button i am writing updated value back to CSV file from Gridview. This functionality i have implemented, but after hosting this application in IIS, when i access it in same system its rewriting to CSV file and renaming the file also. But if i browse hosted application in some other system and if i upload a file which is on browser system, its not renaming a file and not updating it. So please can any one help me what are the permissions i need to set in IIS or to file i am access, so that i can rename and update that file. I have checked following possiblities already 1. create ASPNET account and grant full permission for read, write.... 2. In IIS gave Anonymous access to user. 3. Checked with Impersonate option in web.config file. 4. Gave permissions to CSV file like read, write .... Code ----- writing to CSV File ------------------- StreamWriter sw = new StreamWriter(localsavedFilePath) foreach (DataRow row in dtCSV.Rows) { sw.Write("\"" + row[0].ToString() + "\""); sw.Write(sw.NewLine); }sw.Close(); File.Copy(localsavedFilePath, OriginalFileUploadedPath, true); Renaming File -------------- File.Move(OriginalFileUploadedPath, OriginalFileRenamedPath);

    Rashmi.M.K

    ASP.NET asp-net help csharp windows-admin hosting

  • Help: Invalid Parameter Used error
    R Rashmi_Karnam

    u are reading image from Database. After this where do you want to display? what exactly you want to do?

    Rashmi.M.K

    C# help database com graphics sysadmin

  • Event for handling exception during Application Close in winforms
    R Rashmi_Karnam

    thank u for good suggestion...

    Rashmi.M.K

    C# csharp database winforms help question

  • Help: Invalid Parameter Used error
    R Rashmi_Karnam

    Try this.. its working fine here.. i have executed your code its working. { byte[] imageContent = (byte[])(reader["img_stream"]); MemoryStream ms = new MemoryStream(imageContent ); Image bmp = new Bitmap(ms); bmp.Save(ms, ImageFormat.Jpeg); closeAccessConnection(); }

    Rashmi.M.K

    C# help database com graphics sysadmin

  • Help: Invalid Parameter Used error
    R Rashmi_Karnam

    Try this { byte[] imageContent = (byte[])(reader["img_stream"]); MemoryStream ms = new MemoryStream(imageContent ); Bitmap bmp; bmp = new Bitmap(ms); bmp.Save(ms, ImageFormat.Jpeg); closeAccessConnection(); }

    Rashmi.M.K

    C# help database com graphics sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups