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
A

Atif Ali Bhatti

@Atif Ali Bhatti
About
Posts
53
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hiding div using jquery
    A Atif Ali Bhatti

    hi, if u want the div to be hidden on page load, good thing will be to add style="display:none;" to the div. e.g., <div id='div1' style="display:none;">your content here.</> and later u can show it by using $('#div1').show(); Regards. Atif Ali Bhatti

    ASP.NET javascript

  • StreamReader and StreamWrite for Text file
    A Atif Ali Bhatti

    hi, I dont know which framework are u using? but if u r using framework 3.5, I recommed u to use the streamreader and streamwriter objects in using keyword e.g., using (StreamWriter sw = new StreamWriter(path)) { sw.WriteLine("This"); sw.WriteLine("is some text"); sw.WriteLine("to test"); sw.WriteLine("Reading"); } using (StreamReader sr = new StreamReader(path)) { while (sr.Peek() >= 0) { Console.WriteLine(sr.ReadLine()); } } Hope this helps. Regards, Atif Ali Bhatti.

    ASP.NET question help

  • change picture of image controll in gridvie in windows application???? [not solved yet...]
    A Atif Ali Bhatti

    hi, its simple... add following html in the gridview column. <a href="javascript:void(0);" onclick="ChangePic(this);"><img src="xyz.jpg"/></a> now add a add following javascript to your page: function ChangePic(sender) { sender.childNodes[0].src="abc.jpg"; } there are many more ways to do this. Hope It solves ur problem... Regards Atif Ali Bhatti.

    C# help question

  • sipXtapdotnet api, help required.
    A Atif Ali Bhatti

    hi, yeah it is there but i have used my options there. atif ali bhatti.

    C# help question sysadmin json

  • sipXtapdotnet api, help required.
    A Atif Ali Bhatti

    hi, thnx for the reply but why i asked here is due the fact that sipXtapidotnet is an open souce api and has no documentation or i might not be able to find. so there would be some one could help me out. could u as well. thnx Atif Ali Bhatti.

    C# help question sysadmin json

  • sipXtapdotnet api, help required.
    A Atif Ali Bhatti

    hi, I have two issues, if u could help, would be a great assistance. - line.unregister() using sipxtapidotnet api does not work although line.register works. why? is there any bug in sipxtapi or I am missing something? - I want to register my line extensions to sip proxy server using sipXtapidotnet api, but how can i do that because there is only line.register() method which registers the line to the proxy server not the extentions. Regards Atif Ali Bhatti.

    C# help question sysadmin json

  • Does Unified communication client api works with any thing other than Office Commnication Server....
    A Atif Ali Bhatti

    like in the Unified Communication client api sdk it is written that: "Before you start, ensure the following requirements are met: Microsoft Office Communications Server 2007 is installed on the server side of all Unified Communications Client API clients." Means If I do not have or I dont want to have Microsoft Office Communication Server 2007, than i can not use Unified Communication client api. thnx

    C# help sysadmin json

  • Does Unified communication client api works with any thing other than Office Commnication Server....
    A Atif Ali Bhatti

    hi, can any body tell me that Unified communication client api works with any server other than office communication server. Basically, i am working on an IM application using uccapi. I have heard that uccapi only work with Microsoft and with nothing else. I have tried to find out regarding this issue on the internet but so far no success. any help is highly appreciated. thnx.

    C# help sysadmin json

  • read file from bottom
    A Atif Ali Bhatti

    hi, File.ReadAllBytes returns a byte array which can be then used the way you want to play with it. Regards. Atif Ali Bhatti.

    C# help question

  • What am i missing? Tables in my DataContext do not have Add or Remove options
    A Atif Ali Bhatti

    yeah definitely.

    LINQ database com tutorial question

  • What am i missing? Tables in my DataContext do not have Add or Remove options
    A Atif Ali Bhatti

    sorry forgot to mention that u can udpate and delete in the above mentioned manner too. Regards. Atif Ali Bhatti.

    LINQ database com tutorial question

  • What am i missing? Tables in my DataContext do not have Add or Remove options
    A Atif Ali Bhatti

    Assalam-0-alaikum, Well for that I think u need to know how linqtosql works. then u could have a better idea how to add, update and delete tables in datacontext class. As Soon as u create a linqtosql class(.dbml) its creates a datacontext class and also creates classes for the individual tables that you add in the .dbml class later on. now to insert, you are required to get table from linqtosql class that u have created using following statement. yourDataContextClass datacontext = new yourDataContextClass() ; Table obj = datacontext.getTable(); Now create object on class that has been created for your table as follows. yourTableclass objYourClass = new yourTableclass(); Now add values for the fields. then, obj.InsertOnSubmit(objYourClass); datacontext.submitchanges(); Hope it gives u a bit of idea. Regards, Atif Ali Bhatti.

    LINQ database com tutorial question

  • Select statement To display each row as colum for Gridview control
    A Atif Ali Bhatti

    Assalam-0-alaikum, quite strange question. n e way, would u mind elaborating a bit more as the question is not clear. Regards Atif Ali Bhatti.

    C# question

  • Handling Click and DoubleClick events differently
    A Atif Ali Bhatti

    Assalam-0-Alaikum, Well why the MouseDoubleClick event is taking 3 clicks to fire is due to the fact that you have to rollback the activity performed during the first click.. this is very important point to keep in mind. after rolling back the first click event activities, you are supposed to handle the double click event. Hope you get my point. Regards. Atif Ali Bhatti.

    C# csharp delphi visual-studio design performance

  • Handling Click and DoubleClick events differently
    A Atif Ali Bhatti

    OK. Following links can help u out. This one is Excellent and easy, http://msdn.microsoft.com/en-us/library/ms171543(VS.80).aspx[^] this one is also good. http://www.megasolutions.net/cSharp/Click-vs-DoubleClick-44615.aspx[^] Hope this solves your problem. Regards. Atif Ali Bhatti.

    C# csharp delphi visual-studio design performance

  • Handling Click and DoubleClick events differently
    A Atif Ali Bhatti

    Assalam-0-Alaikum Are you willing to do it on ClientSide or ServerSide? Regards. Atif Ali Bhatti.

    C# csharp delphi visual-studio design performance

  • hai problem in SMTP mail option!
    A Atif Ali Bhatti

    hi, due to shortage of time i cant write whole solution. giving u a good tutorial go through it. here u go: http://aspnet.4guysfromrolla.com/articles/072606-1.aspx[^] hope u find it helpful if still have problem do let me know at myresponsebox@live.com. Regards. Atif Ali Bhatti.

    ASP.NET html sysadmin help

  • problem related to image upload and save
    A Atif Ali Bhatti

    Assalam-0-alaikum, yes i would tell u. look its u who will decide where to store the file. like, fileupload1.postedfile.saveas("c:\myweb\images\image1.jpg") now save the same path in the database i.e., c:\myweb\images\image1.jpg now Question arises how to differentiate files. give them a unique name. now how to give a unique name? there are so many ways but how do i save is, i create a folder with the username, save the file and name it with the username concatenated with some other patameters to make it unique. hope u get it. Regards. Atif Ali Bhatti. Software Engineer. eSoul Consultancy Pvt. Ltd.

    ASP.NET csharp database help asp-net

  • problem related to image upload and save
    A Atif Ali Bhatti

    Assalam-0-Alaikum, hru? well in .Net 2.0 there is a file upload control. put it on ur .aspx page. In code behind file provide its id and press a dot(.). Now the real fun starts here. --- to get file name : dim fileName As String = FileUpload1.PostedFile.FileName then u can use this string fileName to save it in the database using inLine Query or Stored Procedure etc. If u have Problem Inserting data in the database, do let me know. i would write u know how to do this. -- to Save file in the specified Location: FileUpload1.PostedFile.SaveAs("Location as string") there are other properties and method for the fileupload control tht u could use but depend on the requirement. Hope it Helps. Regards. Atif Ali Bhatti. Software Engineer. Esoul Consultancy Pvt. Ltd.

    ASP.NET csharp database help asp-net

  • Multiple Postback on my Page
    A Atif Ali Bhatti

    WaAlakum Assalam, every buddy here is most welcome n requested to feel free to ask n e question regarding web development is there is ne. I always would be there if i know. Regards. Atif Ali Bhatti. Software Engineer. eSoul Consultancy Pvt. Ltd.

    ASP.NET help
  • Login

  • Don't have an account? Register

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